Scalability improvements for disabled services

Currently, every service has a play in site.yml that is executed, and
the role is skipped if the service is disabled. This can be slow,
particularly with many hosts, since each play takes time to setup, and
evaluate.

This change creates various Ansible groups for hosts with services
enabled at the beginning of the playbook. If a service is disabled, this
new group will have no hosts, and the play for that service will be a
noop.

I have tested this on a laptop using an inventory with 12 hosts (each
pointing to my laptop via SSH), and a config file that disables every
service. Time taken to run 'kolla-ansible deploy':

Before change: 2m30s
After change: 0m14s

During development I also tried an approach using an 'include_role' task
for each service. This was not as good, taking 1m00s.

The downsides to this patch are that there is a large number of tasks at
the beginning of the playbook to perform the grouping, and every play
for a disabled service now outputs this warning message:

[WARNING]: Could not match supplied host pattern, ignoring: enable_foo_True

This is because if the service is disabled, there are no hosts in the
group. This seems like a reasonable tradeoff.

Change-Id: Ie56c270b26926f1f53a9582d451f4bb2457fbb67
This commit is contained in:
Mark Goddard 2018-09-14 16:51:56 -06:00
parent 29a2cda220
commit 5d8403bdc8

View File

@ -32,23 +32,109 @@
- (ansible_play_batch | length) != (groups['all'] | length) - (ansible_play_batch | length) != (groups['all'] | length)
tags: always tags: always
# NOTE(mgoddard): In large environments, even tasks that are skipped can take a
# significant amount of time. This is an optimisation to prevent any tasks
# running in the subsequent plays for services that are disabled.
- name: Group hosts based on configuration
hosts: all
gather_facts: false
tasks:
- name: Group hosts based on OpenStack release
group_by:
key: "openstack_release_{{ openstack_release }}"
- name: Group hosts based on Kolla action
group_by:
key: "kolla_action_{{ kolla_action }}"
- name: Group hosts based on enabled services
group_by:
key: "{{ item }}"
with_items:
- enable_aodh_{{ enable_aodh | bool }}
- enable_barbican_{{ enable_barbican | bool }}
- enable_blazar_{{ enable_blazar | bool }}
- enable_ceilometer_{{ enable_ceilometer | bool }}
- enable_ceph_{{ enable_ceph | bool }}
- enable_chrony_{{ enable_chrony | bool }}
- enable_cinder_{{ enable_cinder | bool }}
- enable_cloudkitty_{{ enable_cloudkitty | bool }}
- enable_collectd_{{ enable_collectd | bool }}
- enable_congress_{{ enable_congress | bool }}
- enable_designate_{{ enable_designate | bool }}
- enable_elasticsearch_{{ enable_elasticsearch | bool }}
- enable_etcd_{{ enable_etcd | bool }}
- enable_freezer_{{ enable_freezer | bool }}
- enable_glance_{{ enable_glance | bool }}
- enable_gnocchi_{{ enable_gnocchi | bool }}
- enable_grafana_{{ enable_grafana | bool }}
- enable_haproxy_{{ enable_haproxy | bool }}
- enable_heat_{{ enable_heat | bool }}
- enable_horizon_{{ enable_horizon | bool }}
- enable_hyperv_{{ enable_hyperv | bool }}
- enable_influxdb_{{ enable_influxdb | bool }}
- enable_ironic_{{ enable_ironic | bool }}
- enable_iscsid_{{ enable_iscsid | bool }}
- enable_kafka_{{ enable_kafka | bool }}
- enable_karbor_{{ enable_karbor | bool }}
- enable_keystone_{{ enable_keystone | bool }}
- enable_kibana_{{ enable_kibana | bool }}
- enable_kuryr_{{ enable_kuryr | bool }}
- enable_magnum_{{ enable_magnum | bool }}
- enable_manila_{{ enable_manila | bool }}
- enable_mariadb_{{ enable_mariadb | bool }}
- enable_memcached_{{ enable_memcached | bool }}
- enable_mistral_{{ enable_mistral | bool }}
- enable_monasca_{{ enable_monasca | bool }}
- enable_mongodb_{{ enable_mongodb | bool }}
- enable_multipathd_{{ enable_multipathd | bool }}
- enable_murano_{{ enable_murano | bool }}
- enable_neutron_{{ enable_neutron | bool }}
- enable_nova_{{ enable_nova | bool }}
- enable_octavia_{{ enable_octavia | bool }}
- enable_opendaylight_{{ enable_opendaylight | bool }}
- enable_openvswitch_{{ enable_openvswitch | bool }}_enable_ovs_dpdk_{{ enable_ovs_dpdk | bool }}
- enable_outward_rabbitmq_{{ enable_outward_rabbitmq | bool }}
- enable_panko_{{ enable_panko | bool }}
- enable_prometheus_{{ enable_prometheus | bool }}
- enable_qdrouterd_{{ enable_qdrouterd | bool }}
- enable_rabbitmq_{{ enable_rabbitmq | bool }}
- enable_rally_{{ enable_rally | bool }}
- enable_redis_{{ enable_redis | bool }}
- enable_sahara_{{ enable_sahara | bool }}
- enable_searchlight_{{ enable_searchlight | bool }}
- enable_senlin_{{ enable_senlin | bool }}
- enable_skydive_{{ enable_skydive | bool }}
- enable_solum_{{ enable_solum | bool }}
- enable_swift_{{ enable_swift | bool }}
- enable_tacker_{{ enable_tacker | bool }}
- enable_telegraf_{{ enable_telegraf | bool }}
- enable_tempest_{{ enable_tempest | bool }}
- enable_trove_{{ enable_trove | bool }}
- enable_vitrage_{{ enable_vitrage | bool }}
- enable_vmtp_{{ enable_vmtp | bool }}
- enable_watcher_{{ enable_watcher | bool }}
- enable_zookeeper_{{ enable_zookeeper | bool }}
- enable_zun_{{ enable_zun | bool }}
tags: always
- import_playbook: detect-release.yml - import_playbook: detect-release.yml
vars: vars:
detect_release_hosts: all detect_release_hosts: openstack_release_auto
- name: Apply role prechecks - name: Apply role prechecks
gather_facts: false gather_facts: false
hosts: # Apply only when kolla action is 'precheck'.
- all hosts: kolla_action_precheck
roles: roles:
- role: prechecks - role: prechecks
when: kolla_action == "precheck"
- name: Apply role chrony - name: Apply role chrony
gather_facts: false gather_facts: false
hosts: hosts:
- chrony-server - chrony-server
- chrony - chrony
- '&enable_chrony_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: chrony, - { role: chrony,
@ -59,6 +145,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- haproxy - haproxy
- '&enable_haproxy_True'
roles: roles:
- { role: haproxy, - { role: haproxy,
tags: haproxy, tags: haproxy,
@ -304,7 +391,9 @@
- name: Apply role collectd - name: Apply role collectd
gather_facts: false gather_facts: false
hosts: collectd hosts:
- collectd
- '&enable_collectd_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: collectd, - { role: collectd,
@ -313,7 +402,9 @@
- name: Apply role zookeeper - name: Apply role zookeeper
gather_facts: false gather_facts: false
hosts: zookeeper hosts:
- zookeeper
- '&enable_zookeeper_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: zookeeper, - { role: zookeeper,
@ -322,7 +413,9 @@
- name: Apply role elasticsearch - name: Apply role elasticsearch
gather_facts: false gather_facts: false
hosts: elasticsearch hosts:
- elasticsearch
- '&enable_elasticsearch_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: elasticsearch, - { role: elasticsearch,
@ -331,7 +424,9 @@
- name: Apply role influxdb - name: Apply role influxdb
gather_facts: false gather_facts: false
hosts: influxdb hosts:
- influxdb
- '&enable_influxdb_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: influxdb, - { role: influxdb,
@ -342,6 +437,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- telegraf - telegraf
- '&enable_telegraf_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: telegraf, - { role: telegraf,
@ -352,6 +448,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- redis - redis
- '&enable_redis_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: redis, - { role: redis,
@ -360,7 +457,9 @@
- name: Apply role kibana - name: Apply role kibana
gather_facts: false gather_facts: false
hosts: kibana hosts:
- kibana
- '&enable_kibana_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: kibana, - { role: kibana,
@ -369,7 +468,9 @@
- name: Apply role mariadb - name: Apply role mariadb
gather_facts: false gather_facts: false
hosts: mariadb hosts:
- mariadb
- '&enable_mariadb_True'
roles: roles:
- { role: mariadb, - { role: mariadb,
tags: mariadb, tags: mariadb,
@ -377,7 +478,9 @@
- name: Apply role memcached - name: Apply role memcached
gather_facts: false gather_facts: false
hosts: memcached hosts:
- memcached
- '&enable_memcached_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: memcached, - { role: memcached,
@ -392,6 +495,7 @@
- prometheus-mysqld-exporter - prometheus-mysqld-exporter
- prometheus-haproxy-exporter - prometheus-haproxy-exporter
- prometheus-cadvisor - prometheus-cadvisor
- '&enable_prometheus_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: prometheus, - { role: prometheus,
@ -403,6 +507,7 @@
hosts: hosts:
- iscsid - iscsid
- tgtd - tgtd
- '&enable_iscsid_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: iscsi, - { role: iscsi,
@ -413,6 +518,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- multipathd - multipathd
- '&enable_multipathd_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: multipathd, - { role: multipathd,
@ -421,7 +527,9 @@
- name: Apply role rabbitmq - name: Apply role rabbitmq
gather_facts: false gather_facts: false
hosts: rabbitmq hosts:
- rabbitmq
- '&enable_rabbitmq_True'
roles: roles:
- { role: rabbitmq, - { role: rabbitmq,
tags: rabbitmq, tags: rabbitmq,
@ -439,7 +547,9 @@
- name: Apply role rabbitmq (outward) - name: Apply role rabbitmq (outward)
gather_facts: false gather_facts: false
hosts: outward-rabbitmq hosts:
- outward-rabbitmq
- '&enable_outward_rabbitmq_True'
roles: roles:
- { role: rabbitmq, - { role: rabbitmq,
tags: rabbitmq, tags: rabbitmq,
@ -456,7 +566,9 @@
- name: Apply role qdrouterd - name: Apply role qdrouterd
gather_facts: false gather_facts: false
hosts: qdrouterd hosts:
- qdrouterd
- '&enable_qdrouterd_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: qdrouterd, - { role: qdrouterd,
@ -465,7 +577,9 @@
- name: Apply role etcd - name: Apply role etcd
gather_facts: false gather_facts: false
hosts: etcd hosts:
- etcd
- '&enable_etcd_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: etcd, - { role: etcd,
@ -474,7 +588,9 @@
- name: Apply role keystone - name: Apply role keystone
gather_facts: false gather_facts: false
hosts: keystone hosts:
- keystone
- '&enable_keystone_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: keystone, - { role: keystone,
@ -490,6 +606,7 @@
- ceph-nfs - ceph-nfs
- ceph-osd - ceph-osd
- ceph-rgw - ceph-rgw
- '&enable_ceph_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: ceph, - { role: ceph,
@ -498,7 +615,9 @@
- name: Apply role kafka - name: Apply role kafka
gather_facts: false gather_facts: false
hosts: kafka hosts:
- kafka
- '&enable_kafka_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: kafka, - { role: kafka,
@ -518,7 +637,9 @@
- name: Apply role karbor - name: Apply role karbor
gather_facts: false gather_facts: false
hosts: karbor hosts:
- karbor
- '&enable_karbor_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: karbor, - { role: karbor,
@ -532,6 +653,7 @@
- swift-container-server - swift-container-server
- swift-object-server - swift-object-server
- swift-proxy-server - swift-proxy-server
- '&enable_swift_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: swift, - { role: swift,
@ -544,6 +666,7 @@
- ceph-mon - ceph-mon
- glance-api - glance-api
- glance-registry - glance-registry
- '&enable_glance_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: glance, - { role: glance,
@ -557,6 +680,7 @@
- ironic-conductor - ironic-conductor
- ironic-inspector - ironic-inspector
- ironic-pxe - ironic-pxe
- '&enable_ironic_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: ironic, - { role: ironic,
@ -571,6 +695,7 @@
- cinder-backup - cinder-backup
- cinder-scheduler - cinder-scheduler
- cinder-volume - cinder-volume
- '&enable_cinder_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: cinder, - { role: cinder,
@ -587,6 +712,7 @@
- nova-consoleauth - nova-consoleauth
- nova-novncproxy - nova-novncproxy
- nova-scheduler - nova-scheduler
- '&enable_nova_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: nova, - { role: nova,
@ -595,7 +721,9 @@
- name: Apply role opendaylight - name: Apply role opendaylight
gather_facts: false gather_facts: false
hosts: opendaylight hosts:
- opendaylight
- '&enable_opendaylight_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: opendaylight, - { role: opendaylight,
@ -606,6 +734,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- openvswitch - openvswitch
- '&enable_openvswitch_True_enable_ovs_dpdk_False'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: openvswitch, - { role: openvswitch,
@ -616,6 +745,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- openvswitch - openvswitch
- '&enable_openvswitch_True_enable_ovs_dpdk_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: ovs-dpdk, - { role: ovs-dpdk,
@ -626,6 +756,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- hyperv - hyperv
- '&enable_hyperv_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: nova-hyperv, - { role: nova-hyperv,
@ -646,6 +777,7 @@
- neutron-metering-agent - neutron-metering-agent
- compute - compute
- manila-share - manila-share
- '&enable_neutron_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: neutron, - { role: neutron,
@ -656,6 +788,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- compute - compute
- '&enable_kuryr_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: kuryr, - { role: kuryr,
@ -668,6 +801,7 @@
- heat-api - heat-api
- heat-api-cfn - heat-api-cfn
- heat-engine - heat-engine
- '&enable_heat_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: heat, - { role: heat,
@ -678,6 +812,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- horizon - horizon
- '&enable_horizon_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: horizon, - { role: horizon,
@ -689,6 +824,7 @@
hosts: hosts:
- murano-api - murano-api
- murano-engine - murano-engine
- '&enable_murano_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: murano, - { role: murano,
@ -702,6 +838,7 @@
- solum-worker - solum-worker
- solum-deployer - solum-deployer
- solum-conductor - solum-conductor
- '&enable_solum_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: solum, - { role: solum,
@ -713,6 +850,7 @@
hosts: hosts:
- magnum-api - magnum-api
- magnum-conductor - magnum-conductor
- '&enable_magnum_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: magnum, - { role: magnum,
@ -725,6 +863,7 @@
- mistral-api - mistral-api
- mistral-engine - mistral-engine
- mistral-executor - mistral-executor
- '&enable_mistral_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: mistral, - { role: mistral,
@ -736,6 +875,7 @@
hosts: hosts:
- sahara-api - sahara-api
- sahara-engine - sahara-engine
- '&enable_sahara_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: sahara, - { role: sahara,
@ -746,6 +886,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- mongodb - mongodb
- '&enable_mongodb_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: mongodb, - { role: mongodb,
@ -754,7 +895,9 @@
- name: Apply role panko - name: Apply role panko
gather_facts: false gather_facts: false
hosts: panko-api hosts:
- panko-api
- '&enable_panko_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: panko, - { role: panko,
@ -769,6 +912,7 @@
- manila-data - manila-data
- manila-share - manila-share
- manila-scheduler - manila-scheduler
- '&enable_manila_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: manila, - { role: manila,
@ -782,6 +926,7 @@
- gnocchi-api - gnocchi-api
- gnocchi-metricd - gnocchi-metricd
- gnocchi-statsd - gnocchi-statsd
- '&enable_gnocchi_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: gnocchi, - { role: gnocchi,
@ -796,6 +941,7 @@
- ceilometer-central - ceilometer-central
- ceilometer-notification - ceilometer-notification
- ceilometer-compute - ceilometer-compute
- '&enable_ceilometer_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: ceilometer, - { role: ceilometer,
@ -816,6 +962,7 @@
- monasca-thresh - monasca-thresh
- monasca-notification - monasca-notification
- monasca-persister - monasca-persister
- '&enable_monasca_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: monasca, - { role: monasca,
@ -829,6 +976,7 @@
- aodh-evaluator - aodh-evaluator
- aodh-listener - aodh-listener
- aodh-notifier - aodh-notifier
- '&enable_aodh_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: aodh, - { role: aodh,
@ -841,6 +989,7 @@
- barbican-api - barbican-api
- barbican-keystone-listener - barbican-keystone-listener
- barbican-worker - barbican-worker
- '&enable_barbican_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: barbican, - { role: barbican,
@ -853,6 +1002,7 @@
- congress-api - congress-api
- congress-policy-engine - congress-policy-engine
- congress-datasource - congress-datasource
- '&enable_congress_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: congress, - { role: congress,
@ -863,6 +1013,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- tempest - tempest
- '&enable_tempest_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: tempest, - { role: tempest,
@ -879,6 +1030,7 @@
- designate-worker - designate-worker
- designate-sink - designate-sink
- designate-backend-bind9 - designate-backend-bind9
- '&enable_designate_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: designate, - { role: designate,
@ -887,7 +1039,9 @@
- name: Apply role rally - name: Apply role rally
gather_facts: false gather_facts: false
hosts: rally hosts:
- rally
- '&enable_rally_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: rally, - { role: rally,
@ -898,6 +1052,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- vmtp - vmtp
- '&enable_vmtp_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: vmtp, - { role: vmtp,
@ -910,6 +1065,7 @@
- trove-api - trove-api
- trove-conductor - trove-conductor
- trove-taskmanager - trove-taskmanager
- '&enable_trove_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: trove, - { role: trove,
@ -922,6 +1078,7 @@
- watcher-api - watcher-api
- watcher-engine - watcher-engine
- watcher-applier - watcher-applier
- '&enable_watcher_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: watcher, - { role: watcher,
@ -932,6 +1089,7 @@
gather_facts: false gather_facts: false
hosts: hosts:
- grafana - grafana
- '&enable_grafana_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: grafana, - { role: grafana,
@ -943,6 +1101,7 @@
hosts: hosts:
- cloudkitty-api - cloudkitty-api
- cloudkitty-processor - cloudkitty-processor
- '&enable_cloudkitty_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: cloudkitty, - { role: cloudkitty,
@ -954,6 +1113,7 @@
hosts: hosts:
- freezer-api - freezer-api
- freezer-scheduler - freezer-scheduler
- '&enable_freezer_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: freezer, - { role: freezer,
@ -965,6 +1125,7 @@
hosts: hosts:
- senlin-api - senlin-api
- senlin-engine - senlin-engine
- '&enable_senlin_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: senlin, - { role: senlin,
@ -976,6 +1137,7 @@
hosts: hosts:
- searchlight-api - searchlight-api
- searchlight-listener - searchlight-listener
- '&enable_searchlight_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: searchlight, - { role: searchlight,
@ -987,6 +1149,7 @@
hosts: hosts:
- tacker-server - tacker-server
- tacker-conductor - tacker-conductor
- '&enable_tacker_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: tacker, - { role: tacker,
@ -1000,6 +1163,7 @@
- octavia-health-manager - octavia-health-manager
- octavia-housekeeping - octavia-housekeeping
- octavia-worker - octavia-worker
- '&enable_octavia_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: octavia, - { role: octavia,
@ -1012,6 +1176,7 @@
- zun-api - zun-api
- zun-wsproxy - zun-wsproxy
- zun-compute - zun-compute
- '&enable_zun_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: zun, - { role: zun,
@ -1023,6 +1188,7 @@
hosts: hosts:
- skydive-agent - skydive-agent
- skydive-analyzer - skydive-analyzer
- '&enable_skydive_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: skydive, - { role: skydive,
@ -1037,6 +1203,7 @@
- vitrage-notifier - vitrage-notifier
- vitrage-collector - vitrage-collector
- vitrage-ml - vitrage-ml
- '&enable_vitrage_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: vitrage, - { role: vitrage,
@ -1048,6 +1215,7 @@
hosts: hosts:
- blazar-api - blazar-api
- blazar-manager - blazar-manager
- '&enable_blazar_True'
serial: '{{ kolla_serial|default("0") }}' serial: '{{ kolla_serial|default("0") }}'
roles: roles:
- { role: blazar, - { role: blazar,