[one-users] Error deploying virtual machine

Vahe nr vner75 at gmail.com
Tue Jan 10 08:30:07 PST 2012


Hi for all their
I have installed and test the ttylinux image and it was run in a very good
way, so I have decided to create an Ubuntu image and deploy it, I have used
this commands:
qemu-img create machine_name.img -f raw 8G
kvm -m 512 -cdrom /home/user/ubuntu-11.04......iso -boot d machine_name.img

Then I have test this image before using it from sunstone inside KVM and it
is worked fine, but when I tried to use sunstone I have got this error:
Tue Jan 10 15:52:48 2012 [DiM][I]: New VM state is ACTIVE.
Tue Jan 10 15:52:48 2012 [LCM][I]: New VM state is PROLOG.
Tue Jan 10 15:52:48 2012 [VM][I]: Virtual Machine has no context
Tue Jan 10 15:56:40 2012 [TM][D]: tm_clone.sh:
controller:/var/lib/one/images/22121041497e849ea2ba24945c41311c
node2:/var/lib/one//37/images/disk.0
Tue Jan 10 15:56:40 2012 [TM][D]: tm_clone.sh: DST:
/var/lib/one//37/images/disk.0
Tue Jan 10 15:56:40 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//37/images
Tue Jan 10 15:56:40 2012 [TM][I]: tm_clone.sh: Executed "ssh node2 mkdir -p
/var/lib/one//37/images".
Tue Jan 10 15:56:40 2012 [TM][I]: tm_clone.sh: Cloning
controller:/var/lib/one/images/22121041497e849ea2ba24945c41311c
Tue Jan 10 15:56:40 2012 [TM][I]: tm_clone.sh: Executed "scp
controller:/var/lib/one/images/22121041497e849ea2ba24945c41311c
node2:/var/lib/one//37/images/disk.0".
Tue Jan 10 15:56:40 2012 [TM][I]: tm_clone.sh: Executed "ssh node2 chmod
a+rw /var/lib/one//37/images/disk.0".
Tue Jan 10 15:56:40 2012 [TM][I]: ExitCode: 0
Tue Jan 10 15:56:40 2012 [LCM][I]: New VM state is BOOT
Tue Jan 10 15:56:40 2012 [VMM][I]: Generating deployment file:
/var/lib/one/37/deployment.0
Tue Jan 10 15:56:45 2012 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
/var/lib/one//37/images/deployment.0 node2 37 node2; else
           exit 42; fi'
Tue Jan 10 15:56:45 2012 [VMM][I]: error: Failed to create domain from
/var/lib/one//37/images/deployment.0
Tue Jan 10 15:56:45 2012 [VMM][I]: error: XML description for invalid
maxvcpus 0 is not well formed or invalid
Tue Jan 10 15:56:45 2012 [VMM][E]: Could not create domain from
/var/lib/one//37/images/deployment.0
Tue Jan 10 15:56:45 2012 [VMM][I]: ExitCode: 255
Tue Jan 10 15:56:45 2012 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//37/images/deployment.0
Tue Jan 10 15:56:45 2012 [DiM][I]: New VM state is FAILED

Any suggestion ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120110/05c77d4e/attachment-0002.htm>


More information about the Users mailing list