<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
hi tino £º<BR>
files can create£¬for example£ºdisk.vmdk  hosts  one-42vmx  one-42.vmxf£¬but I can't start vm¡£when fails£¬the files have been deleted¡£ what is wrong with it£¿  the command is that <SPAN style="FONT-FAMILY: ËÎÌå; FONT-SIZE: 12pt; mso-bidi-font-family: ËÎÌå; mso-font-kerning: 0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang=EN-US>virsh -c gsx://192.168.0.11/?no_verify=1<SPAN style="mso-spacerun: yes">    </SPAN>domxml-to-native vmware-vmx<SPAN style="mso-spacerun: yes">  </SPAN>deployment.0 can execute success¡£<BR>
<DIV style="LINE-HEIGHT: 19px" class=lijuyuanxing>I am perplexed to know what to do it.help me please £¬thanks!</SPAN> </DIV>
<DIV>

<HR id=stopSpelling>
From: shiqilei@hotmail.com<BR>To: tinova79@gmail.com<BR>CC: users@lists.opennebula.org<BR>Subject: RE: [one-users] I deploy a vmware vm £¬the last its state is fail£¬how can do it success£¿<BR>Date: Thu, 30 Jun 2011 20:52:02 +0800<BR><BR>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:΢ÈíÑźÚ;}

</STYLE>

<DIV dir=ltr>I can use image create vm success in VI client¡£but fails in opennebula¡£<BR>1¡¢ <SPAN style="FONT-FAMILY: ËÎÌå; FONT-SIZE: 12pt" lang=EN-US>onevmware register --disk-vmdk<SPAN>  </SPAN>ubuntn114.vmdk<SPAN>  </SPAN>--disk-flat /etc/hosts unshi</SPAN><BR><SPAN style="FONT-FAMILY: ËÎÌå; FONT-SIZE: 12pt" lang=EN-US>2¡¢unshi file such as£º</SPAN><BR><SPAN style="FONT-FAMILY: ËÎÌå; FONT-SIZE: 12pt" lang=EN-US>   NAME=ubn3</SPAN><BR><SPAN style="FONT-FAMILY: ËÎÌå; FONT-SIZE: 12pt" lang=EN-US>   TYPE=OS</SPAN><BR>3¡¢vmtemplate  file such as£º<BR>NAME   = ubn-vm<BR> MEMORY = 128<BR> CPU    = 1<BR>OS     = [ ARCH = i686 ]<BR>DISK = [ IMAGE="ubn3",<BR>         DRIVER="file"<BR>          ]<BR>NIC = [ NETWORK = "public" ]<BR>RAW = [ TYPE = "vmware" ]<BR>REQUIREMENTS = "HYPERVISOR=\"vmware\""<BR>4¡¢onevm create  vmtemplate  <BR>5¡¢onevm deploy 42  0<BR>6¡¢error log is  £º<BR>    Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: DEPLOY FAILURE 41 [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p one virsh -c gsx://<A href="http://192.168.0.11/" target=_blank>192.168.0.11</A><BR>/?no_verify=1 start one-41]. Stderr:  one<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:<BR><FONT style="FONT-SIZE: 24pt" color=#ff0000 size=6>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: Failed to start domain one-41<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: internal error Could not start domain<BR></FONT>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: . Stdout: ExitCode: 1<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: ExitCode: 1<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: LOG - 41 tm_delete.sh: Deleting /srv/cloud/one/var/41/images<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: LOG - 41 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var/41/images".<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: TRANSFER SUCCESS 41 -<BR><BR> <BR>
<DIV>
<HR id=ecxstopSpelling>
From: tinova79@gmail.com<BR>Date: Thu, 30 Jun 2011 14:31:18 +0200<BR>Subject: Re: [one-users] I deploy a vmware vm £¬the last its state is fail£¬how can do it success£¿<BR>To: shiqilei@hotmail.com<BR>CC: users@lists.opennebula.org<BR><BR>Hi, 
<DIV><BR></DIV>
<DIV>To find out what is really failing, please connect to the vmware server using the VI client (or alternatevely look at the logs) and repeat the operation, you should see an error message that could shed some light on this. Please send it to the list to analyse it.</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV><BR></DIV>
<DIV>-Tino</DIV>
<DIV><BR clear=all>--<BR>Constantino V¨¢zquez Blanco | <A href="http://dsa-research.org/tinova" target=_blank>dsa-research.org/tinova</A><BR>Virtualization Technology Engineer / Researcher<BR>OpenNebula Toolkit | <A href="http://opennebula.org/" target=_blank>opennebula.org</A><BR><BR><BR>
<DIV class=ecxgmail_quote>2011/6/30 shiqilei <SPAN dir=ltr><<A href="mailto:shiqilei@hotmail.com">shiqilei@hotmail.com</A>></SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV>
<DIV dir=ltr>I use vmware server 2.0 and opennebula 2.2.1 release version.<BR>oned.log is fellow:<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: frontend:/srv/cloud/one/var/images/2b0a82b2c9be47375dc18cb0de937fb8c03bc3df 192.168.0.11:/srv/<BR>cloud/one/var/41/images/disk.0<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: DST: /srv/cloud/one/var/41/images/disk.0<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Creating directory /srv/cloud/one/var/41/images<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var/41/images".<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var/41/images".<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Cloning /srv/cloud/one/var/images/2b0a82b2c9be47375dc18cb0de937fb8c03bc3df<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Executed "cp -r /srv/cloud/one/var/images/2b0a82b2c9be47375dc18cb0de937fb8c03bc3df /srv/cloud/<BR>one/var/41/images/disk.0".<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var/41/images/disk.0".<BR>Thu Jun 30 20:05:23 2011 [TM][D]: Message received: TRANSFER SUCCESS 41 -<BR>Thu Jun 30 20:05:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:25 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:26 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:28 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:30 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: DEPLOY FAILURE 41 [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p one virsh -c gsx://<A href="http://192.168.0.11/" target=_blank>192.168.0.11</A><BR>/?no_verify=1 start one-41]. Stderr:  one<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: Failed to start domain one-41<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: internal error Could not start domain<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: . Stdout: ExitCode: 1<BR>Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: ExitCode: 1<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: LOG - 41 tm_delete.sh: Deleting /srv/cloud/one/var/41/images<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: LOG - 41 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var/41/images".<BR>Thu Jun 30 20:05:32 2011 [TM][D]: Message received: TRANSFER SUCCESS 41 -<BR> <BR>thanks for any idea.<BR><BR></DIV></DIV><BR>_______________________________________________<BR>Users mailing list<BR><A href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</A><BR><A href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target=_blank>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV>                                     </div></body>
</html>