swift-object-builder can not connect to an IPv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using swift 1.10.0-
1) swift has a bug in address handling:
https:/
Instead of combining the hostname/port, simply passing each as a parameter (also on line 181) is supported. The issue with combining the two with a string as "%s:%s" % (ipaddr, port) is that IPv6 addresses also use : as a separator.
2) eventlet does not support IPv6 (yet) but there are patches in progress to add IPv6 support.
https:/
https:/
Please fix the swift code so that the upstream eventlet patches will eventually fix IPv6 support.
Hi Tim,
I've tried a bit and it looks like passing the host:port is OK on IPv6? I'm testing with conn = HTTPConnection( '::1:80' ) with the ipv6 eventlet