[one-users] troubles with shutdown VMs
Carlos Martín Sánchez
cmartin at opennebula.org
Thu Dec 1 07:37:48 PST 2011
Hi,
I would be useful to know what's going on inside the VM after it receives
the ACPI signal. Maybe it is not properly configured to shutdown. If it is
a desktop Ubuntu, it may be showing a dialog asking whether to shutdown or
not...
Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Tue, Nov 29, 2011 at 8:08 AM, salma rebai <rebai.salma at gmail.com> wrote:
> thanks for your reply!
> The same problems remains when using FEATURES = [ ACPI="yes" ].
> The deployment file of VMs when I use FEATURES = [ ACPI="yes" ] ,
> or FEATURE = [ ACPI="yes" ] is the same...
> --------------------
> cat deployment.0
>
> <domain type='kvm'>
> <name>one-771</name>
> <memory>2097152</memory>
> <os>
> <type>hvm</type>
> <boot dev='hd'/>
> </os>
> <devices>
> <emulator>/usr/bin/kvm</emulator>
> <disk type='file' device='disk'>
> <source
> file='/data1/opennebula/var//771/images/disk.0'/>
> <target dev='hda'/>
> </disk>
> <interface type='bridge'>
> <source bridge='br3'/>
> <mac address='02:00:9d:9f:f9:86'/>
> </interface>
> <interface type='bridge'>
> <source bridge='br0'/>
> <mac address='02:00:0a:8e:32:11'/>
> </interface>
> <interface type='bridge'>
> <source bridge='br2'/>
> <mac address='02:00:0a:8d:32:01'/>
> </interface>
> </devices>
> <features>
> <acpi/>
> </features>
> </domain>
>
> This is the deployment file of a VM that I failed to save its disk and
> shutdown it :(
> I don't understand why this command has failed!
>
> Any suggestions?
>
> Thanks.
> SALMA.
> 2011/11/28 Ismael Farfán <sulfurfff at gmail.com>
>
>> 2011/11/28 salma rebai <rebai.salma at gmail.com>:
>> > Thanks for your reply :)
>> > I am using KVM as hypervisor and ubuntu as OS for my VM, BUT the acpid
>> > package is installed on my VMs.
>> > when i execute the <onevm shutdown> command The VM is still in the
>> > "shutdown" state and remains in the list of VMs of OpenNebula!!!
>> > Some other times the command works fine and VM is removed from list of
>> > running list and the new saved image is taken properly !!
>> > Is there a bug in OpenNbeula (I work with OpenNebula 2.0) or I am doing
>> > something wrong....
>> > Any one can help ???!!!
>>
>> I'm not sure, but I think its FEATURES, not FEATURE, try with this
>> line instead (it works for me with 2.2):
>> FEATURES = [ ACPI="yes" ]
>>
>> Cheers
>> Ismael
>>
>> > Best Regards!
>> > 2011/11/28 Alberto Molina Coballes <alb.molina at gmail.com>
>> >>
>> >> Is acpi installed on the virtual machine?
>> >>
>> >> I solved this issue on Debian VMs (KVM) installing the package acpid
>> >>
>> >> Cheers!
>> >>
>> >>
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> >
>> >
>> > --
>> > Salma REBAI
>> > Ingénieur Informatique
>> > Mastère Réseaux et Systèmes Multimédia
>> > Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
>> > Institut Télécom SudParis
>> > rebai.salma at gmail.com
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> >
>>
>>
>>
>> --
>> Do not let me induce you to satisfy my curiosity, from an expectation,
>> that I shall gratify yours. What I may judge proper to conceal, does
>> not concern myself alone.
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Salma REBAI
> Ingénieur Informatique
> Mastère Réseaux et Systèmes Multimédia
> Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
> Institut Télécom SudParis
> rebai.salma at gmail.com
>
> _______________________________________________
> 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/20111201/9c11b995/attachment-0002.htm>
More information about the Users
mailing list