Stop cleaning images to be deleted in remotefs driver
Add '-d' flag to qemu-img commit operations during snapshot deletion in remotefs driver. Change-Id: I66396fb7e2616be734b7c8f73b87c650b1e603bf Closes-Bug: #1805853
This commit is contained in:
parent
4529b193da
commit
13499f5895
|
@ -818,7 +818,7 @@ class RemoteFSSnapDriverBase(RemoteFSDriver):
|
|||
# NFS snapshots
|
||||
# It needs to run as root for volumes attached to instances, but
|
||||
# does not when in secure mode.
|
||||
self._execute('qemu-img', 'commit', path,
|
||||
self._execute('qemu-img', 'commit', '-d', path,
|
||||
run_as_root=self._execute_as_root)
|
||||
self._delete(path)
|
||||
|
||||
|
|
Loading…
Reference in New Issue