Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1232036 - radosgw-agent can't use IPv6 destination
radosgw-agent can't use IPv6 destination
Status: CLOSED CURRENTRELEASE
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
1.3.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 1.3.3
Assigned To: Alfredo Deza
ceph-qe-bugs
: Rebase
Depends On:
Blocks: 1230323 ceph131rn
  Show dependency treegraph
 
Reported: 2015-06-15 18:57 EDT by Yehuda Sadeh
Modified: 2017-07-30 12:04 EDT (History)
11 users (show)

See Also:
Fixed In Version: radosgw-agent-1.2.3-1.el7cp
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-29 18:18:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 12030 None None None Never

  None (edit)
Description Yehuda Sadeh 2015-06-15 18:57:23 EDT
Description of problem:

Cannot specify IPv6 destination in radosgw-agent. 

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Specify IPv6 address as the radosgw-agent destination, e.g.:


$ radosgw-agent  --src-access-key ... --src-secret-key ... --dest-access-key ... --dest-secret-key ... http://[1235:56:0:70:5:ffff:4:1234]

Actual results:
Fails:
2015-06-15 15:57:29,965 873 [radosgw_agent][ERROR ] NetworkError: unable to connect to [1235:56:0:70:5:ffff:4:1234] [Errno 22] Invalid argument


Expected results:
Should not fails

Additional info:
Comment 2 Federico Lucifredi 2015-06-15 20:14:30 EDT
Document in release notes.

Workaround: specifying a host name with and associated ipv6 address should work.
Comment 4 Alfredo Deza 2015-06-18 11:03:24 EDT
We will also need to drop Python 2.6 support because urlparse does not support IPV6 in 2.6
Comment 5 Ken Dreyer (Red Hat) 2015-06-22 11:32:23 EDT
(In reply to Alfredo Deza from comment #4)
> We will also need to drop Python 2.6 support because urlparse does not
> support IPV6 in 2.6

From a 1.3 product perspective, this is fine. RHEL 7 ships Python 2.7.5, and Ubuntu Trusty ships Python 2.7.6. And those are the only platforms that 1.3.0 supports.
Comment 6 Alfredo Deza 2015-06-23 15:31:15 EDT
We are now issuing a warning only that this will not work in Python 2.6 and that hostnames should be a fine workaround.

Pull request with changes at https://github.com/ceph/radosgw-agent/pull/31
Comment 7 Alfredo Deza 2015-07-06 09:58:55 EDT
merged commit 1afb6e0 into master
Comment 8 Ken Dreyer (Red Hat) 2015-07-14 16:32:21 EDT
I think we should tag and release a new version upstream with these changes.

Alfredo, Yehuda, should we go with "v1.3" ?
Comment 9 Alfredo Deza 2015-07-15 11:36:24 EDT
the currently released version is 1.2.2, this was a minor bugfix (no functionality was added), would you object to 1.2.3 ? 

I can get this built/pushed today.
Comment 10 Ken Dreyer (Red Hat) 2015-07-15 11:37:37 EDT
(In reply to Alfredo Deza from comment #9)
> the currently released version is 1.2.2, this was a minor bugfix (no
> functionality was added), would you object to 1.2.3 ? 

No objection - that would be excellent.
Comment 11 Alfredo Deza 2015-07-15 13:03:50 EDT
1.2.3 has been released both to PyPI (https://pypi.python.org/pypi/radosgw-agent) and the ceph package repos.
Comment 15 Federico Lucifredi 2015-11-04 13:09:22 EST
Moving to 1.3.2.
Comment 23 Ken Dreyer (Red Hat) 2016-09-29 18:18:43 EDT
We believe this to be fixed in the latest version of the RHCS 1.3 product; closing.

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