Mark Wu has uploaded a new change for review.

Change subject: Update error code of migrateToURI2() on abortJob()
......................................................................

Update error code of migrateToURI2() on abortJob()

Before migrateToURI2() just returned a generl error 
code(VIR_ERR_OPERATION_FAILED)
if the mirgration job was cancelled by client. We have to search the error 
message
to distinguish abort from other failures. It has been fixed in 
libvirt-0.9.9-1.el6
by introducing a new error code VIR_ERR_OPERATION_ABORTED. Please see
https://bugzilla.redhat.com/show_bug.cgi?id=760149 for more details.

I also found the error message 'canceled by client' could be returned only on
migrateToURI2(). It shouldn't happen on abortJob(), so remove it.

Change-Id: I10b7bfbe2c9eb86c601e180d0a45027434703cf4
Signed-off-by: Mark Wu <[email protected]>
---
M vdsm/libvirtvm.py
M vdsm/vm.py
2 files changed, 3 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/6141/1
--
To view, visit http://gerrit.ovirt.org/6141
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I10b7bfbe2c9eb86c601e180d0a45027434703cf4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to