public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Andrei Boros <andrei@srr.ro>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] can't lock file '/var/lock/qemu-server/lock-XXX.conf' - got timeout
Date: Tue, 6 Feb 2024 14:05:13 +0200	[thread overview]
Message-ID: <4151ff77-b036-b6a2-d40f-ddad2f036f56@srr.ro> (raw)

Hi,

I am encountering problems stopping VMs. It happens intermittently.

I have a Ubuntu-22.04 server edition. Not yet installed qemu agent inside.
I have a generic Linux VM in which I want to use G4L to import disk image.
I have a Win10 for testing, with qemu-agent and drivers.

All these machines can't be stopped or reset.
I am talking about HARD STOP or HARD RESET.

From the top menu, shutdown dropdown -> Stop. It says command stop
successful. Nothing happens.
From noVNC console, power -> hard stop. It says command stop successful.
Nothing happens.
From node shell: qm stop XXX
fails showing: can't lock file '/var/lock/qemu-server/lock-XXX.conf' -
got timeout

The Win10 machine shuts down gracefully only when a user is logged in.
If requesting shutdown at login screen, nothing happens. And the stop
command fails as well.

And after all this, 10-15 minutes later, it magically works!

Is it a bug? Am I doing something wrong?

Thank you.

-- 

*ing. Andrei Boros*

Serviciul IT&C
*Radio Romania*
|Tel:   +40-21-303-1870
       +40-745-115721
Email: andrei@srr.ro <mailto:andrei@srr.ro>|



                 reply	other threads:[~2024-02-06 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4151ff77-b036-b6a2-d40f-ddad2f036f56@srr.ro \
    --to=andrei@srr.ro \
    --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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal