RETIRED, python utility to manage a tripleo based cloud
Go to file
Jose Luis Franco Arza 5e40c70793 Remove extra whitespaces from getent.
The UndercloudHostsEntries heat parameter gets its value set from the
execution of getent hosts <undercloud_short_hostname>.ctrlplane. However,
the execution of getent return extra 4 whitespaces between the IP and the
hostname:
(undercloud) [stack@undercloud-0 ~]$ getent hosts undercloud-0.ctlplane
192.168.24.1    undercloud-0.ctlplane.redhat.local undercloud-0.ctlplane

This four spaces enter in conflict with the entries at /etc/hosts if we
want to use lineinfile to update the content. As it /ect/hosts already
includes an entry for the undercloud-0.ctlplane (with a single space only)
the Ansible module will consider that the line isn't present and we will
end up with two entries for the undercloud-0.ctlplane.

Also, the process.communicate() output return is in bytes, so in order
to handle a string for the replacement this patch casts the output into
string.

Change-Id: Ibb51d5970f993b13a9684173704f64b98d81aae2
Related-Bug: #1863598
(cherry picked from commit 70d9d309ce)
2020-02-28 15:13:52 +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 Revert "Added for support for generating overcloud clouds.yaml" 2020-02-15 18:39:06 +00:00
tripleoclient Remove extra whitespaces from getent. 2020-02-28 15:13:52 +00:00
zuul.d Make containerized-undercloud-upgrades vote on train 2019-12-02 14:12:53 +02: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 Set policycoreutils package name for RHEL/CentOS 8 2019-09-09 10:18:58 +00:00
lower-constraints.txt Switch to use process executor 2019-11-25 10:30:22 +01:00
requirements.txt Switch to use process executor 2019-11-25 10:30:22 +01:00
setup.cfg TripleO Validator CLI Refactor 2019-12-17 08:45:16 +00:00
setup.py Updated from global requirements 2017-03-07 02:06:19 +00:00
test-requirements.txt Merge "Update hacking version" 2019-01-17 18:09:31 +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