tripleo-common/tripleo_common/tests
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
..
actions Match hostname when doing node delete 2020-05-13 10:00:50 +00:00
fake_config Remove step_tags_to_when from config download and fix sorting 2018-01-23 16:57:17 +00:00
fake_nova Add capabilities filter for Nova 2016-03-04 15:51:33 +00:00
image Bump ceph/daemon container image to v3.2.10 2019-12-19 13:41:09 +01:00
utils Prevent duplicated hosts in overcloudrc no_proxy 2020-05-27 16:58:13 -04:00
__init__.py Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
base.py Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
test_arch.py Default to host CPU architecture if none is supplied 2017-08-05 09:11:20 +10:00
test_filters.py Add capabilities filter for Nova 2016-03-04 15:51:33 +00:00
test_inventory.py Raise exception when no IPs found 2019-10-10 10:26:37 -04:00
test_stack_update.py Prompt to clear breakpoints when using deployed-server 2017-08-02 18:05:32 -04:00
test_update.py Refresh DeployIdentifier as well on update 2016-10-14 15:12:55 -04:00
test_workflows.py Skip hidden files in test_tags_are_set 2017-11-13 10:49:13 -05:00