tripleo-common/tripleo_common/tests/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
..
data Allow ansible_group_vars to be overriden by RoleGroupVars 2020-04-03 11:30:33 -04:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
test_config.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_glance.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_nodes.py Strictly check pm_type string 2020-05-25 13:39:31 +09:00
test_overcloudrc.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_parameters.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_passwords.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_plan.py Merge "Remove unnecessary Ceph{Admin,Mon,Mds}Key constants" 2020-05-21 16:53:46 +00:00
test_process.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_roles.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_stack_parameters.py Catch exception if servers are in error state with no bm_node attached 2020-07-03 08:05:11 +02:00
test_stack.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_swift.py Use unittest.mock instead of third party mock 2020-05-15 18:58:43 +02:00
test_template.py Merge "Use unittest.mock instead of third party mock" 2020-05-20 22:01:02 +00:00
test_time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00