Twisted web client does not support IPv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
Twisted |
Unknown
|
Unknown
|
Bug Description
When I configure the default MAAS URL to an IPv6 address (e.g. http://[fd0d:1727:
The pserv.log shows errors like:
«
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
d = defer.maybeDefe
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
return _inlineCallback
File "/usr/lib/
result = g.send(result)
--- <exception caught here> ---
File "/usr/lib/
info = yield self._fetch_
File "/usr/lib/
return getPage(
File "/usr/lib/
*args, **kwargs).deferred
File "/usr/lib/
uri = _URI.fromBytes(url)
File "/usr/lib/
host, port = host.split(b':')
Logged OOPS id OOPS-199af31e45ee2462dd0c64c369e7b27f: ValueError: too many values to unpack
»
The failure happens when ClusterClientSe
Related branches
- Gavin Panella (community): Approve
-
Diff: 192 lines (+121/-1)2 files modifiedsrc/provisioningserver/rpc/clusterservice.py (+54/-0)
src/provisioningserver/rpc/tests/test_clusterservice.py (+67/-1)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Upstream bug filed as https:/ /twistedmatrix. com/trac/ ticket/ 7650