[one-users] opennebula 4.2 and esxi 5.1 vm create error

hansz hanshizhunjob at 126.com
Sun Nov 17 17:40:20 PST 2013


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
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131118/a4d2ac70/attachment-0002.htm>


More information about the Users mailing list