Change in vdsm[ovirt-3.3]: Migration cancellation replies wrong message format

ybronhei at redhat.com ybronhei at redhat.com
Tue Nov 26 13:15:39 UTC 2013


Yaniv Bronhaim has submitted this change and it was merged.

Change subject: Migration cancellation replies wrong message format
......................................................................


Migration cancellation replies wrong message format

The message currently returns:

{'status': {'message': 'Migration canceled',
            'code': { 'status': { 'message': 'Migration not in progress',
                      'code': 47}}},
            'progress': 1}

The content of code is wrong. This commit fixes it so the message will
look like this:

{'status': {'message': 'Migration canceled', 'code': 47}, 'progress': 1}

Change-Id: I17a2463154e9f67191a818f137a4e7158a74dbbb
Bug-Url: https://bugzilla.redhat.com/1015887
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/21250
Reviewed-by: Michal Skrivanek <michal.skrivanek at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/21700
Tested-by: Yaniv Bronhaim <ybronhei at redhat.com>
Reviewed-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm/vm.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Yaniv Bronhaim: Verified; Looks good to me, approved
  Vinzenz Feenstra: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21700
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I17a2463154e9f67191a818f137a4e7158a74dbbb
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.3
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list