kolla-ansible/ansible/roles/nova
Radosław Piliszek 345ecbf55e Refactor services' check-containers and optimise
This might fix some hidden bugs where the check tasks forgot to
include params important for the service.

We also get a nice optimisation by using a filtered loop instead
of task skipping per service with 'when'. As proven in
https://review.opendev.org/c/openstack/kolla-ansible/+/914997

This refactoring allows for further optimisation and
fixing work to proceed with much less hassle. Including getting
rid of many notify statements as the restarts are now safely handled
by check-containers. Some notifies had to stay, because of special
edge cases eg. in rolling upgrades and loadbalancer config.

One downside is we remove the little optimisation for Zun that
ignored config change for copying loopback but this is an
acceptable tradeoff considering the benefits above.

Co-Authored-By: Roman Krček <roman.krcek@tietoevry.com>
Change-Id: I855dfef33aa0f3fd1301295bb8ede3e587e7162a
Partially-Implements: blueprint performance-improvements
2024-12-01 22:16:51 +01:00
..
defaults Don't notify handlers during copy-cert 2024-12-01 22:16:25 +01:00
handlers Performance: Don't notify handlers during config 2024-12-01 22:16:38 +01:00
tasks Refactor services' check-containers and optimise 2024-12-01 22:16:51 +01:00
templates Don't notify handlers during copy-cert 2024-12-01 22:16:25 +01:00
vars Move project_name and kolla_role_name to role vars 2021-12-31 09:26:25 +00:00