From: Jan Vlach <janus@volny.cz>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] VM shutdown with qemu-guest-agent installed and enabled does not work
Date: Thu, 19 Jan 2023 13:25:41 +0100 [thread overview]
Message-ID: <0D52E053-B035-44BC-A6CB-2E1893D33907@volny.cz> (raw)
Hi pve-users,
I have fully patched proxmox 7.3 (non-subscription repo) with kernel 5.15.83-1-pve and I can't shutdown VMs from webUI. The task times out and is ignored in the VM.
on CLI:
Guest agent is enabled and running:
# qm agent 112 ping
# qm agent 112 shutdown
{
"error" : {
"class" : "GenericError",
"desc" : "child process has failed to shutdown"
}
}
versus disabled & rebooted: # here it could be shut down via ACPI
# qm agent 112 ping
QEMU guest agent is not running
With qemu disabled, regardless if it's installed, ACPI event is sent into VM and shutdown procedure gets run.
I've tested fully patched Debian Bullseye 11/amd64, Cisco Ironport appliances (freebsd-based) and plain FreeBSD13.
So far, I've been installing guest agent to see the assigned IP address in summary and probably also for fs-freeze and fs-thaw during PBS backups.
I've found a post from 2018 describing my problem after my debugging at:https://forum.proxmox.com/threads/vm-shutdown-when-qemu-guest-agent-enabled.43404/ <https://forum.proxmox.com/threads/vm-shutdown-when-qemu-guest-agent-enabled.43404/>
Does this work? Should this work? Has this ever been patched? Lots of water passed between today and 2018 ...
Thank you,
JV
next reply other threads:[~2023-01-19 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 12:25 Jan Vlach [this message]
[not found] ` <mailman.325.1674155323.458.pve-user@lists.proxmox.com>
2023-01-19 19:49 ` Jan Vlach
2023-02-02 12:34 ` Jan Vlach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0D52E053-B035-44BC-A6CB-2E1893D33907@volny.cz \
--to=janus@volny.cz \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox