Bug 888346 - "gluster volume geo-replication .. config" with an incorrect hostname for the source gives a DeprecationWarning
Summary: "gluster volume geo-replication .. config" with an incorrect hostname for the...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: pre-release
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 888352 902213
TreeView+ depends on / blocked
 
Reported: 2012-12-18 14:35 UTC by Niels de Vos
Modified: 2013-07-24 17:26 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.4.0
Clone Of:
: 888352 902213 (view as bug list)
Environment:
Last Closed: 2013-07-24 17:26:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2012-12-18 14:35:56 UTC
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.

Comment 1 Niels de Vos 2012-12-18 14:37:31 UTC
Posted as http://review.gluster.org/4328

Comment 2 Vijay Bellur 2012-12-18 22:17:49 UTC
CHANGE: http://review.gluster.org/4328 (geo-rep: do not access BaseException.message in syncdutils) merged in master by Anand Avati (avati)


Note You need to log in before you can comment on or make changes to this bug.