tripleo-common/tripleo_common/utils
Emilien Macchi 272bd17c30 config: ignore missing server_id from the stack
When blacklisting nodes on the overcloud, we don't want to generated
a configuration with these servers.
This patch ignore the server when server_id can't be found in the stack
when generating the configuration of the overcloud.
A warning is shown so the operator knows this server isn't part of the
configuration, probably due to blacklisting.
If getting the server name fails for another reason than a KeyError,
we fail the configuration generation and raise an exception with the
error message.

Change-Id: Ie7660894050e5eca251aaf8c10f0cc7e7d837dfc
Closes-Bug: #1793605
2018-09-21 22:39:15 -04:00
..
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
config.py config: ignore missing server_id from the stack 2018-09-21 22:39:15 -04:00
glance.py Accept glance image ID in addition to name 2017-10-24 15:22:03 -04:00
keystone.py Use keystone group for loading auth params 2018-07-30 18:44:19 +00:00
nodes.py Do not require username/password when enrolling Redfish nodes 2018-08-24 23:47:56 +00:00
overcloudrc.py Drop version from OS_AUTH_URL 2018-08-24 21:11:32 +00:00
parameters.py Derive Params (part 1): Initial workflow to start 2017-06-09 03:57:56 -04:00
passwords.py Generate rndc key in password list 2018-07-16 21:12:06 +00:00
plan.py Fixes ordering of environment files in a deployment plan 2018-06-29 10:48:04 -04:00
roles.py Allow networks in roles_data to be dict or list 2018-09-04 18:58:15 +02:00
swift.py Revert "Use swift bulk-delete when deleting a plan" 2018-09-10 21:06:50 +00:00
tarball.py Open tarball in binary mode 2018-08-21 16:16:57 -06:00
time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
validations.py Add support for custom validations 2018-08-10 11:21:29 +02:00