Support Ansible max_fail_percentage
This allows us to continue execution until a certain proportion of hosts to fail. This can be useful at scale, where failures are common, and restarting a deployment is time-consuming. The default max failure percentage is 100, keeping the default behaviour. A global max failure percentage may be set via kolla_max_fail_percentage, and individual services may define a max failure percentage via <service>_max_fail_percentage. Note that all hosts in the inventory must be reachable for fact gathering, even those not included in a --limit. Closes-Bug: #1833737 Change-Id: I808474a75c0f0e8b539dc0421374b06cea44be4f
This commit is contained in:
parent
7112d5f117
commit
af6e1ca4fd
@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: Apply role destroy
|
- name: Apply role destroy
|
||||||
hosts: all
|
hosts: all
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ destroy_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- destroy
|
- destroy
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
- name: Gather facts for all hosts
|
- name: Gather facts for all hosts
|
||||||
hosts: all
|
hosts: all
|
||||||
any_errors_fatal: "{{ kolla_ansible_setup_any_errors_fatal | bool }}"
|
any_errors_fatal: "{{ kolla_ansible_setup_any_errors_fatal | bool }}"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ gather_facts_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
@ -37,6 +41,10 @@
|
|||||||
- name: Gather facts for all hosts (if using --limit)
|
- name: Gather facts for all hosts (if using --limit)
|
||||||
hosts: all_using_limit_True
|
hosts: all_using_limit_True
|
||||||
any_errors_fatal: "{{ kolla_ansible_setup_any_errors_fatal | bool }}"
|
any_errors_fatal: "{{ kolla_ansible_setup_any_errors_fatal | bool }}"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ gather_facts_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
hosts: baremetal
|
hosts: baremetal
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ baremetal_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: openstack.kolla.baremetal,
|
- { role: openstack.kolla.baremetal,
|
||||||
tags: baremetal }
|
tags: baremetal }
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- mariadb
|
- mariadb
|
||||||
- '&enable_mariadb_True'
|
- '&enable_mariadb_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
tasks:
|
tasks:
|
||||||
@ -18,6 +22,10 @@
|
|||||||
- '&enable_mariadb_True'
|
- '&enable_mariadb_True'
|
||||||
# Restart in batches
|
# Restart in batches
|
||||||
serial: "33%"
|
serial: "33%"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
tasks:
|
tasks:
|
||||||
@ -32,6 +40,10 @@
|
|||||||
- '&enable_mariadb_True'
|
- '&enable_mariadb_True'
|
||||||
# Start in batches
|
# Start in batches
|
||||||
serial: "33%"
|
serial: "33%"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
tasks:
|
tasks:
|
||||||
@ -44,6 +56,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- mariadb_bootstrap_restart
|
- mariadb_bootstrap_restart
|
||||||
- '&enable_mariadb_True'
|
- '&enable_mariadb_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
tasks:
|
tasks:
|
||||||
@ -56,6 +72,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- mariadb
|
- mariadb
|
||||||
- '&enable_mariadb_True'
|
- '&enable_mariadb_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- mariadb
|
- mariadb
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: Backup MariaDB
|
- name: Backup MariaDB
|
||||||
hosts: mariadb
|
hosts: mariadb
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_backup_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: mariadb,
|
- { role: mariadb,
|
||||||
tags: mariadb,
|
tags: mariadb,
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: Recover mariadb
|
- name: Recover mariadb
|
||||||
hosts: mariadb
|
hosts: mariadb
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mariadb_recovery_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: mariadb,
|
- { role: mariadb,
|
||||||
tags: mariadb,
|
tags: mariadb,
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- compute
|
- compute
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_libvirt_cleanup_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- nova-libvirt-cleanup
|
- nova-libvirt-cleanup
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -37,6 +37,10 @@
|
|||||||
- nova-api
|
- nova-api
|
||||||
- nova-api-bootstrap
|
- nova-api-bootstrap
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
# * Create nova API & cell0 DBs & users
|
# * Create nova API & cell0 DBs & users
|
||||||
# * API DB schema migrations
|
# * API DB schema migrations
|
||||||
@ -109,6 +113,10 @@
|
|||||||
- nova-api-deploy
|
- nova-api-deploy
|
||||||
- nova-api-upgrade
|
- nova-api-upgrade
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- role: nova
|
- role: nova
|
||||||
when: enable_nova | bool
|
when: enable_nova | bool
|
||||||
@ -130,6 +138,10 @@
|
|||||||
- nova-cell-deploy
|
- nova-cell-deploy
|
||||||
- nova-cell-upgrade
|
- nova-cell-upgrade
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_cell_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- role: nova-cell
|
- role: nova-cell
|
||||||
when: enable_nova | bool
|
when: enable_nova | bool
|
||||||
@ -147,6 +159,10 @@
|
|||||||
- nova-api
|
- nova-api
|
||||||
- nova-refresh-scheduler-cell-cache
|
- nova-refresh-scheduler-cell-cache
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: nova
|
name: nova
|
||||||
@ -172,6 +188,10 @@
|
|||||||
- nova-api
|
- nova-api
|
||||||
- nova-api-reload
|
- nova-api-reload
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: nova
|
name: nova
|
||||||
@ -196,6 +216,10 @@
|
|||||||
- nova-cell
|
- nova-cell
|
||||||
- nova-cell-reload
|
- nova-cell-reload
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_cell_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: nova-cell
|
name: nova-cell
|
||||||
@ -216,6 +240,10 @@
|
|||||||
- nova-api
|
- nova-api
|
||||||
- nova-api-reload
|
- nova-api-reload
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ nova_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: nova
|
name: nova
|
||||||
@ -238,6 +266,8 @@
|
|||||||
- nova-online-data-migrations
|
- nova-online-data-migrations
|
||||||
- nova-api-online-data-migrations
|
- nova-api-online-data-migrations
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
# Fail all hosts if any of these once-per-cell tasks fails.
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: nova
|
name: nova
|
||||||
|
@ -5,5 +5,9 @@
|
|||||||
hosts: baremetal
|
hosts: baremetal
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ prune_images_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- prune-images
|
- prune-images
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- '&enable_rabbitmq_True'
|
- '&enable_rabbitmq_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
@ -30,6 +34,10 @@
|
|||||||
- '&enable_rabbitmq_True'
|
- '&enable_rabbitmq_True'
|
||||||
# Restart in batches
|
# Restart in batches
|
||||||
serial: "33%"
|
serial: "33%"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
@ -45,6 +53,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- '&enable_rabbitmq_True'
|
- '&enable_rabbitmq_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
@ -62,6 +74,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- outward-rabbitmq
|
- outward-rabbitmq
|
||||||
- '&enable_outward_rabbitmq_True'
|
- '&enable_outward_rabbitmq_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
@ -86,6 +102,10 @@
|
|||||||
- '&enable_outward_rabbitmq_True'
|
- '&enable_outward_rabbitmq_True'
|
||||||
# Restart in batches
|
# Restart in batches
|
||||||
serial: "33%"
|
serial: "33%"
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
@ -102,6 +122,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- outward-rabbitmq
|
- outward-rabbitmq
|
||||||
- '&enable_outward_rabbitmq_True'
|
- '&enable_outward_rabbitmq_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ rabbitmq_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
tasks:
|
tasks:
|
||||||
|
224
ansible/site.yml
224
ansible/site.yml
@ -7,6 +7,10 @@
|
|||||||
- name: Group hosts based on configuration
|
- name: Group hosts based on configuration
|
||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ group_hosts_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tasks:
|
tasks:
|
||||||
- name: Group hosts based on Kolla action
|
- name: Group hosts based on Kolla action
|
||||||
group_by:
|
group_by:
|
||||||
@ -81,6 +85,10 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
# Apply only when kolla action is 'precheck'.
|
# Apply only when kolla action is 'precheck'.
|
||||||
hosts: kolla_action_precheck
|
hosts: kolla_action_precheck
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ prechecks_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- role: prechecks
|
- role: prechecks
|
||||||
|
|
||||||
@ -92,6 +100,10 @@
|
|||||||
- kolla-logs
|
- kolla-logs
|
||||||
- kolla-toolbox
|
- kolla-toolbox
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ common_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- common
|
- common
|
||||||
roles:
|
roles:
|
||||||
@ -103,6 +115,10 @@
|
|||||||
- loadbalancer
|
- loadbalancer
|
||||||
- '&enable_loadbalancer_True'
|
- '&enable_loadbalancer_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ loadbalancer_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
tags:
|
tags:
|
||||||
- haproxy
|
- haproxy
|
||||||
- keepalived
|
- keepalived
|
||||||
@ -362,6 +378,10 @@
|
|||||||
- collectd
|
- collectd
|
||||||
- '&enable_collectd_True'
|
- '&enable_collectd_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ collectd_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: collectd,
|
- { role: collectd,
|
||||||
tags: collectd }
|
tags: collectd }
|
||||||
@ -372,6 +392,10 @@
|
|||||||
- influxdb
|
- influxdb
|
||||||
- '&enable_influxdb_True'
|
- '&enable_influxdb_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ influxdb_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: influxdb,
|
- { role: influxdb,
|
||||||
tags: influxdb }
|
tags: influxdb }
|
||||||
@ -382,6 +406,10 @@
|
|||||||
- telegraf
|
- telegraf
|
||||||
- '&enable_telegraf_True'
|
- '&enable_telegraf_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ telegraf_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: telegraf,
|
- { role: telegraf,
|
||||||
tags: telegraf }
|
tags: telegraf }
|
||||||
@ -392,6 +420,10 @@
|
|||||||
- redis
|
- redis
|
||||||
- '&enable_redis_True'
|
- '&enable_redis_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ redis_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: redis,
|
- { role: redis,
|
||||||
tags: redis }
|
tags: redis }
|
||||||
@ -406,6 +438,10 @@
|
|||||||
- memcached
|
- memcached
|
||||||
- '&enable_memcached_True'
|
- '&enable_memcached_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ memcached_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: memcached,
|
- { role: memcached,
|
||||||
tags: [memcache, memcached] }
|
tags: [memcache, memcached] }
|
||||||
@ -426,6 +462,10 @@
|
|||||||
- prometheus-libvirt-exporter
|
- prometheus-libvirt-exporter
|
||||||
- '&enable_prometheus_True'
|
- '&enable_prometheus_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ prometheus_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: prometheus,
|
- { role: prometheus,
|
||||||
tags: prometheus }
|
tags: prometheus }
|
||||||
@ -437,6 +477,10 @@
|
|||||||
- tgtd
|
- tgtd
|
||||||
- '&enable_iscsid_True'
|
- '&enable_iscsid_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ iscsid_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: iscsi,
|
- { role: iscsi,
|
||||||
tags: iscsi }
|
tags: iscsi }
|
||||||
@ -447,6 +491,10 @@
|
|||||||
- multipathd
|
- multipathd
|
||||||
- '&enable_multipathd_True'
|
- '&enable_multipathd_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ multipathd_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: multipathd,
|
- { role: multipathd,
|
||||||
tags: multipathd }
|
tags: multipathd }
|
||||||
@ -458,6 +506,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- etcd
|
- etcd
|
||||||
- '&enable_etcd_True'
|
- '&enable_etcd_True'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ etcd_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: etcd,
|
- { role: etcd,
|
||||||
tags: etcd }
|
tags: etcd }
|
||||||
@ -468,6 +520,10 @@
|
|||||||
- keystone
|
- keystone
|
||||||
- '&enable_keystone_True'
|
- '&enable_keystone_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ keystone_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: keystone,
|
- { role: keystone,
|
||||||
tags: keystone }
|
tags: keystone }
|
||||||
@ -478,6 +534,10 @@
|
|||||||
- opensearch
|
- opensearch
|
||||||
- '&enable_opensearch_True'
|
- '&enable_opensearch_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ opensearch_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: opensearch,
|
- { role: opensearch,
|
||||||
tags: opensearch }
|
tags: opensearch }
|
||||||
@ -491,6 +551,10 @@
|
|||||||
- swift-proxy-server
|
- swift-proxy-server
|
||||||
- '&enable_swift_True'
|
- '&enable_swift_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ swift_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: swift,
|
- { role: swift,
|
||||||
tags: swift }
|
tags: swift }
|
||||||
@ -503,6 +567,10 @@
|
|||||||
- kolla-toolbox
|
- kolla-toolbox
|
||||||
- '&enable_ceph_rgw_True'
|
- '&enable_ceph_rgw_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ceph_rgw_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ceph-rgw,
|
- { role: ceph-rgw,
|
||||||
tags: ceph-rgw }
|
tags: ceph-rgw }
|
||||||
@ -513,6 +581,10 @@
|
|||||||
- glance-api
|
- glance-api
|
||||||
- '&enable_glance_True'
|
- '&enable_glance_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ glance_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: glance,
|
- { role: glance,
|
||||||
tags: glance }
|
tags: glance }
|
||||||
@ -527,6 +599,10 @@
|
|||||||
- ironic-http
|
- ironic-http
|
||||||
- '&enable_ironic_True'
|
- '&enable_ironic_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ironic_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ironic,
|
- { role: ironic,
|
||||||
tags: ironic }
|
tags: ironic }
|
||||||
@ -540,6 +616,10 @@
|
|||||||
- cinder-volume
|
- cinder-volume
|
||||||
- '&enable_cinder_True'
|
- '&enable_cinder_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ cinder_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: cinder,
|
- { role: cinder,
|
||||||
tags: cinder }
|
tags: cinder }
|
||||||
@ -550,6 +630,10 @@
|
|||||||
- placement-api
|
- placement-api
|
||||||
- '&enable_placement_True'
|
- '&enable_placement_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ placement_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: placement,
|
- { role: placement,
|
||||||
tags: placement }
|
tags: placement }
|
||||||
@ -564,6 +648,10 @@
|
|||||||
- openvswitch
|
- openvswitch
|
||||||
- '&enable_openvswitch_True_enable_ovs_dpdk_False'
|
- '&enable_openvswitch_True_enable_ovs_dpdk_False'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ openvswitch_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: openvswitch,
|
- { role: openvswitch,
|
||||||
tags: openvswitch,
|
tags: openvswitch,
|
||||||
@ -575,6 +663,10 @@
|
|||||||
- openvswitch
|
- openvswitch
|
||||||
- '&enable_openvswitch_True_enable_ovs_dpdk_True'
|
- '&enable_openvswitch_True_enable_ovs_dpdk_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ovs_dpdk_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ovs-dpdk,
|
- { role: ovs-dpdk,
|
||||||
tags: ovs-dpdk,
|
tags: ovs-dpdk,
|
||||||
@ -586,6 +678,10 @@
|
|||||||
- ovn-controller
|
- ovn-controller
|
||||||
- '&enable_ovn_True'
|
- '&enable_ovn_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ovn_controller_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ovn-controller,
|
- { role: ovn-controller,
|
||||||
tags: [ovn, ovn-controller] }
|
tags: [ovn, ovn-controller] }
|
||||||
@ -598,6 +694,10 @@
|
|||||||
- ovn-sb-db
|
- ovn-sb-db
|
||||||
- '&enable_ovn_True'
|
- '&enable_ovn_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ovn_db_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ovn-db,
|
- { role: ovn-db,
|
||||||
tags: [ovn, ovn-db] }
|
tags: [ovn, ovn-db] }
|
||||||
@ -618,6 +718,10 @@
|
|||||||
- manila-share
|
- manila-share
|
||||||
- '&enable_neutron_True'
|
- '&enable_neutron_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ neutron_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: neutron,
|
- { role: neutron,
|
||||||
tags: neutron }
|
tags: neutron }
|
||||||
@ -628,6 +732,10 @@
|
|||||||
- compute
|
- compute
|
||||||
- '&enable_kuryr_True'
|
- '&enable_kuryr_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ kuryr_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: kuryr,
|
- { role: kuryr,
|
||||||
tags: kuryr }
|
tags: kuryr }
|
||||||
@ -639,6 +747,10 @@
|
|||||||
- hacluster-remote
|
- hacluster-remote
|
||||||
- '&enable_hacluster_True'
|
- '&enable_hacluster_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ hacluster_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: hacluster,
|
- { role: hacluster,
|
||||||
tags: hacluster }
|
tags: hacluster }
|
||||||
@ -651,6 +763,10 @@
|
|||||||
- heat-engine
|
- heat-engine
|
||||||
- '&enable_heat_True'
|
- '&enable_heat_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ heat_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: heat,
|
- { role: heat,
|
||||||
tags: heat }
|
tags: heat }
|
||||||
@ -661,6 +777,10 @@
|
|||||||
- horizon
|
- horizon
|
||||||
- '&enable_horizon_True'
|
- '&enable_horizon_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ horizon_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: horizon,
|
- { role: horizon,
|
||||||
tags: horizon }
|
tags: horizon }
|
||||||
@ -672,6 +792,10 @@
|
|||||||
- murano-engine
|
- murano-engine
|
||||||
- '&enable_murano_True'
|
- '&enable_murano_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ murano_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: murano,
|
- { role: murano,
|
||||||
tags: murano }
|
tags: murano }
|
||||||
@ -687,6 +811,10 @@
|
|||||||
- solum-image-builder
|
- solum-image-builder
|
||||||
- '&enable_solum_True'
|
- '&enable_solum_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ solum_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: solum,
|
- { role: solum,
|
||||||
tags: solum }
|
tags: solum }
|
||||||
@ -698,6 +826,10 @@
|
|||||||
- magnum-conductor
|
- magnum-conductor
|
||||||
- '&enable_magnum_True'
|
- '&enable_magnum_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ magnum_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: magnum,
|
- { role: magnum,
|
||||||
tags: magnum }
|
tags: magnum }
|
||||||
@ -711,6 +843,10 @@
|
|||||||
- mistral-event-engine
|
- mistral-event-engine
|
||||||
- '&enable_mistral_True'
|
- '&enable_mistral_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ mistral_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: mistral,
|
- { role: mistral,
|
||||||
tags: mistral }
|
tags: mistral }
|
||||||
@ -722,6 +858,10 @@
|
|||||||
- sahara-engine
|
- sahara-engine
|
||||||
- '&enable_sahara_True'
|
- '&enable_sahara_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ sahara_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: sahara,
|
- { role: sahara,
|
||||||
tags: sahara }
|
tags: sahara }
|
||||||
@ -735,6 +875,10 @@
|
|||||||
- manila-scheduler
|
- manila-scheduler
|
||||||
- '&enable_manila_True'
|
- '&enable_manila_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ manila_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: manila,
|
- { role: manila,
|
||||||
tags: manila }
|
tags: manila }
|
||||||
@ -747,6 +891,10 @@
|
|||||||
- gnocchi-statsd
|
- gnocchi-statsd
|
||||||
- '&enable_gnocchi_True'
|
- '&enable_gnocchi_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ gnocchi_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: gnocchi,
|
- { role: gnocchi,
|
||||||
tags: gnocchi }
|
tags: gnocchi }
|
||||||
@ -760,6 +908,10 @@
|
|||||||
- ceilometer-ipmi
|
- ceilometer-ipmi
|
||||||
- '&enable_ceilometer_True'
|
- '&enable_ceilometer_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ ceilometer_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: ceilometer,
|
- { role: ceilometer,
|
||||||
tags: ceilometer }
|
tags: ceilometer }
|
||||||
@ -773,6 +925,10 @@
|
|||||||
- aodh-notifier
|
- aodh-notifier
|
||||||
- '&enable_aodh_True'
|
- '&enable_aodh_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ aodh_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: aodh,
|
- { role: aodh,
|
||||||
tags: aodh }
|
tags: aodh }
|
||||||
@ -785,6 +941,10 @@
|
|||||||
- barbican-worker
|
- barbican-worker
|
||||||
- '&enable_barbican_True'
|
- '&enable_barbican_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ barbican_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: barbican,
|
- { role: barbican,
|
||||||
tags: barbican }
|
tags: barbican }
|
||||||
@ -797,6 +957,10 @@
|
|||||||
- cyborg-conductor
|
- cyborg-conductor
|
||||||
- '&enable_cyborg_True'
|
- '&enable_cyborg_True'
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ cyborg_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: cyborg,
|
- { role: cyborg,
|
||||||
tags: cyborg }
|
tags: cyborg }
|
||||||
@ -813,6 +977,10 @@
|
|||||||
- designate-backend-bind9
|
- designate-backend-bind9
|
||||||
- '&enable_designate_True'
|
- '&enable_designate_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ designate_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: designate,
|
- { role: designate,
|
||||||
tags: designate }
|
tags: designate }
|
||||||
@ -825,6 +993,10 @@
|
|||||||
- trove-taskmanager
|
- trove-taskmanager
|
||||||
- '&enable_trove_True'
|
- '&enable_trove_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ trove_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: trove,
|
- { role: trove,
|
||||||
tags: trove }
|
tags: trove }
|
||||||
@ -837,6 +1009,10 @@
|
|||||||
- watcher-applier
|
- watcher-applier
|
||||||
- '&enable_watcher_True'
|
- '&enable_watcher_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ watcher_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: watcher,
|
- { role: watcher,
|
||||||
tags: watcher }
|
tags: watcher }
|
||||||
@ -847,6 +1023,10 @@
|
|||||||
- grafana
|
- grafana
|
||||||
- '&enable_grafana_True'
|
- '&enable_grafana_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ grafana_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: grafana,
|
- { role: grafana,
|
||||||
tags: grafana }
|
tags: grafana }
|
||||||
@ -858,6 +1038,10 @@
|
|||||||
- cloudkitty-processor
|
- cloudkitty-processor
|
||||||
- '&enable_cloudkitty_True'
|
- '&enable_cloudkitty_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ cloudkitty_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: cloudkitty,
|
- { role: cloudkitty,
|
||||||
tags: cloudkitty }
|
tags: cloudkitty }
|
||||||
@ -869,6 +1053,10 @@
|
|||||||
- freezer-scheduler
|
- freezer-scheduler
|
||||||
- '&enable_freezer_True'
|
- '&enable_freezer_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ freezer_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: freezer,
|
- { role: freezer,
|
||||||
tags: freezer }
|
tags: freezer }
|
||||||
@ -882,6 +1070,10 @@
|
|||||||
- senlin-health-manager
|
- senlin-health-manager
|
||||||
- '&enable_senlin_True'
|
- '&enable_senlin_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ senlin_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: senlin,
|
- { role: senlin,
|
||||||
tags: senlin }
|
tags: senlin }
|
||||||
@ -893,6 +1085,10 @@
|
|||||||
- tacker-conductor
|
- tacker-conductor
|
||||||
- '&enable_tacker_True'
|
- '&enable_tacker_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ tacker_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: tacker,
|
- { role: tacker,
|
||||||
tags: tacker }
|
tags: tacker }
|
||||||
@ -906,6 +1102,10 @@
|
|||||||
- octavia-worker
|
- octavia-worker
|
||||||
- '&enable_octavia_True'
|
- '&enable_octavia_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ octavia_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: octavia,
|
- { role: octavia,
|
||||||
tags: octavia }
|
tags: octavia }
|
||||||
@ -919,6 +1119,10 @@
|
|||||||
- zun-cni-daemon
|
- zun-cni-daemon
|
||||||
- '&enable_zun_True'
|
- '&enable_zun_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ zun_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: zun,
|
- { role: zun,
|
||||||
tags: zun }
|
tags: zun }
|
||||||
@ -933,6 +1137,10 @@
|
|||||||
- vitrage-persistor
|
- vitrage-persistor
|
||||||
- '&enable_vitrage_True'
|
- '&enable_vitrage_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ vitrage_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: vitrage,
|
- { role: vitrage,
|
||||||
tags: vitrage }
|
tags: vitrage }
|
||||||
@ -944,6 +1152,10 @@
|
|||||||
- blazar-manager
|
- blazar-manager
|
||||||
- '&enable_blazar_True'
|
- '&enable_blazar_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ blazar_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: blazar,
|
- { role: blazar,
|
||||||
tags: blazar }
|
tags: blazar }
|
||||||
@ -957,6 +1169,10 @@
|
|||||||
- masakari-instancemonitor
|
- masakari-instancemonitor
|
||||||
- '&enable_masakari_True'
|
- '&enable_masakari_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ masakari_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: masakari,
|
- { role: masakari,
|
||||||
tags: masakari }
|
tags: masakari }
|
||||||
@ -968,6 +1184,10 @@
|
|||||||
- venus-manager
|
- venus-manager
|
||||||
- '&enable_venus_True'
|
- '&enable_venus_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ venus_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: venus,
|
- { role: venus,
|
||||||
tags: venus }
|
tags: venus }
|
||||||
@ -978,6 +1198,10 @@
|
|||||||
- skyline
|
- skyline
|
||||||
- '&enable_skyline_True'
|
- '&enable_skyline_True'
|
||||||
serial: '{{ kolla_serial|default("0") }}'
|
serial: '{{ kolla_serial|default("0") }}'
|
||||||
|
max_fail_percentage: >-
|
||||||
|
{{ skyline_max_fail_percentage |
|
||||||
|
default(kolla_max_fail_percentage) |
|
||||||
|
default(100) }}
|
||||||
roles:
|
roles:
|
||||||
- { role: skyline,
|
- { role: skyline,
|
||||||
tags: skyline }
|
tags: skyline }
|
||||||
|
@ -139,3 +139,24 @@ facts via facter:
|
|||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
kolla_ansible_setup_gather_subset: "all,!facter"
|
kolla_ansible_setup_gather_subset: "all,!facter"
|
||||||
|
|
||||||
|
Max failure percentage
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
It is possible to specify a `maximum failure percentage
|
||||||
|
<https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_error_handling.html#setting-a-maximum-failure-percentage>`__
|
||||||
|
using ``kolla_max_fail_percentage``. By default this is undefined, which is
|
||||||
|
equivalent to a value of 100, meaning that Ansible will continue execution
|
||||||
|
until all hosts have failed or completed. For example:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
kolla_max_fail_percentage: 50
|
||||||
|
|
||||||
|
A max fail percentage may be set for specific services using
|
||||||
|
``<service>_max_fail_percentage``. For example:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
kolla_max_fail_percentage: 50
|
||||||
|
nova_max_fail_percentage: 25
|
||||||
|
@ -32,6 +32,12 @@ workaround_ansible_issue_8743: yes
|
|||||||
# scenarios with all facts cached (as there is no task to fail).
|
# scenarios with all facts cached (as there is no task to fail).
|
||||||
#kolla_ansible_setup_any_errors_fatal: false
|
#kolla_ansible_setup_any_errors_fatal: false
|
||||||
|
|
||||||
|
# This variable may be used to set the maxiumum failure percentage for all
|
||||||
|
# plays. More fine-grained control is possible via per-service variables, e.g.
|
||||||
|
# nova_max_fail_percentage. The default behaviour is to set a max fail
|
||||||
|
# percentage of 100, which is equivalent to not setting it.
|
||||||
|
#kolla_max_fail_percentage:
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Kolla options
|
# Kolla options
|
||||||
###############
|
###############
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds support for setting the max fail percentage for Ansible plays via
|
||||||
|
``kolla_max_fail_percentage``. It can also be set on a per-service basis,
|
||||||
|
e.g. ``nova_max_fail_percentage``.
|
Loading…
Reference in New Issue
Block a user