Change in vdsm[master]: vm: fix odd migration progress reporting

danken at redhat.com danken at redhat.com
Thu May 8 14:52:39 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vm: fix odd migration progress reporting
......................................................................


vm: fix odd migration progress reporting

migration progress should not start from 100,
otherwise the user will see smething like:

progress: 100 -> 0% ... X% ... 100%

A real-word scenario that shows the need for this patch is
the following:
If during the the initialization of migration we experience
some delay, for example DNS resolve issues, libvirt returns 0
for all the progress values, and that incorrectly triggered
the old shortcut, leading to an incorrect initial progress
value of 100.

Change-Id: Ib9d72b0b8b956d79a7f69df61f4b45048dc9443e
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/27465
Tested-by: Tomas Jelinek <tjelinek at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/virt/migration.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Verified
  Dan Kenigsberg: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9d72b0b8b956d79a7f69df61f4b45048dc9443e
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list