[SOLVED] Unable to unlock container

matthalion

New Member
Jun 9, 2023
4
0
1
I have a container (ID 103) that is stuck in snapshot-delete state and locked after backup failed due to insufficient disk space. I cannot unlock it using 'pct unlock 103' as I get the below error:

unable to open file '/etc/pve/nodes/hv01/lxc/103.conf.tmp.1176271' - Permission denied

That file doesn't exist if I try to navigate to it (the closest is a file called 103.conf that is in the folder /etc/pve/nodes/hv01/lxc).

I cannot stop or edit the container as it is locked.

I have tried restarting the below services as well as the host server itself, and also cleared disk space on the volume, but nothing is allowing me to unlock the container.

pvedaemon.service
pve-cluster

Any assistance would be greatly appreciated as I am fairly new to Proxmox and Linux
 
Turns out that the root cause of the issue was a failed node in the cluster. When this was restarted it allowed the unlocking of the container