BUG(?) You can't delete a CT if one of it's volume is missing, and can't detach it either

shodan

Active Member
Sep 1, 2022
221
61
33
Hi,

I am in the process of de-borking a proxmox server

I now need to delete a CT container which the volume group that contained it no longer exists.

But it won't allow to delete it because

Code:
CT 101 - Destroy
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
TASK ERROR: no such logical volume thinvg/thinlv

1760443624924.png

Also the volume cannot even be detached from it either

1760443676272.png
Only solution I found, was manually editing the config file
1760443725549.png
And only then I could delete it