I have notice with rbd, that if we cancel a running snapshot with vmstate,
It seem that the vmstate file is not closed,
so we can't remove it with rbd.
(Not sure about the behaviour without other storage, but it seem to be wrong 
anyway)

I have check inside internal-snapshot-async.patch, I don't see any bdrv_close 
anywhere





#qm snapshot 100 snap1 --vmstate

-->abort here

^Csnapshot create failed: starting cleanup
Removing all snapshots: 100% complete...done.
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
rbd rm 'vm-100-state-snap2' error: rbd: error: image still has watchers
received interrupt
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to