Bug 888346
| Summary: | "gluster volume geo-replication .. config" with an incorrect hostname for the source gives a DeprecationWarning | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Niels de Vos <ndevos> | |
| Component: | geo-replication | Assignee: | Niels de Vos <ndevos> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | pre-release | CC: | gluster-bugs | |
| Target Milestone: | --- | Keywords: | Patch | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 888352 902213 (view as bug list) | Environment: | ||
| Last Closed: | 2013-07-24 17:26:05 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 888352, 902213 | |||
Posted as http://review.gluster.org/4328 CHANGE: http://review.gluster.org/4328 (geo-rep: do not access BaseException.message in syncdutils) merged in master by Anand Avati (avati) |
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.