tripleo-common/tripleo_common
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
..
actions Merge "Remove Validations Mistral Workflows" 2020-06-23 11:44:13 +00:00
filters Add logging to capabilities filter 2017-09-20 17:50:42 +00:00
image Enhance error messages when building containers 2020-05-18 12:10:57 -05:00
releasenotes/notes Wire in parameters.convert_docker_params 2019-04-10 13:25:39 -04:00
templates Fix dry-run for "remote copy deployment file" task 2020-05-20 16:02:44 -04:00
tests Catch exception if servers are in error state with no bm_node attached 2020-07-03 08:05:11 +02:00
utils Catch exception if servers are in error state with no bm_node attached 2020-07-03 08:05:11 +02:00
__init__.py Add ReNo support 2017-01-12 12:06:02 +00:00
arch.py Default to host CPU architecture if none is supplied 2017-08-05 09:11:20 +10:00
constants.py Do not rotate CephX secrets 2020-05-24 11:55:40 +00:00
exception.py Fail config-download when group:os-apply-config used 2018-01-05 15:58:14 -05:00
i18n.py Update the documentation link for doc migration 2017-07-25 15:00:27 +08:00
inventories.py Include uc plan var when TripleoInventories contains a single plan 2020-04-09 21:21:13 +01:00
inventory.py Set undercloud ansible_connection to local 2020-06-22 15:07:49 +00:00
update.py Handle failed neutron-plugin-ml2.yaml lookup 2019-05-13 09:58:28 -04:00