<div dir="ltr"><div><div><div>HI,  I am unable to create VM, <br><br>This is the content of oned.log<br><br>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<br>
Tue Apr  9 00:50:26 2013 [TM][D]: Message received: LOG I 12 ExitCode: 0<br>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<br>
Tue Apr  9 00:50:28 2013 [TM][D]: Message received: LOG I 12 ExitCode: 0<br>Tue Apr  9 00:50:28 2013 [TM][D]: Message received: TRANSFER SUCCESS 12 -<br>Tue Apr  9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 ExitCode: 0<br>
Tue Apr  9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 Successfully execute network driver operation: pre.<br>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<br>
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<br>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<br>
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12<br>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<br>Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 ExitCode: 255<br>
Tue Apr  9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 Failed to execute virtualization driver operation: deploy.<br>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<br>
<br><br><br></div>This is the config file<br>AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad<br>DATASTORE_LOCATION=/var/lib/one/var/datastores<br>DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=one_datastore<br>
DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=0,SERVER=localhost,USER=oneadmin<br>DEBUG_LEVEL=3<br>DEFAULT_DEVICE_PREFIX=hd<br>DEFAULT_IMAGE_TYPE=OS<br>ENABLE_OTHER_PERMISSIONS=YES<br>HM_MAD=EXECUTABLE=one_hm<br>
HOST_MONITORING_INTERVAL=600<br>HOST_PER_INTERVAL=15<br>IMAGE_RESTRICTED_ATTR=SOURCE<br>IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>MAC_PREFIX=02:00<br>MANAGER_TIMER=15<br>NETWORK_SIZE=254<br>PORT=2633<br>
SCRIPTS_REMOTE_DIR=/var/tmp/one<br>SESSION_EXPIRATION_TIME=900<br>TM_MAD=ARGUMENTS=-t 15 -d dummy,shared,qcow2,ssh,vmware,iscsi,EXECUTABLE=one_tm<br>VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm<br>
VM_PER_INTERVAL=5<br>VM_POLLING_INTERVAL=600<br>VM_RESTRICTED_ATTR=CONTEXT/FILES<br>VM_RESTRICTED_ATTR=DISK/SOURCE<br>VM_RESTRICTED_ATTR=NIC/MAC<br>VM_RESTRICTED_ATTR=NIC/VLAN_ID<br>VM_RESTRICTED_ATTR=RANK<br>VNC_BASE_PORT=5900<br>
<br></div>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.<br><br></div>Thanks.<br></div>