[Python-modules-team] Bug#971530: dnspython 2.x breaks all of OpenStack
Filippo Giunchedi
filippo at debian.org
Wed May 26 13:57:52 BST 2021
On Thu, Oct 01, 2020 at 12:15 PM, Thomas Goirand wrote:
> Package: python3-dnspython
> Version: 2.0.0-1
> Severity: important
>
> Hi,
>
> I'm sending this just to let you know that dnspython broke Eventlet,
> which is unfortunately the base of many OpenStack stuff. As a
> consequence, the websocket of Nova is broken over SSL, and many
> other stuff, due to the API change in dnspython.
>
> I'm sending this as only severity: important, though I was considering
> a higher severity. I'd like to first discuss the mater with the
> maintainers of dnspython.
I very much think this bug should be RC: unless I'm missing something the
code below doesn't work but should:
$ python3 -c 'from eventlet.green import socket ; print(socket.getaddrinfo("debian.org", 443))'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 435, in resolve
return _proxy.query(name, rdtype, raise_on_no_answer=raises,
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 391, in query
return end()
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 370, in end
raise result[1]
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 351, in step
a = fun(*args, **kwargs)
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1089, in query
return self.resolve(qname, rdtype, rdclass, tcp, source,
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1043, in resolve
timeout = self._compute_timeout(start, lifetime)
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 950, in _compute_timeout
raise Timeout(timeout=duration)
dns.exception.Timeout: The DNS operation timed out after 5.107415199279785 seconds
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 528, in getaddrinfo
qname, addrs = _getaddrinfo_lookup(host, family, flags)
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 501, in _getaddrinfo_lookup
raise err
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 490, in _getaddrinfo_lookup
answer = resolve(host, qfamily, False, use_network=use_network)
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 443, in resolve
raise EAI_EAGAIN_ERROR
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 490, in _getaddrinfo_lookup
answer = resolve(host, qfamily, False, use_network=use_network)
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 443, in resolve
raise EAI_EAGAIN_ERROR
socket.gaierror: [Errno -3] Lookup timed out
More information about the Python-modules-team
mailing list