tripleo-common/tripleo_common/tests/utils
Takashi Kajinami 7901b1fe85 Prevent duplicated hosts in overcloudrc no_proxy
When an operator runs `source overcloudrc` then `source stackrc`,
ENV['no_proxy'] keep having overcloud information because stackrc
doesn't include no_proxy line.
If they runs deploy commands like overcloud deploy with that situation,
the command is executed with ENV['no_proxy'] including overcloud hosts.
This generates overcloudrc with duplicated host in no_proxy line,
because no_proxy in overcloudrc is generated by joining ENV['no_proxy']
and rquired overcloud hosts.

This patch makes sure that duplicated hosts are removed before they get
dumped into no_proxy parameter.

Change-Id: I94934ae7631100d20a9e2e72e348f26bd595a3c5
Closes-Bug: #1870017
(cherry picked from commit 4ae8eb070e)
2020-05-27 16:58:13 -04:00
..
data Clean up host var for pre/post deployment 2019-09-06 11:19:40 -04:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
test_config.py Warn when looking up grandparent resource name 2019-10-03 17:33:46 -04:00
test_glance.py Import code working with Ironic nodes from os_cloud_config 2016-03-21 16:53:49 +00:00
test_nodes.py Allow platform in instackenv.json 2019-07-16 12:02:24 -05:00
test_overcloudrc.py Prevent duplicated hosts in overcloudrc no_proxy 2020-05-27 16:58:13 -04:00
test_parameters.py Derive Params (part 1): Initial workflow to start 2017-06-09 03:57:56 -04:00
test_passwords.py Ensure that OctaviaServerCertsKeyPassphrase is 32-byte long 2019-07-29 15:09:45 +03:00
test_plan.py Fixes ordering of environment files in a deployment plan 2018-07-12 11:26:36 -04:00
test_roles.py Adds UpdateRoles Workflow 2018-01-26 14:27:43 -05:00
test_swift.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
test_time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
test_validations.py Fix chown command for tripleo validation. 2017-11-22 15:09:08 +00:00