tripleo-common/tripleo_common/tests/utils
Takashi Kajinami 61f9c77bab 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-04-20 10:48:51 +09:00
..
data Allow ansible_group_vars to be overriden by RoleGroupVars 2020-04-06 14:13:46 +00:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
test_config.py utils/config: allows a when to have boolean conditions 2020-04-16 19:01:35 +00:00
test_glance.py Rework create_or_find_kernel_and_ramdisk to match the current reality 2019-06-07 13:08:35 +02:00
test_nodes.py Remove support for enrolling nodes with Cisco hardware types 2019-08-05 20:15:56 +02:00
test_overcloudrc.py Prevent duplicated hosts in overcloudrc no_proxy 2020-04-20 10:48:51 +09:00
test_parameters.py Add convert_docker_params function 2019-04-10 10:02:53 -04:00
test_passwords.py Ensure that OctaviaServerCertsKeyPassphrase is 32-byte long 2019-07-04 00:03:44 +03:00
test_plan.py Fix environments sorting 2018-12-03 18:02:21 +01:00
test_process.py Support for Buildah in kolla_builder 2019-02-14 13:34:51 +00:00
test_roles.py Use Timesync service instead of Ntp 2018-10-11 10:18:02 +00:00
test_swift.py Handle swift interactions are strings as necessary 2019-03-01 15:45:56 -07:00
test_time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
test_validations.py Processing available Ansible variables as 'parameters' not as 'metadata' 2019-07-08 13:02:31 +02:00