← Back to team overview

registry team mailing list archive

[Bug 659445] [NEW] Swift Backend URL parser breaks with Python 2.6.1

 

Public bug reported:

The Swift URL method `parse_swift_tokens` breaks in Python 2.6.1 but
works in 2.6.5.

Python 2.6.1's urlparse library was not RFC 3986 compliant which caused
it to erroneously assign netloc to path for unrecognized schemes. Python
2.6.5 ditches the concept of known schemes and just uses :// as the
indicator of where the netloc begins.

The relevant Python issue and patch are:
http://bugs.python.org/issue7904
http://svn.python.org/view/python/branches/release26-maint/Lib/urlparse.py?r1=66717&r2=78235

Since 2.6.1 is out in the wild, we probably need to work around this for
the time being.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
Swift Backend URL parser breaks with Python 2.6.1
https://bugs.launchpad.net/bugs/659445
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References