Comment #2 on issue 568 by [email protected]: No Migration progress output
with qemu 1.6.0
https://code.google.com/p/ganeti/issues/detail?id=568
The output of 'info migrate' changed from
...
transferred ram: 980546 kbytes
remaining ram: 0 kbytes
total ram: 1049024 kbytes
...
in version 1.2.0
to
...
transferred ram: 61460 kbytes
throughput: 671.42 mbps
remaining ram: 358212 kbytes
total ram: 1049672 kbytes
...
in version 2.5.1.1.
This are the only versions iam running, but at least for me this patch
fixes the issue, since 'throughput' is in between 'transferred'
and 'remaining' now:
diff --git a/lib/hypervisor/hv_kvm/__init__.py
b/lib/hypervisor/hv_kvm/__init__.
index f3c1d60..44b5c16 100644
--- a/lib/hypervisor/hv_kvm/__init__.py
+++ b/lib/hypervisor/hv_kvm/__init__.py
@@ -541,7 +541,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
_MIGRATION_STATUS_RE = re.compile(r"Migration\s+status:\s+(\w+)",
re.M | re.I)
_MIGRATION_PROGRESS_RE = \
-
re.compile(r"\s*transferred\s+ram:\s+(?P<transferred>\d+)\s+kbytes\s*\n"
+
re.compile(r"\s*transferred\s+ram:\s+(?P<transferred>\d+)\s+kbytes\s*\n.*"
r"\s*remaining\s+ram:\s+(?P<remaining>\d+)\s+kbytes\s*\n"
r"\s*total\s+ram:\s+(?P<total>\d+)\s+kbytes\s*\n", re.I)
daniel
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings