[one-users] I deploy a vmware vm ,the last its state is fail,how can do it success?
shiqilei
shiqilei at hotmail.com
Thu Jun 30 05:52:02 PDT 2011
I can use image create vm success in VI client。but fails in opennebula。
1、 onevmware register --disk-vmdk ubuntn114.vmdk --disk-flat /etc/hosts unshi
2、unshi file such as:
NAME=ubn3
TYPE=OS
3、vmtemplate file such as:
NAME = ubn-vm
MEMORY = 128
CPU = 1
OS = [ ARCH = i686 ]
DISK = [ IMAGE="ubn3",
DRIVER="file"
]
NIC = [ NETWORK = "public" ]
RAW = [ TYPE = "vmware" ]
REQUIREMENTS = "HYPERVISOR=\"vmware\""
4、onevm create vmtemplate
5、onevm deploy 42 0
6、error log is :
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://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 -
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 [VMWARE] 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 any idea.
_______________________________________________
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/20110630/93dcecaa/attachment-0003.htm>
More information about the Users
mailing list