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 <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/27465
Tested-by: Tomas Jelinek <[email protected]>
Reviewed-by: Dan Kenigsberg <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to