Problems with removing an LXC template

da-alb

Active Member
Jan 18, 2021
124
4
38
Hi,

I have an LXC template that cannot be removed.
Previously it was an LXC container on Ceph (RBD).

The error is the following, I have checked and there are 0 LXC containers linked to it.

Code:
Removing all snapshots: 100% complete...
Removing all snapshots: 100% complete...done.
2021-02-09T10:39:34.149+0100 7f2daeffd700 -1 librbd::image::PreRemoveRequest: 0x55a024889670 check_image_watchers: image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
TASK ERROR: error during cfs-locked 'storage-local2' operation: rbd rm 'base-9000-disk-0' error: rbd: error: image still has watchers

What can I do? I tried moving the disk from ceph storage to lvm local storage and it didn't work.