Francesco Romani has uploaded a new change for review.

Change subject: caps: report malfunctioning libvirt version
......................................................................

caps: report malfunctioning libvirt version

the fix applied in commit 6c6da596336d6cc1ff121057877ac6ab1f00f147
can be a source of confusion for users which expect
a Fedora 19 node is able to join a 3.4 cluster.

This patch adds log messages which briefly explain
the reason of the incompatibility and suggest a fix.

Bug-Url: https://bugzilla.redhat.com/1056918

Change-Id: I9fd62ecaabc30ccd2c5d8b8cc441de6a44b8e670
Signed-off-by: Francesco Romani <[email protected]>
---
M vdsm/caps.py
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/28/23628/1

diff --git a/vdsm/caps.py b/vdsm/caps.py
index cdab961..b27951c 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -399,6 +399,11 @@
     if hasattr(libvirt, 'VIR_MIGRATE_ABORT_ON_ERROR'):
         return dsaversion.version_info
 
+    logging.error('VIR_MIGRATE_ABORT_ON_ERROR not found in libvirt,'
+                  ' support for clusterLevel >= 3.4 is disabled.')
+    logging.error('for Fedora 19 users, please consider upgrading'
+                  ' libvirt from the virt-preview repository')
+
     from distutils.version import StrictVersion
     # Workaround: we drop the cluster 3.4+
     # compatibility when we run on top of


-- 
To view, visit http://gerrit.ovirt.org/23628
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fd62ecaabc30ccd2c5d8b8cc441de6a44b8e670
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to