Red Hat Bugzilla – Bug 902213
"gluster volume geo-replication .. config" with an incorrect hostname for the source gives a DeprecationWarning
Last modified: 2014-08-24 20:50:01 EDT
+++ This bug was initially created as a clone of Bug #888346 +++
Description of problem:
# gluster volume geo-replication source ssh://root@vm-104x::target config
/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py:175: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
sys.stderr.write('failure: ' + exc.message + "\n")
failure: failed to resolve vm-104x: Name or service not known
geo-replication command failed
The hostname is incorrect, and "Name or service not known" should be displayed without the DeprecationWarning.
--- Additional comment from Niels de Vos on 2012-12-18 09:37:31 EST ---
Posted as http://review.gluster.org/4328
--- Additional comment from Vijay Bellur on 2012-12-18 17:17:49 EST ---
CHANGE: http://review.gluster.org/4328 (geo-rep: do not access BaseException.message in syncdutils) merged in master by Anand Avati (firstname.lastname@example.org)
Per 02/18 program call, agreed to target for Anshi release.
*** Bug 885586 has been marked as a duplicate of this bug. ***
*** Bug 888352 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.