[pve-devel] VM locked after failed Snapshot

Stefan Priebe s.priebe at profihost.ag
Mon Sep 8 21:31:27 CEST 2014


Am 08.09.2014 17:11, schrieb Dietmar Maurer:
> BTW, is there a way to reproduce the bug?

Still not sure if it is a bug or a feature ;-)

Just interrupt the rbd process while doing a snapshot or the pve worker.

Stefan

>>> 2.) in case of an unexpected failure or signal ceph/rbd does not
>>> remove it's watcher from the image. So the snapshot_delete failed in this case.
>>>
>>> Output:
>>>
>>> image has watchers - not removing
>>> Removing image: 0% complete...failed.
>>> rbd: error: image still has watchers
>>>
>>> rbd has an automatic timeout after 30s should PVE handle this by
>>> waiting 30s and try it again?
>>
>> What are 'unexpected failures'? I think such things should be handled inside
>> librbd?
>



More information about the pve-devel mailing list