61f9c77bab
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
|
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
test_config.py | ||
test_glance.py | ||
test_nodes.py | ||
test_overcloudrc.py | ||
test_parameters.py | ||
test_passwords.py | ||
test_plan.py | ||
test_process.py | ||
test_roles.py | ||
test_swift.py | ||
test_time_functions.py | ||
test_validations.py |