kolla-ansible/ansible/roles/ceilometer/tasks
Roman Krček fb3a8f5fa9 Performance: use filters for service dicts
Most roles are not leveraging the jinja filters available.
According to [1] filtering the list of services makes the execution
faster than skipping the tasks.

This patchset also includes some cosmetic changes to genconfig.
Individual services are now also using a jinja filter. This has
no impact on performance, just makes the tasks look cleaner.

Naming of some vars in genconfig was changed to "service" to make
the tasks more uniform as some were previously using
the service name and some were using "service".

Three metrics from the deployment were taken and those were
- overall deployment time [s]
- time spent on the specific role [s]
- CPU usage (measured with perf) [-]
Overall genconfig time went down on avg. from 209s to 195s
Time spent on the loadbalancer role went down on avg. from 27s to 23s
Time spent on the neutron role went down on avg from 102s to 95s
Time spent on the nova-cell role went down on avg. from 54s to 52s
Also the average CPUs utilized reported by perf went down
from 3.31 to 3.15.
For details of how this was measured see the comments in gerrit.

[1] - https://github.com/stackhpc/ansible-scaling/blob/master/doc/skip.md

Change-Id: Ib0f00aadb6c7022de6e8b455ac4b9b8cd6be5b1b
Signed-off-by: Roman Krček <roman.krcek@tietoevry.com>
2024-06-28 09:04:43 +02:00
..
bootstrap_service.yml Rename kolla_docker to kolla_container 2023-11-15 13:54:57 +01:00
bootstrap.yml Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
check-containers.yml Performance: use filters for service dicts 2024-06-28 09:04:43 +02: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: use filters for service dicts 2024-06-28 09:04:43 +02: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
main.yml Revert "Performance: Use import_tasks in the main plays" 2020-12-14 10:36:55 +00:00
precheck.yml Clarifies misleading error on ceilometer role`s precheck task 2023-05-12 01:07:49 +00: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 Adding container_engine to kolla_toolbox module 2022-11-04 15:32:30 +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