[Python-modules-team] Bug#971530: dnspython 2.x breaks all of OpenStack

2021-08-24 Thread Filippo Giunchedi
On Tue, Jun 01, 2021 at 10:30:38AM +, Filippo Giunchedi wrote:
> Hello,
> 
> On Thu, May 27, 2021 at 04:10:32PM +0200, Thomas Goirand wrote:
> > Hi,
> > 
> > Well, Eventlet itself works. DNSPython itself works too. Just the 2
> > together (ie: resolving with eventlet greedns) doesn't work. This
> > doesn't make any of the packages completely broken and unuseable (so
> > it's not RC), this is just a bug that should be fixed.
> 
> I disagree in the sense that I don't think the package(s) currently are fit 
> for
> release, but it isn't my call either.
> 
> > FYI, since some fixes in Eventlet, OpenStack now works... Though the
> > Eventlet greendns API shall still be fixed.
> 
> Do you have pointers to these fixes I could look at? I ran into this bug while
> testing Swift on Bullseye, specifically container-reconciler + 
> memcache_servers
> with hostnames doesn't seem to work for me (while using ip addresses does 
> work).

For the record I haven't seen the eventlet greendns fixes you mentioned, and
swift-dispersion-report is also broken in Bullseye due to this bug (cfr
#989600)

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#971530: dnspython 2.x breaks all of OpenStack

2021-06-08 Thread Filippo Giunchedi
On Tue, Jun 01, 2021 at 10:30:38AM +, Filippo Giunchedi wrote:
> Do you have pointers to these fixes I could look at? I ran into this bug while
> testing Swift on Bullseye, specifically container-reconciler + 
> memcache_servers
> with hostnames doesn't seem to work for me (while using ip addresses does 
> work).

FTR the specific bug for swift is now #989600

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#971530: dnspython 2.x breaks all of OpenStack

2021-06-01 Thread Filippo Giunchedi
Hello,

On Thu, May 27, 2021 at 04:10:32PM +0200, Thomas Goirand wrote:
> Hi,
> 
> Well, Eventlet itself works. DNSPython itself works too. Just the 2
> together (ie: resolving with eventlet greedns) doesn't work. This
> doesn't make any of the packages completely broken and unuseable (so
> it's not RC), this is just a bug that should be fixed.

I disagree in the sense that I don't think the package(s) currently are fit for
release, but it isn't my call either.

> FYI, since some fixes in Eventlet, OpenStack now works... Though the
> Eventlet greendns API shall still be fixed.

Do you have pointers to these fixes I could look at? I ran into this bug while
testing Swift on Bullseye, specifically container-reconciler + memcache_servers
with hostnames doesn't seem to work for me (while using ip addresses does work).

best,
Filippo

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#971530: dnspython 2.x breaks all of OpenStack

2021-05-26 Thread Filippo Giunchedi
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 "", line 1, in 
  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

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team