Francesco Romani has submitted this change and it was merged.
Change subject: virt: Don't crash in migration progress on compression bytes ......................................................................
virt: Don't crash in migration progress on compression bytes
If compression is not enabled for a migration then compression stats are not provided by libvirt. So when we try to retrieve them in migration Progress, we must not expect their presence, otherwise we crash there.
Backport-To: 4.0 Bug-Url: https://bugzilla.redhat.com/1380822 Change-Id: I1885940843d705ead161c13258f1979025a03873 Signed-off-by: Milan Zamazal mzamazal@redhat.com Reviewed-on: https://gerrit.ovirt.org/64468 Reviewed-by: Michal Skrivanek michal.skrivanek@redhat.com Continuous-Integration: Jenkins CI Reviewed-by: Francesco Romani fromani@redhat.com Reviewed-on: https://gerrit.ovirt.org/64499 Reviewed-on: https://gerrit.ovirt.org/65306 Tested-by: Francesco Romani fromani@redhat.com Continuous-Integration: Francesco Romani fromani@redhat.com --- M vdsm/virt/migration.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Francesco Romani: Verified; Looks good to me, approved; Passed CI tests