Bug 1599789 - py-amqp will try to resolve hostnames through nameservers unless they have both IPv4 and IPv6 entries in /etc/hosts leading to timeouts
Summary: py-amqp will try to resolve hostnames through nameservers unless they have bo...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-amqp
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: zstream
: ---
Assignee: John Eckersberg
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1599766 1599787 1607962
Blocks: 1599784
TreeView+ depends on / blocked
 
Reported: 2018-07-10 15:19 UTC by Daniel Alvarez Sanchez
Modified: 2020-03-03 15:28 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1599787
Environment:
Last Closed: 2020-03-03 15:28:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github celery/py-amqp/commit/1ad97fb14c0c3c57395ca525932f95a830e51a88 0 None None None 2020-03-03 07:20:13 UTC
Launchpad 1780992 0 None None None 2018-07-10 15:19:02 UTC

Description Daniel Alvarez Sanchez 2018-07-10 15:19:03 UTC
+++ This bug was initially created as a clone of Bug #1599766 +++

Description of problem:
OSPD normally configures the controllers hostnames in /etc/hosts (IPv4) but py-amqp will try to query nameservers because there's no IPv6 entry there.

When nameservers are non-existent or unreachable, this leads to 60 seconds timeout when connecting to Rabbit.

The fix got recently merged in py-amqp:

https://github.com/celery/py-amqp/commit/1ad97fb14c0c3c57395ca525932f95a830e51a88

We would need this fix in OSP10.

Comment 1 Luca Miccini 2020-03-03 15:28:15 UTC
At this time we do not plan to backport these patches to osp10. Please reopen if this needs to be re-evaluated.
Thanks.


Note You need to log in before you can comment on or make changes to this bug.