geo-replication command gives python DeprecationWarning
Issue
Getting python warning while executing gluster volume geo-replication
with wrong hostname (vm-104x
instead of vm-104
):
# 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
Environment
- Red Hat Storage Server 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.