Bug 1599787 - 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: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: zstream
: ---
Assignee: RHOS Maint
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1599766 1607962
Blocks: 1599784 1599789
TreeView+ depends on / blocked
 
Reported: 2018-07-10 15:17 UTC by Daniel Alvarez Sanchez
Modified: 2018-08-03 13:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1599766
: 1599789 (view as bug list)
Environment:
Last Closed: 2018-07-10 15:19:54 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 2018-07-10 15:17:37 UTC
Launchpad 1780992 0 None None None 2018-07-10 15:17:37 UTC

Description Daniel Alvarez Sanchez 2018-07-10 15:17:38 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 OSP11.


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