diff options
author | Zaina Afoulki <zenetcontact@gmail.com> | 2013-08-21 17:14:23 -0500 |
---|---|---|
committer | Zaina Afoulki <zenetcontact@gmail.com> | 2013-08-22 16:09:09 -0500 |
commit | 1df56a5c4a5c3bf05603f69e8f2a2163d471bc33 (patch) | |
tree | ea447f696108ef387d36c01299398d0dab727706 /plugins | |
parent | 0ee03b07305d7d0e6c910579e8c66d53741cf9c0 (diff) | |
download | nova-1df56a5c4a5c3bf05603f69e8f2a2163d471bc33.tar.gz |
Adds Instance UUID to rsync debug logging
This commit adds the instance uuid to the rsync debug output in
the debug logs. The issue we were seeing is that when multiple
migrations are ongoing at the same time, it's not easy to
track the rsync progress of each migration.
Fixes: bug #1215629
Change-Id: Iec662bdc0aed1c6f54ecaa062335dc5504ac030f
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/migration | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration index 02f6c2a54a..bf5af304a9 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration @@ -55,7 +55,7 @@ def _rsync_vhds(instance_uuid, host, staging_path, user="root"): rsync_progress = rsync_proc.stdout.readline() if not rsync_progress: break - logging.debug(rsync_progress) + logging.debug("[%s] %s" % (instance_uuid, rsync_progress)) utils.finish_subprocess(rsync_proc, rsync_cmd) |