Change in vdsm[master]: v2v: import abort/done status fix
shavivi at redhat.com
shavivi at redhat.com
Thu Aug 6 08:45:17 UTC 2015
Shahar Havivi has uploaded a new change for review.
Change subject: v2v: import abort/done status fix
......................................................................
v2v: import abort/done status fix
when importing is done need to check if the user aborted, if so no
need to change the job status to done.
Change-Id: I6fc3febe19a9602df63fa414edf7446a02416c66
Signed-off-by: Shahar Havivi <shaharh at redhat.com>
---
M vdsm/v2v.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/70/44470/1
diff --git a/vdsm/v2v.py b/vdsm/v2v.py
index e1546e5..3ee0005 100644
--- a/vdsm/v2v.py
+++ b/vdsm/v2v.py
@@ -382,7 +382,8 @@
self._proc.stderr.read(1024)))
logging.info('Job %r finished import successfully', self._id)
- self._status = STATUS.DONE
+ if self._status != STATUS.ABORTED:
+ self._status = STATUS.DONE
def _execution_environments(self):
env = {'LIBGUESTFS_BACKEND': 'direct'}
--
To view, visit https://gerrit.ovirt.org/44470
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fc3febe19a9602df63fa414edf7446a02416c66
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
More information about the vdsm-patches
mailing list