virt-v2v/0004-o-rhv-upload-clarify-debug-message.patch
Richard W.M. Jones 1d87979efe Fix RHV JSON transfer bug
resolves: RHEL-32105
2024-04-08 16:00:57 +01:00

25 lines
982 B
Diff

From d8f09872a694836edce4685c605c09ba5ece9c31 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 5 Apr 2024 21:52:48 +0100
Subject: [PATCH] -o rhv-upload: clarify debug message
Thanks: Nir Soffer
Related: https://github.com/libguestfs/virt-v2v/issues/46
---
output/rhv-upload-transfer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/output/rhv-upload-transfer.py b/output/rhv-upload-transfer.py
index 1504b076..7530f73e 100644
--- a/output/rhv-upload-transfer.py
+++ b/output/rhv-upload-transfer.py
@@ -45,7 +45,7 @@ def find_host(connection):
vdsm_id = f.readline().strip()
except Exception as e:
# This is most likely not an oVirt host.
- debug("cannot read /etc/vdsm/vdsm.id, using any host: %s" % e)
+ debug("cannot read /etc/vdsm/vdsm.id, not running on an ovirt host [this is not an error]: original exception: %s" % e)
return None
debug("hw_id = %r" % vdsm_id)