Bug 1788575 - [RHOSP 16] hosts-config.sh reports Argument list too long (THT)
Summary: [RHOSP 16] hosts-config.sh reports Argument list too long (THT)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 16.0 (Train on RHEL 8.1)
Assignee: Luke Short
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-07 14:33 UTC by Luke Short
Modified: 2020-02-06 14:44 UTC (History)
2 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:44:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1856076 0 None None None 2020-01-07 14:36:01 UTC
OpenStack gerrit 700453 0 None MERGED Use ansible for hosts entries 2020-02-10 14:44:35 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:44:31 UTC

Description Luke Short 2020-01-07 14:33:52 UTC
Description of problem:
The /etc/hosts file fails to be populated on a large scale out of Overcloud nodes.

Version-Release number of selected component (if applicable):
RHOSP 16 <= 2019-01-06

How reproducible:
100%

Steps to Reproduce:
1. Deploy an Overcloud with 400+ nodes
2. The deploy will fail to create the /etc/hosts file on the Overcloud nodes.

Actual results:
A large list of host entries is passed as an environment variable to Bash. This leads to an "Argument list too long" error.

Expected results:
This should be handled by Ansible to prevent this issue. The hosts file should also ideally only be rendered once.

Additional info:
Upstream bug = https://bugs.launchpad.net/tripleo/+bug/1856076

Comment 4 Jad Haj Yahya 2020-01-20 14:26:25 UTC
Verified on RHOS_TRUNK-16.0-RHEL-8-20200113.n.0 according to steps above

Comment 6 errata-xmlrpc 2020-02-06 14:44:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:0283


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