Bug 1232036 - radosgw-agent can't use IPv6 destination
Summary: radosgw-agent can't use IPv6 destination
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 1.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.3
Assignee: Alfredo Deza
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1230323 ceph131rn
TreeView+ depends on / blocked
 
Reported: 2015-06-15 22:57 UTC by Yehuda Sadeh
Modified: 2022-02-21 18:14 UTC (History)
11 users (show)

Fixed In Version: radosgw-agent-1.2.3-1.el7cp
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 22:18:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 12030 0 None None None Never
Red Hat Issue Tracker RHCEPH-3280 0 None None None 2022-02-21 18:14:38 UTC

Description Yehuda Sadeh 2015-06-15 22:57:23 UTC
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-16 00:14:30 UTC
Document in release notes.

Workaround: specifying a host name with and associated ipv6 address should work.

Comment 4 Alfredo Deza 2015-06-18 15:03:24 UTC
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 15:32:23 UTC
(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 19:31:15 UTC
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 13:58:55 UTC
merged commit 1afb6e0 into master

Comment 8 Ken Dreyer (Red Hat) 2015-07-14 20:32:21 UTC
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 15:36:24 UTC
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 15:37:37 UTC
(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 17:03:50 UTC
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 18:09:22 UTC
Moving to 1.3.2.

Comment 23 Ken Dreyer (Red Hat) 2016-09-29 22:18:43 UTC
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.