kolla-ansible/ansible/roles/nova-cell/tasks
Mark Goddard f1d3ff11d0 nova: improve compute service registration failure handling
If any nova compute service fails to register itself, Kolla Ansible will
fail the host that queries the Nova API. This is the first compute host
in the inventory, and fails in the task:

    Waiting for nova-compute services to register themselves

Other hosts continue, often leading to further errors later on. Clearly
this is not idea.

This change modifies the behaviour to query the compute service list
until all expected hosts are present, but does not fail the querying
host if they are not. A new task is added that executes for all hosts,
and fails only those hosts that have not registered successfully.

Alternatively, to fail all hosts in a cell when any compute service
fails to register, set nova_compute_registration_fatal to true.

Change-Id: I12c1928cf1f1fb9e28f1741e7fe4968004ea1816
Closes-Bug: #1940119
2022-03-29 11:26:44 +01:00
..
bootstrap_service.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
bootstrap_upgrade.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
bootstrap.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
cell_proxy_loadbalancer.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
check-containers.yml Add support for Debian Bullseye (11) as host distro 2021-05-30 18:40:12 +00:00
check.yml Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
clone.yml permission denied when enable_kolla_dev_mod 2020-06-07 19:36:42 +08:00
config_bootstrap.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
config-host.yml libvirt: make it possible to run libvirt on the host 2022-03-21 11:54:31 +00:00
config-libvirt-tls.yml Performance: remove one include_tasks in nova-cell 2020-08-28 16:16:56 +00:00
config-nova-fake.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
config.yml libvirt: make it possible to run libvirt on the host 2022-03-21 11:54:31 +00:00
copy-certs.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
create_cells.yml Merge "Fix nova cell message queue URL with separate notification queue" 2020-04-26 16:46:35 +00:00
deploy-containers.yml Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
deploy.yml nova: improve compute service registration failure handling 2022-03-29 11:26:44 +01:00
discover_computes.yml nova: improve compute service registration failure handling 2022-03-29 11:26:44 +01:00
external_ceph.yml libvirt: make it possible to run libvirt on the host 2022-03-21 11:54:31 +00:00
get_cell_settings.yml Fix nova compute addition with limit 2020-04-14 19:36:49 +00:00
libvirt-cleanup.yml libvirt: add nova-libvirt-cleanup command 2022-03-21 11:54:54 +00:00
loadbalancer.yml Fix freezed spice console in horizon 2021-08-02 09:55:46 +02:00
main.yml Revert "Performance: Use import_tasks in the main plays" 2020-12-14 10:36:55 +00:00
online_data_migrations.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
precheck.yml libvirt: make it possible to run libvirt on the host 2022-03-21 11:54:31 +00:00
proxy_loadbalancer.yml Support multiple nova cells 2019-10-16 17:42:36 +00:00
pull.yml Refactor and optimise image pulling 2021-08-10 11:57:54 +00:00
rabbitmq.yml Fix nova deployment failure when rabbitmq is disabled 2021-07-27 22:07:08 +08:00
reconfigure.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
reload.yml Trivial fix nova's healthchecks 2021-08-12 13:39:50 +02:00
rolling_upgrade.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
wait_discover_computes.yml nova: improve compute service registration failure handling 2022-03-29 11:26:44 +01:00