<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Tino,<br>
<br>
I did as you suggest, and one-49 was started successfully.<br>
<br>
But when I create a new vm, processes are still hang.<br>
<br>
<i>oneadmin 8104 1 0 10:20 pts/0 00:00:00 sh -c
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
/srv/cloud/one/var/50/deployment.0 ; echo ExitCode: $? 1>&2<br>
oneadmin 8105 8104 0 10:20 pts/0 00:00:00 ruby
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
/srv/cloud/one/var/50/deployment.0<br>
oneadmin 8111 1 0 10:20 pts/0 00:00:00 sh -c
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
esx://10.160.0.23?no_verify=1 start one-50 ; echo ExitCode: $?
1>&2<br>
oneadmin 8112 8111 0 10:20 pts/0 00:00:00
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
esx://10.160.0.23?no_verify=1 start one-50<br>
oneadmin 8113 8112 0 10:20 pts/1 00:00:00 virsh -c
esx://10.160.0.23?no_verify=1 start one-50<br>
</i><br>
<br>
This is output from oned.log:<br>
<br>
<i>Tue Dec 7 10:20:56 2010 [ReM][D]: VirtualMachinePoolInfo method
invoked<br>
Tue Dec 7 10:20:56 2010 [ReM][D]: VirtualMachineDeploy invoked<br>
Tue Dec 7 10:20:56 2010 [DiM][D]: Deploying VM 50<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: LOG - 50
tm_ln.sh: Creating directory /srv/cloud/one/var//50/images<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: LOG - 50
tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var//50/images".<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: LOG - 50
tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var//50/images".<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: LOG - 50
tm_ln.sh: Link /srv/cloud/one/var/images/disk<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: LOG - 50
tm_ln.sh: Executed "ln -s ../../images/disk
/srv/cloud/one/var//50/images/disk.0".<br>
Tue Dec 7 10:20:57 2010 [TM][D]: Message received: TRANSFER
SUCCESS 50 -<br>
Tue Dec 7 10:21:26 2010 [ReM][D]: HostPoolInfo method invoked<br>
Tue Dec 7 10:21:26 2010 [ReM][D]: VirtualMachinePoolInfo method
invoked</i><br>
<br>
<br>
I'm using CentOS 5.5 (64bit), ruby 1.8.7 (2010-08-16 patchlevel
302), libvirt 0.8.4<br>
<br>
This's my template <i>2k3_64.onevm</i>:<br>
<i> NAME = 2k3_64<br>
MEMORY = 1024<br>
DISK = [<br>
TARGET = sda,<br>
BUS = scsi,<br>
SOURCE = /srv/cloud/one/var/images/disk,<br>
CLONE = NO,<br>
SAVE = NO<br>
]</i><br>
<br>
And <i>/srv/cloud/one/var/images/disk</i> includes: <i>disk.vmdk,
Win2k3_64-flat.vmdk</i>.<br>
<br>
Please tell me if you need more info.<br>
<br>
BR,<br>
<br>
VTMinh<br>
<br>
<br>
<br>
On 07/12/2010 3:02 SA, Tino Vazquez wrote:
<blockquote
cite="mid:AANLkTi=HoXnyjd+0odJoTDX2w9wvZsdURASPwcE38JEX@mail.gmail.com"
type="cite">
<pre wrap="">Hi Vu,
This may be due to a variety of reasons, most probably the ESX
hypervisor finding difficulties to start the VM due to some question
it has that is not being answered. This can be, for instance, the
typical question about the VM being moved or copied.
In order to debug this, I suggest connecting to the ESX host using the
VI client, and try to run the virsh command directly from the prompt,
the VI client should output the reason of the hanging:
$ virsh -c esx://10.160.0.23?no_verify=1 start one-49
Best regards,
-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
On Mon, Dec 6, 2010 at 3:32 AM, Vu Tong Minh <a class="moz-txt-link-rfc2396E" href="mailto:vtminh@fpt.net"><vtminh@fpt.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I'm trying to test One 2.0 with VMWare ESXi 4.0. I only can deploy vm into
vmware but I can't start vm up. Processes is hang.
oneadmin 4008 1 0 18:03 pts/0 00:00:00 /srv/cloud/one/bin/oned -f
oneadmin 4018 1 0 18:03 pts/0 00:00:00 /srv/cloud/one/bin/mm_sched
-p 2633 -t 30 -m 300 -d 30 -h 1
oneadmin 4026 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_vmm_ssh.rb kvm
oneadmin 4036 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_vmm_sh.rb vmware
oneadmin 4046 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_im_ssh.rb kvm
oneadmin 4055 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_im_sh.rb vmware
oneadmin 4064 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_tm.rb tm_nfs/tm_nfs.conf
oneadmin 4077 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_tm.rb tm_vmware/tm_vmware.conf
oneadmin 4086 4008 0 18:03 pts/0 00:00:00 ruby
/srv/cloud/one/lib/mads/one_hm.rb
oneadmin 4143 1 0 18:05 pts/0 00:00:00 sh -c
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
/srv/cloud/one/var/49/deployment.0 ; echo ExitCode: $? 1>&2
oneadmin 4144 4143 0 18:05 pts/0 00:00:00 ruby
/srv/cloud/one/lib/remotes/vmm/vmware/deploy 10.160.0.23
/srv/cloud/one/var/49/deployment.0
oneadmin 4151 1 0 18:05 pts/0 00:00:00 sh -c
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
esx://10.160.0.23?no_verify=1 start one-49 ; echo ExitCode: $? 1>&2
oneadmin 4152 4151 0 18:05 pts/0 00:00:00
/srv/cloud/one/bin/tty_expect -u oneadmin -p onepasswd virsh -c
esx://10.160.0.23?no_verify=1 start one-49
oneadmin 4153 4152 0 18:05 pts/1 00:00:00 virsh -c
esx://10.160.0.23?no_verify=1 start one-49
Any suggest help me to fix this issue?
Thks,
VTMinh
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>