[one-users] I deploy a vmware vm ,the last its state is fail,how can do it success?

Tino Vazquez tinova at opennebula.org
Tue Jul 5 01:22:18 PDT 2011


Hi,

You can start with a simple template:

--
DISK=[IMAGE_ID=<id of the registered image>]
--

When you are deploying via ONE, have a VI client window open to get extra
debug information. Also, the vmware logs inside $ONE_LOCATION/var/<vid> are
useful to find out what is going wrong.

Best,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79


2011/7/3 shiqilei <shiqilei at hotmail.com>

>  hi :Tino
>      I think there are some info I can't config right,can you send me a
> example for vm template? thanks!
>
>  ------------------------------
> From: tinova79 at gmail.com
> Date: Thu, 30 Jun 2011 14:31:18 +0200
> Subject: Re: [one-users] I deploy a vmware vm ,the last its state is
> fail,how can do it success?
> To: shiqilei at hotmail.com
> CC: users at lists.opennebula.org
>
> Hi,
>
> 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.
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
>
>
> 2011/6/30 shiqilei <shiqilei at hotmail.com>
>
>  I use vmware server 2.0 and opennebula 2.2.1 release version.
> oned.log is fellow:
> 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/
> cloud/one/var/41/images/disk.0
> 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
> Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh:
> Creating directory /srv/cloud/one/var/41/images
> 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".
> 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".
> Thu Jun 30 20:05:23 2011 [TM][D]: Message received: LOG - 41 tm_clone.sh:
> Cloning /srv/cloud/one/var/images/2b0a82b2c9be47375dc18cb0de937fb8c03bc3df
> 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/
> one/var/41/images/disk.0".
> 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".
> Thu Jun 30 20:05:23 2011 [TM][D]: Message received: TRANSFER SUCCESS 41 -
> Thu Jun 30 20:05:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:25 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:26 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:28 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:30 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: DEPLOY FAILURE 41 [VMW
> ARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p one virsh -c
> gsx://192.168.0.11
>
> /?no_verify=1 start one-41]. Stderr:  one
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: Failed to start
> domain one-41
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: error: internal error
> Could not start domain
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received:
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: . Stdout: ExitCode: 1
> Thu Jun 30 20:05:32 2011 [VMM][D]: Message received: ExitCode: 1
> Thu Jun 30 20:05:32 2011 [TM][D]: Message received: LOG - 41 tm_delete.sh:
> Deleting /srv/cloud/one/var/41/images
> 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".
> Thu Jun 30 20:05:32 2011 [TM][D]: Message received: TRANSFER SUCCESS 41 -
>
> thanks for a ny idea.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> _______________________________________________
> 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/20110705/2148d4a3/attachment-0003.htm>


More information about the Users mailing list