Description of problem:
It is possible to start a delete operation for single snapshot multiple times.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create/have at least one VM snapshot
2. try to delete the snapshot
3. repeat 2
It is possible to start multiple snapshot delete operations and eventually Virt Manager will return this traceback:
Error deleting snapshot 'pre post F21 mas rebuild update': Domain snapshot not found: no domain snapshot with matching name 'pre post F21 mas rebuild update'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 127, in tmpcb
File "/usr/share/virt-manager/virtManager/domain.py", line 183, in delete
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4702, in delete
if ret == -1: raise libvirtError ('virDomainSnapshotDelete() failed')
libvirtError: Domain snapshot not found: no domain snapshot with matching name 'pre post F21 mas rebuild update'
Also the snapshot appears to be gone.
It is not possible to start multiple delete operations for a single VM snapshot.
Looks like the traceback appears multiple times, based on how many delete operations you managed to start.
I think this was fixed by this commit, which is also in F21. Since it's a minor feature request, just closing as CURRENTRELEASE for f21
Author: Giuseppe Scrivano <email@example.com>
Date: Thu Jul 31 14:28:54 2014 +0200
snapshots: allow deleting multiple snapshots
Signed-off-by: Giuseppe Scrivano <firstname.lastname@example.org>