[one-users] create vm error two

alan.zhang at linuxwind.org alan.zhang at linuxwind.org
Wed May 29 19:59:06 PDT 2013


I have to create a vm on opennebula,but I got an error like this:

Opennebula version: 4.0.1


Thu May 30 10:11:28 2013 [DiM][I]: New VM state is ACTIVE.
Thu May 30 10:11:28 2013 [LCM][I]: New VM state is PROLOG.
Thu May 30 10:11:28 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/shared/clone 
bj-nebula-prd-01:/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3 
bj-nebula-prd-02:/var/lib/one//datastores/0/20/disk.0 20 1
Thu May 30 10:11:28 2013 [TM][I]: clone: Cloning 
/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3 in 
bj-nebula-prd-02:/var/lib/one//datastores/0/20/disk.0
Thu May 30 10:11:28 2013 [TM][E]: clone: Command "cd 
/var/lib/one/datastores/0/20; cp -r 
/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3 
/var/lib/one/datastores/0/20/disk.0" failed: cp: cannot stat 
`/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3': No such 
file or directory
Thu May 30 10:11:28 2013 [TM][E]: Error copying 
bj-nebula-prd-01:/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3 
to bj-nebula-prd-02:/var/lib/one//datastores/0/20/disk.0
Thu May 30 10:11:28 2013 [TM][I]: ExitCode: 1
Thu May 30 10:11:28 2013 [TM][E]: Error executing image transfer 
script: Error copying 
bj-nebula-prd-01:/var/lib/one/datastores/1/957e61dd8ed0b225ba360c1cda833fd3 
to bj-nebula-prd-02:/var/lib/one//datastores/0/20/disk.0
Thu May 30 10:11:28 2013 [DiM][I]: New VM state is FAILED


Maybe the DATASTORE_LOCATION value “/var/lib/one//datastores” is wrong, 
It will be back to this value,when i correct it(/var/lib/one/config) 
right and restart the opennebula service. Please give me a hand.


More information about the Users mailing list