[one-users] having a problem when shut down a VM

Carlos Martín Sánchez cmartin at opennebula.org
Fri May 6 02:23:13 PDT 2011


Hi,

>From the libvirt doc. [1]:
ACPI is useful for power management, for example, with KVM guests it is
required for graceful shutdown to work. If you set ACPI = YES, then your VM
should have the ACPI daemon running and be configured to shutdown with the
ACPI signal . For instance, I think Ubuntu Desktop shows the log out menu
instead.

Regards,
Carlos

[1] http://libvirt.org/formatdomain.html

--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org


On Fri, May 6, 2011 at 6:21 AM, Khoa Nguyen <vankhoa011 at gmail.com> wrote:

> hj all
> I'm working with opennebula and KVM.
> In file template of VM
>     FEATURES=[
>
>         acpi={yes|no} ]
>
> When i put "yes" into acpi, VM don't shut down,
> It display
> at May  7 16:13:35 2011 [LCM][I]: New VM state is BOOT
> Sat May  7 16:13:35 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/160/deployment.0
> Sat May  7 16:13:46 2011 [LCM][I]: New VM state is RUNNING
> Sat May  7 16:14:40 2011 [LCM][I]: New VM state is SHUTDOWN
> Sat May  7 16:15:14 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/vmm/kvm/shutdown" ]; then /var/tmp/one/vmm/kvm/shutdown
> one-160; else                              exit 42; fi'
> Sat May  7 16:15:14 2011 [VMM][I]: STDERR follows.
> Sat May  7 16:15:14 2011 [VMM][I]: Connecting to uri: qemu:///system
> Sat May  7 16:15:14 2011 [VMM][I]: Timeout reached
> Sat May  7 16:15:14 2011 [VMM][I]: ExitCode: 1
> Sat May  7 16:15:14 2011 [VMM][E]: Error shuting down VM, Connecting to
> uri: qemu:///system
> Sat May  7 16:15:14 2011 [LCM][I]: Fail to shutdown VM. Assuming that the
> VM is still RUNNING (will poll VM).
> Sat May  7 16:15:25 2011 [VMM][D]: Monitor Information:
>     CPU   : -1
>     Memory: 262144
>     Net_TX: -1
>     Net_RX: -1
>
> Howerver when i put "no" into acpi .It shut down sucessfully . I don't know
> why? please help me.
> thank you in advance
> --
> Nguyễn Vũ Văn Khoa
> Đại học Khoa Học Tự Nhiên TP HCM
>
>
>
> _______________________________________________
> 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/20110506/7d79741c/attachment-0003.htm>


More information about the Users mailing list