Guest Ubuntu 10.04 - does not understand 'shutdown' signal

Discussion in 'What Virtual Appliances do you want to see?' started by nicolasdiogo, Oct 23, 2010.

  1. nicolasdiogo

    nicolasdiogo Member

    Joined:
    Mar 16, 2010
    Messages:
    92
    Likes Received:
    0
    Hi folks,

    i would like to check if i am using PVE correctly here of it this is a bug that someone else has come across.

    i have created a set of Guests based on Ubuntu 10.04 x64 Server, and i noticed that clicking on 'SHUTDOWN' button on PVE interface for a given machine is not interepreted by the guest at all.

    it is simply ignored.

    these guests are KVM running on Debian x64 lenny on the host:
    Code:
    uname -r
    Linux myhost.intra.net 2.6.32-4-pve #1 SMP Mon Sep 20 11:36:51 CEST 2010 x86_64 GNU/Linux
    
    any idea how to get these guests to understand this command?

    i believe this would also stop the host from rebooting. am i right?

    thanks,


    Nicolas
     
  2. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,769
    Likes Received:
    296
  3. nicolasdiogo

    nicolasdiogo Member

    Joined:
    Mar 16, 2010
    Messages:
    92
    Likes Received:
    0
    yep

    many thanks for that
    as a virtual machine the installer fails to find any requirement for acpi.

    with regards,

    Nicolas

    www.brainpowered.net
     
  4. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,769
    Likes Received:
    296
    so its working? I do not understand your comment, can you elaborate it again?
     
  5. nicolasdiogo

    nicolasdiogo Member

    Joined:
    Mar 16, 2010
    Messages:
    92
    Likes Received:
    0
    sorry

    i was trying to say that i makes sense for ubuntu not to install acpi packages; as no packages on the server install required it - but on desktop it is necessary.

    apologies for the confusion.
    after instaling this package everything is working fine.

    thanks,
     
  6. MRosu

    MRosu New Member

    Joined:
    Mar 27, 2016
    Messages:
    23
    Likes Received:
    0
    I'm running Ubuntu 14.04 desktop and I have acpid installed. When using shutdown from Proxmox, it only brings up the shutdown menu, for a selection: Lock, Suspend, Restart, Shutdown.

    Any other ideas?
     
  7. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,769
    Likes Received:
    296
    activate qemu-guest-agent in VM config and install the package inside.

    (apt install qemu-guest-agent)
     
  8. MRosu

    MRosu New Member

    Joined:
    Mar 27, 2016
    Messages:
    23
    Likes Received:
    0
    Just in case anyone else wants to know to the full steps:

    apt install qemu-guest-agent inside the VM

    Then edit the vm.conf and add

    agent: 1

    Now the commands sent from Proxmox work properly.
     
  9. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,769
    Likes Received:
    296
    yes, but you can also activate the guest agent in the config via the GUI (new).
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice