[pve-devel] VM locked after failed Snapshot

Dietmar Maurer dietmar at proxmox.com
Tue Sep 9 07:52:08 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.

>>      if ($err) {
>>          warn "snapshot create failed: starting cleanup\n";
>>          eval { snapshot_delete($vmid, $snapname, 0, $drivehash); };

I think snapshot delete should work in that case. Can we modify it to make it work
for that situation?

>>          warn $@ if $@;
>>          die $err;
>>      }





More information about the pve-devel mailing list