kolla-ansible/ansible/roles/cloudkitty/tasks
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
..
bootstrap_service.yml Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
bootstrap.yml Add support for OpenSearch 2.x as CloudKitty storage backend 2024-05-16 09:07:59 +02:00
check-containers.yml Refactor services' check-containers and optimise 2024-12-01 22:16:51 +01:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
clone.yml permission denied when enable_kolla_dev_mod 2020-06-07 19:36:42 +08:00
config_validate.yml Integrate oslo-config-validator 2022-12-21 17:19:09 +00:00
config.yml Performance: Don't notify handlers during config 2024-12-01 22:16:38 +01:00
copy-certs.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
deploy-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
deploy.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00
loadbalancer.yml Add loadbalancer-config role and wrap haproxy-config role inside 2022-08-09 12:15:49 +02:00
main.yml Revert "Performance: Use import_tasks in the main plays" 2020-12-14 10:36:55 +00:00
precheck.yml Refactor of kolla_container_facts 2024-08-12 09:54:05 +02:00
pull.yml Refactor and optimise image pulling 2021-08-10 11:57:54 +00:00
reconfigure.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
register.yml Do not set 'always' tag where unnecessary 2020-10-27 19:51:46 +01:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Performance: optimize genconfig 2020-10-12 19:30:06 +02:00