Change in vdsm[master]: RFE: Report downtime for each live migration
shavivi at redhat.com
shavivi at redhat.com
Tue May 26 07:05:22 UTC 2015
Shahar Havivi has uploaded a new change for review.
Change subject: RFE: Report downtime for each live migration
......................................................................
RFE: Report downtime for each live migration
Migration.py returning donwtime_net instead of downtime.
downtime returns actual vm downtime but the hosts need to be in sync,
downtime_net return the same but don't need the hosts to be in sync.
Change-Id: Ie1cf80f5d41dadc95b814ea567e5c313ac6f25e2
Bug-Url: https://bugzilla.redhat.com/970711
Signed-off-by: Shahar Havivi <shaharh at redhat.com>
---
M vdsm/virt/migration.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/15/41415/1
diff --git a/vdsm/virt/migration.py b/vdsm/virt/migration.py
index cbebed7..de5a011 100644
--- a/vdsm/virt/migration.py
+++ b/vdsm/virt/migration.py
@@ -100,8 +100,8 @@
self.status['progress'] = self._progress
stat = self._vm._dom.jobStats(libvirt.VIR_DOMAIN_JOB_STATS_COMPLETED)
- if 'downtime' in stat:
- self.status['downtime'] = stat['downtime']
+ if 'downtime_net' in stat:
+ self.status['downtime'] = stat['downtime_net']
return self.status
--
To view, visit https://gerrit.ovirt.org/41415
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1cf80f5d41dadc95b814ea567e5c313ac6f25e2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
More information about the vdsm-patches
mailing list