RETIRED, python utility to manage a tripleo based cloud
Go to file
Michele Baldessari 29686a6564 Cleanup UndercloudHostsEntries
When we update the UndercloudHostsEnries we basically
take the output of 'getent hosts "$(hostname -s).ctlplane"'
and push it into a parameter, so tripleo-ansible can
make sure it adds the hostentry for the undercloud on
the whole overcloud.

The problem is that getent hosts can return multiple
entries, which will then be injected into the parameter
and then written into /etc/hosts. This contstantly adds the
undercloud.ctlplane string and we end up adding it at
everydeploy making it grow quadratically.

This eventually leads to a too large json file and the deploys
start failing with:
    heat.common.exception.RequestLimitExceeded:
      Request limit exceeded: JSON body size (4396634 bytes)
        exceeds maximum allowed size (4194304 bytes).

Tested this by deploying an environment and then running
a few redeploys to make sure that the undercloud entries
in /etc/hosts on the undercloud itself do not grow at
each redeploy.

NB: Non 100% clean backport due to different context around imports

Change-Id: I37d75600825f48be9e15470cacba7b3a0371a3e2
Closes-Bug: #1887165
(cherry picked from commit 2873dd4df6)
(cherry picked from commit a06c7194c0)
2020-08-15 09:48:41 +00:00
config-generator Add minion installation 2019-06-21 07:44:21 -06:00
doc PDF documentation build 2019-09-11 16:33:21 +02:00
releasenotes Remove ffwd-upgrade commands from tripleoclient. 2020-07-23 14:42:10 +00:00
tripleoclient Cleanup UndercloudHostsEntries 2020-08-15 09:48:41 +00:00
zuul.d [train-only] Run tripleo-build-containers-ubi-8 under specific conditions 2020-08-11 08:34:33 -04:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:37:29 +05:30
.gitignore Add minion installation 2019-06-21 07:44:21 -06:00
.gitreview Prepare stable/train 2019-10-16 11:50:16 -04:00
.mailmap Initial commit 2015-03-17 09:33:52 -04:00
.stestr.conf Switch to stestr 2019-01-04 17:31:21 +00:00
CONTRIBUTING.rst PDF documentation build 2019-09-11 16:33:21 +02:00
LICENSE Initial commit 2015-03-17 09:33:52 -04:00
README.rst PDF documentation build 2019-09-11 16:33:21 +02:00
babel.cfg Initial commit 2015-03-17 09:33:52 -04:00
bindep.txt Add openstack tripleo container image build 2020-07-23 23:26:40 +00:00
lower-constraints.txt update constraint for tripleo-common to new release 11.4.0 2020-06-26 13:36:10 +00:00
requirements.txt update constraint for tripleo-common to new release 11.4.0 2020-06-26 13:36:10 +00:00
setup.cfg Merge "Remove ffwd-upgrade commands from tripleoclient." into stable/train 2020-08-06 13:54:34 +00:00
setup.py Updated from global requirements 2017-03-07 02:06:19 +00:00
test-requirements.txt Refactor image upload command 2020-03-04 20:56:10 +00:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-10-16 15:50:50 +00:00

README.rst

About tripleoclient

General information

tripleoclient is an OpenStackClient (OSC) plugin implementation that implements commands useful for TripleO and the install and management of both an undercloud and an overcloud.

See the TripleO Documentation for details on using tripleoclient.

See the Release Notes

Team and repository tags

image