tripleo-common/tripleo_common/utils
Luca Miccini 7d2c25319b Catch exception if servers are in error state with no bm_node attached
There have been reports (rhbz#1851507) where generating the fencing
parameters fails because of one or more servers in error state, like
when a scale out operation doesn't go as planned.

This commit wraps get_by_instance_uuid in a try/except block to prevent
this from happening, skipping the node in error state and allowing
users to still get a valid fencing config for the remaining servers.

Change-Id: I397f8d641504ac2ceed36fa975cf97fac5bbb81a
2020-07-03 08:05:11 +02:00
..
locks Make upload workers faster on processing layers 2019-11-07 17:01:32 +01:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
common.py Image Uploader - get_undercloud_registry IPv6 2019-07-10 15:02:31 +02:00
config.py Merge "Move *OvercloudConfigAction functionality to utils" 2020-04-23 17:05:29 +00:00
glance.py create_or_find_kernel_and_ramdisk docstring fixes 2019-09-04 14:19:41 -04:00
image.py Make upload workers faster on processing layers 2019-11-07 17:01:32 +01:00
keystone.py nova-less-deploy: deploy_instances and undeploy_instances workflows 2019-01-16 12:41:42 +01:00
nodes.py Catch exception if servers are in error state with no bm_node attached 2020-07-03 08:05:11 +02:00
overcloudrc.py Move OvercloudRcAction functionality to utils 2020-04-15 10:02:27 +05:30
parameters.py Add convert_docker_params function 2019-04-10 10:02:53 -04:00
passwords.py Do not rotate CephX secrets 2020-05-24 11:55:40 +00:00
plan.py Remove Validations Mistral Workflows 2020-06-22 13:29:43 +00:00
process.py Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
roles.py linters refresh w/ afferent bugfixes 2020-05-12 10:50:20 +00:00
safe_import.py Make gitpython and eventlet work with eventlet 0.25.1 2019-10-03 10:03:45 +00:00
stack.py Change generate_ansible_inventory() arguments 2020-05-21 19:52:52 +05:30
stack_parameters.py Ensure lanplus is unset when using redfish 2020-06-22 15:43:23 +00:00
swift.py Move swift tempurl creation functionality to utils 2020-03-13 14:16:39 +05:30
tarball.py Open tarball in binary mode 2018-08-21 16:16:57 -06:00
template.py Jinja2 raise extension 2020-05-11 11:02:00 +02:00
time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00