geo-replication command gives python DeprecationWarning

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content