Hi,
I have created a template of a lxc container and created subsequently a container of this template.
After changing some settings in the container I wanted to create a new template of this container and delete the first template after creating the new template. I tried to delete the first template and got the response that there are still linked images to the template. So the simplest thing to do was to delete the second template first and then delete the first template.
When I try to delete the first template I get the following error:
TASK ERROR: error with cfs lock 'storage-CT_Storage': base volume 'base-104-disk-1' is still in use by linked clones
When I try to delete the second template I get the following error:
TASK ERROR: error with cfs lock 'storage-CT_Storage': rbd error: error setting snapshot context: (2) No such file or directory
I've googled several possible solutions but none worked and resulted in the error mentioned above.
I have created a template of a lxc container and created subsequently a container of this template.
After changing some settings in the container I wanted to create a new template of this container and delete the first template after creating the new template. I tried to delete the first template and got the response that there are still linked images to the template. So the simplest thing to do was to delete the second template first and then delete the first template.
When I try to delete the first template I get the following error:
TASK ERROR: error with cfs lock 'storage-CT_Storage': base volume 'base-104-disk-1' is still in use by linked clones
When I try to delete the second template I get the following error:
TASK ERROR: error with cfs lock 'storage-CT_Storage': rbd error: error setting snapshot context: (2) No such file or directory
I've googled several possible solutions but none worked and resulted in the error mentioned above.