Hi,
I think I found a corner case.
We have VMs running on Ceph in KRBD mode.
I have a user who cloned such VM but in a living state, neither from a stopped VM nor a snapshot.
I don't know why but it works except that when you want to remove the VM, when trying to remove the image, I get a sysfs error because the image can't be unmapped.
I tried many ways to force the unmap but that fails constantly and the only way to get rid of the map is to reboot the system (which is quite complicated when you are on a production cluster).
I don't know the reason but one way to avoid that would be to disable the ability to clone a non snapshot based running VMs with a KRBD storage.
Regards
I think I found a corner case.
We have VMs running on Ceph in KRBD mode.
I have a user who cloned such VM but in a living state, neither from a stopped VM nor a snapshot.
I don't know why but it works except that when you want to remove the VM, when trying to remove the image, I get a sysfs error because the image can't be unmapped.
I tried many ways to force the unmap but that fails constantly and the only way to get rid of the map is to reboot the system (which is quite complicated when you are on a production cluster).
I don't know the reason but one way to avoid that would be to disable the ability to clone a non snapshot based running VMs with a KRBD storage.
Regards