[one-users] Error deploying virtual machine

Vahe nr vner75 at gmail.com
Tue Jan 10 09:19:33 PST 2012


Thank you Matheus Torquato
I will check it, and maybe try to define the number of CPU equal to one.

Regards

On Tue, Jan 10, 2012 at 9:07 PM, matheus tor4 <matheusifal at gmail.com> wrote:

> Hello,
>
> Look close to this line:
> Tue Jan 10 15:56:45 2012 [VMM][I]: error: XML description for invalid
> maxvcpus 0 is not well formed or invalid;
>
> I never get this error before, but seems like a faulty or lacking
> parameter.
> Look maxvcups must be >= 1
>
>
> I hope it help.
>
> See you soon.
>
>
>
> On Tue, Jan 10, 2012 at 1:30 PM, Vahe nr <vner75 at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Matheus Torquato
> Undergraduate in Computer Science
> Federal University of Alagoas
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120110/7822f0f8/attachment-0003.htm>


More information about the Users mailing list