tripleo-ansible/tripleo_ansible/tests/modules
Steve Baker be0c1dd6af Reimplement os_tripleo_baremetal_node_introspection
Triggering introspection via the introspection API is discouraged when
also using the Ironic API, because Ironic will be out of sync with
introspection state. This is suspected to be causing occasional errors
in CI and with end users.

This module was one of the very first to be converted from mistral, so
hasn't benefited from the concurrency and logging patterns in later
modules.

The internal implementation of this module has been rewritten, and now
does the following:

- Concurrency uses a ThreadPoolExecutor instead of a custom pool with
  async calls
- Waiting for state changes uses existing openstacksdk wait functions
- Logging ends up in a 'logging' result value instead of calling
  module.log which ansible does not pass back to the caller
- Introspection is triggered by setting the node provision state to
  'inspect'
- Node is powered off after a successful introspection
- Auth configuration relies on environment, as for other modules
- Debug tasks are added to the playbook to print the logging

This was reverted previously due to a 50% failure rate in the periodic
featureset001, the locking interaction between inspector and ironic
has now been fixed so the root cause of these failures is now
resolved.

Change-Id: I24eb7014cc657f50be63767af439208eb854dfb6
Closes-Bug: 1903786
(cherry picked from commit e54faf1e10)
2021-09-29 16:52:13 +13:00
..
__init__.py Add module "container_puppet_config" 2020-02-06 18:00:52 +00:00
test_ceph_mkspec.py Deploy RGW, MDS, Ganesha and Ceph Dashboard using cephadm 2021-03-12 10:20:07 +01:00
test_ceph_spec_bootstrap.py Make sure the _admin label is present on mons 2021-06-22 14:58:54 +00:00
test_container_config_data.py Creates container_config_data module 2020-03-04 09:57:38 -05:00
test_container_puppet_config.py Add module "container_puppet_config" 2020-02-06 18:00:52 +00:00
test_derive_hci_parameters.py Add CephHciOsdCount/CephHciOsdType to tripleo_derive_hci_parameters 2021-05-19 18:36:18 +00:00
test_lvm2_physical_devices_facts.py Add tripleo-lvmfilter role to restrict visible block devices for LVM2 2020-10-13 22:22:46 +02:00
test_network_data_v2.py Don't pass None to neutron for ipv6_address_mode/ipv6_ra_mode 2021-08-24 10:47:13 +00:00
test_network_populate_environment.py Use name_lower for network resource name 2020-11-20 21:28:07 +01:00
test_os_tripleo_baremetal_node_introspection.py Reimplement os_tripleo_baremetal_node_introspection 2021-09-29 16:52:13 +13:00
test_tripleo_composable_network.py Don't pass None to neutron for ipv6_address_mode/ipv6_ra_mode 2021-08-24 10:47:13 +00:00
test_tripleo_deploy_artifacts.py Fix the order of arguments to tar 2020-11-25 12:58:42 +01:00
test_tripleo_diff_exec.py Use unittest.mock instead of mock 2020-09-18 14:43:16 +08:00
test_tripleo_findif_for_ip.py Add tripleo_findif_for_ip ansible module 2021-06-21 16:13:22 -02:30
test_tripleo_generate_inventory_network_config.py Remove stack_action for os-net-config 2021-09-27 15:07:28 +00:00
test_tripleo_get_dpdk_core_list.py OvS DPDK and SRIOV derive parameters 2020-09-11 20:01:04 +05:30
test_tripleo_get_dpdk_nics_numa_info.py OvS DPDK and SRIOV derive parameters 2020-09-11 20:01:04 +05:30
test_tripleo_get_dpdk_socket_memory.py OvS DPDK and SRIOV derive parameters 2020-09-11 20:01:04 +05:30
test_tripleo_get_host_cpus.py OvS DPDK and SRIOV derive parameters 2020-09-11 20:01:04 +05:30
test_tripleo_list_overclouds.py Use unittest.mock instead of mock 2020-09-18 14:43:16 +08:00
test_tripleo_network_ports_populate_environment.py Add option to set template paths in env population 2021-07-02 05:56:11 +00:00
test_tripleo_os_net_config_mappings.py Use unittest.mock instead of mock 2020-09-18 14:43:16 +08:00
test_tripleo_overcloud_network_extract.py Refactor - move common methods to utils module 2021-03-30 12:16:49 +02:00
test_tripleo_overcloud_network_ports.py Fix network-v2 node port idempotency 2021-05-21 06:47:26 +00:00
test_tripleo_overcloud_network_vip_extract.py Add module and cli to extract net VIPs 2021-04-08 10:49:36 +02:00
test_tripleo_overcloud_network_vip_populate_env.py Add option to set template paths in env population 2021-07-02 05:56:11 +00:00
test_tripleo_overcloud_network_vip_provision.py Delete network VIPs on stack delete 2021-06-29 21:53:11 +00:00
test_tripleo_ovn_mac_addresses.py OVN mac address ports ansible module 2021-04-06 15:34:12 +02:00
test_tripleo_service_vip.py Delete service_vips before deleting stack 2021-04-22 19:27:50 +05:30
test_tripleo_unmanaged_populate_environment.py Provision workflow managed/unmanaged node support 2020-12-18 07:46:10 +01:00