[one-users] opennebula 4.2 and esxi 5.1 vm create error
Tino Vazquez
cvazquez at c12g.com
Mon Nov 18 10:32:09 PST 2013
Hi,
Let's see if executing the following by hand gives any more info (as
oneadmin, in the OpenNebula front-end):
$ /var/lib/one/remotes/vmm/vmware/deploy
'/var/lib/one/vms/21/deployment.0' 'esxinode1' 21 esxinode1
It would be nice to check in the VI client while the above is being
executed, to catch any possible errors in the log window.
Best,
-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova
--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
On Mon, Nov 18, 2013 at 2:40 AM, hansz <hanshizhunjob at 126.com> wrote:
>
> opennebula 4.2
>
>
> [oneadmin at nebula ~]$ onetemplate show 9 -x
> <VMTEMPLATE>
> <ID>9</ID>
> <UID>0</UID>
> <GID>0</GID>
> <UNAME>oneadmin</UNAME>
> <GNAME>oneadmin</GNAME>
> <NAME>wwww</NAME>
> <PERMISSIONS>
> <OWNER_U>1</OWNER_U>
> <OWNER_M>1</OWNER_M>
> <OWNER_A>0</OWNER_A>
> <GROUP_U>0</GROUP_U>
> <GROUP_M>0</GROUP_M>
> <GROUP_A>0</GROUP_A>
> <OTHER_U>0</OTHER_U>
> <OTHER_M>0</OTHER_M>
> <OTHER_A>0</OTHER_A>
> </PERMISSIONS>
> <REGTIME>1384502432</REGTIME>
> <TEMPLATE>
> <CONTEXT>
> <NETWORK><![CDATA[YES]]></NETWORK>
> <SSH_PUBLIC_KEY><![CDATA[$USER[SSH_PUBLIC_KEY]]]></SSH_PUBLIC_KEY>
> </CONTEXT>
> <CPU><![CDATA[1]]></CPU>
> <DISK>
> <IMAGE_ID><![CDATA[1]]></IMAGE_ID>
> </DISK>
> <FEATURES>
> <ACPI><![CDATA[yes]]></ACPI>
> <PAE><![CDATA[yes]]></PAE>
> <PCIBRIDGE><![CDATA[0]]></PCIBRIDGE>
> </FEATURES>
> <GRAPHICS>
> <LISTEN><![CDATA[0.0.0.0]]></LISTEN>
> <TYPE><![CDATA[VNC]]></TYPE>
> </GRAPHICS>
> <INPUT>
> <BUS><![CDATA[usb]]></BUS>
> <TYPE><![CDATA[mouse]]></TYPE>
> </INPUT>
> <INPUT>
> <BUS><![CDATA[usb]]></BUS>
> <TYPE><![CDATA[tablet]]></TYPE>
> </INPUT>
> <INPUT>
> <BUS><![CDATA[ps2]]></BUS>
> <TYPE><![CDATA[tablet]]></TYPE>
> </INPUT>
> <MEMORY><![CDATA[1024]]></MEMORY>
> <NIC>
> <NETWORK_ID><![CDATA[0]]></NETWORK_ID>
> </NIC>
> <REQUIREMENTS><![CDATA[ID="4"]]></REQUIREMENTS>
> </TEMPLATE>
> </VMTEMPLATE>
>
>
>
> [oneadmin at nebula ~]$ onetemplate show 9
> TEMPLATE 9 INFORMATION
> ID : 9
> NAME : wwww
> USER : oneadmin
> GROUP : oneadmin
> REGISTER TIME : 11/15 16:00:32
>
> PERMISSIONS
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> TEMPLATE CONTENTS
> CONTEXT=[
> NETWORK="YES",
> SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
> CPU="1"
> DISK=[
> IMAGE_ID="1" ]
> FEATURES=[
> ACPI="yes",
> PAE="yes",
> PCIBRIDGE="0" ]
> GRAPHICS=[
> LISTEN="0.0.0.0",
> TYPE="VNC" ]
> INPUT=[
> BUS="usb",
> TYPE="mouse" ]
> INPUT=[
> BUS="usb",
> TYPE="tablet" ]
> INPUT=[
> BUS="ps2",
> TYPE="tablet" ]
> MEMORY="1024"
> NIC=[
> NETWORK_ID="0" ]
> REQUIREMENTS="ID=\"4\""
> [oneadmin at nebula ~]$
>
>
>
>
> At 2013-11-15 23:23:11,"Tino Vazquez" <tinova79 at gmail.com> wrote:
>>Hi,
>>
>>What is the template of the VM? OpenNebula version? We need more info
>>to be able to provide a proper answer.
>>
>>Regards,
>>
>>-Tino
>>--
>>Constantino Vázquez Blanco, PhD, MSc
>>Senior Infrastructure Architect at C12G Labs
>>www.OpenNebula.org | @tinova79 | es.linkedin.com/in/tinova
>>
>>
>>On Fri, Nov 15, 2013 at 9:17 AM, hansz <hanshizhunjob at 126.com> wrote:
>>> Fri Nov 15 16:00:41 2013 [DiM][I]: New VM state is ACTIVE.
>>> Fri Nov 15 16:00:41 2013 [LCM][I]: New VM state is PROLOG.
>>> Fri Nov 15 16:11:37 2013 [LCM][I]: New VM state is BOOT
>>> Fri Nov 15 16:11:37 2013 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/21/deployment.0
>>> Fri Nov 15 16:11:37 2013 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>> Fri Nov 15 16:11:42 2013 [VMM][I]: Command execution fail:
>>> /var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/21/deployment.0'
>>> 'esxinode1' 21 esxinode1
>>> Fri Nov 15 16:11:42 2013 [VMM][E]: deploy: Error executing: virsh -c
>>> 'esx://esxinode1/?no_verify=1&auto_answer=1' define
>>> /var/lib/one/vms/21/deployment.0 err: ExitCode: 255
>>> Fri Nov 15 16:11:42 2013 [VMM][I]: out:
>>> Fri Nov 15 16:11:42 2013 [VMM][I]: ExitCode: 255
>>> Fri Nov 15 16:11:42 2013 [VMM][I]: Failed to execute virtualization
>>> driver
>>> operation: deploy.
>>> Fri Nov 15 16:11:42 2013 [VMM][E]: Error deploying virtual machine
>>> Fri Nov 15 16:11:42 2013 [DiM][I]: New VM state is FAILED
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>
>
>
More information about the Users
mailing list