Merge "Stop cleaning images to be deleted in remotefs driver"

This commit is contained in:
Zuul 2018-11-30 22:39:41 +00:00 committed by Gerrit Code Review
commit 77be568b5e
1 changed files with 1 additions and 1 deletions

View File

@ -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)