HI,  I am unable to create VM,

This is the content of oned.log

Tue Apr  9 00:50:26 2013 [TM][D]: Message received: LOG I 12 clone: Cloning
../../win-xp-2.qcow2 in
anant-Inspiron-N5010:/var/lib/one/var/datastores/0/12/disk.0
Tue Apr  9 00:50:26 2013 [TM][D]: Message received: LOG I 12 ExitCode: 0
Tue Apr  9 00:50:28 2013 [TM][D]: Message received: LOG I 12 context:
Generating context block device at
anant-Inspiron-N5010:/var/lib/one/var/datastores/0/12/disk.1
Tue Apr  9 00:50:28 2013 [TM][D]: Message received: LOG I 12 ExitCode: 0
Tue Apr  9 00:50:28 2013 [TM][D]: Message received: TRANSFER SUCCESS 12 -
Tue Apr  9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 ExitCode: 0
Tue Apr  9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 Successfully
execute network driver operation: pre.
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 Command
execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
/var/lib/one/var/datastores/0/12/deployment.0 anant-Inspiron-N5010 12
anant-Inspiron-N5010
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 error: Failed
to create domain from /var/lib/one/var/datastores/0/12/deployment.0
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 error:
internal error process exited while connecting to monitor: kvm: -drive
file=/var/lib/one/var/datastores/0/12/disk.0,if=none,id=drive-ide0-0-0,format=qcow2:
could not open disk image /var/lib/one/var/datastores/0/12/disk.0:
Permission denied
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG E 12 Could not
create domain from /var/lib/one/var/datastores/0/12/deployment.0
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 ExitCode: 255
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 Failed to
execute virtualization driver operation: deploy.
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: DEPLOY FAILURE 12
Could not create domain from /var/lib/one/var/datastores/0/12/deployment.0



This is the config file
AUTH_MAD=ARGUMENTS=--authn
ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
DATASTORE_LOCATION=/var/lib/one/var/datastores
DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=one_datastore
DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=0,SERVER=localhost,USER=oneadmin
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
ENABLE_OTHER_PERMISSIONS=YES
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
HOST_PER_INTERVAL=15
IMAGE_RESTRICTED_ATTR=SOURCE
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
SESSION_EXPIRATION_TIME=900
TM_MAD=ARGUMENTS=-t 15 -d
dummy,shared,qcow2,ssh,vmware,iscsi,EXECUTABLE=one_tm
VM_MAD=ARGUMENTS=-t 15 -r 0
kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm
VM_PER_INTERVAL=5
VM_POLLING_INTERVAL=600
VM_RESTRICTED_ATTR=CONTEXT/FILES
VM_RESTRICTED_ATTR=DISK/SOURCE
VM_RESTRICTED_ATTR=NIC/MAC
VM_RESTRICTED_ATTR=NIC/VLAN_ID
VM_RESTRICTED_ATTR=RANK
VNC_BASE_PORT=5900

Initially the datastore path generated was /var/lib/one/var//datastore but
then i somehow fixed this problem and it generates the correct path now,
but still VM is not getting created.

Thanks.
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to