Unable to send shutdown signal to w2008r2 guest (2.0 rc1)

Jon Lachmann

Well-Known Member
Apr 27, 2011
31
0
46
I am trying the new 2.0 rc1 and cant seem to shut down a windows server 2008 r2 guest with the shutdown button present at the vms page. I get the following log output:

Feb 17 15:16:00 host-01 pvedaemon[14098]: <root@pam> starting task UPID:host-01:000043E2:00184959:4F3E6120:qmshutdown:100:root@pam:
Feb 17 15:16:00 host-01 pvedaemon[17378]: shutdown VM 100: UPID:host-01:000043E2:00184959:4F3E6120:qmshutdown:100:root@pam:
Feb 17 15:16:30 host-01 pvedaemon[17378]: VM quit/powerdown failed - got timeout
Feb 17 15:16:30 host-01 pvedaemon[14098]: <root@pam> end task UPID:host-01:000043E2:00184959:4F3E6120:qmshutdown:100:root@pam: VM quit/powerdown failed - got timeout

What is causing this? A bug? Me?
 
I assume your windows box does not allow anonymous acpi shutdown´s (windows policies prevents this). search the forum for hints.
 
I assume your windows box does not allow anonymous acpi shutdown´s (windows policies prevents this). search the forum for hints.

That makes sense, didnt think of that! But shouldnt it be recognized by proxmox? Now it displays as an error when it really is a misconfiguration...
 
But shouldnt it be recognized by proxmox? Now it displays as an error when it really is a misconfiguration...

Sure, but that is technically inpossible without an agent running inside the guest. Future versions of kvm will solve that hopefully.
 
Sure, but that is technically inpossible without an agent running inside the guest. Future versions of kvm will solve that hopefully.

Ah i see! I thought pressing the shutdown button was equal to pressing the shutdown button on the case of a physical server (dunno how that would affect 2008r2 since i never installed it on a physical machine), is this correct?
 
Ah i see! I thought pressing the shutdown button was equal to pressing the shutdown button on the case of a physical server (dunno how that would affect 2008r2 since i never installed it on a physical machine), is this correct?

Yes, I think that is the same.
 
Ah i see! I thought pressing the shutdown button was equal to pressing the shutdown button on the case of a physical server (dunno how that would affect 2008r2 since i never installed it on a physical machine), is this correct?

on my 2008 r2 physical box, it will not shut down.
 
on my 2008 r2 physical box, it will not shut down.

Correct - Windows Server 2008 (and 2003?) don't respond to power button presses by default.

What compounds the problem with VMs though is that Windows Server does the same thing as Windows clients when idle at the logon screen... They switch the "monitor" to power saving mode. When the monitor is off, Windows responds to a power button press by simply turning the monitor back on (sensible on desktops - users don't accidentally shut down the already on computer).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!