Rename kolla_docker to kolla_container
Changes name of ansible module kolla_docker to kolla_container. Change-Id: I13c676ed0378aa721a21a1300f6054658ad12bc7 Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
This commit is contained in:
parent
cea076f379
commit
a13d83400f
@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# FIXME(yoctozepto): this module does *not* validate "common_options" which are
|
# FIXME(yoctozepto): this module does *not* validate "common_options" which are
|
||||||
# a hacky way to seed most usages of kolla_docker in kolla-ansible ansible
|
# a hacky way to seed most usages of kolla_container in kolla-ansible ansible
|
||||||
# playbooks - caution has to be exerted when setting "common_options"
|
# playbooks - caution has to be exerted when setting "common_options"
|
||||||
|
|
||||||
# FIXME(yoctozepto): restart_policy is *not* checked in the container
|
# FIXME(yoctozepto): restart_policy is *not* checked in the container
|
||||||
@ -26,7 +26,7 @@ from ansible.module_utils.kolla_container_worker import ContainerWorker
|
|||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: kolla_docker
|
module: kolla_container
|
||||||
short_description: Module for controlling containers
|
short_description: Module for controlling containers
|
||||||
description:
|
description:
|
||||||
- A module targeting at controlling container engine as used by Kolla.
|
- A module targeting at controlling container engine as used by Kolla.
|
||||||
@ -234,31 +234,31 @@ author: Sam Yaple
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- hosts: kolla_docker
|
- hosts: kolla_container
|
||||||
tasks:
|
tasks:
|
||||||
- name: Start container
|
- name: Start container
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
name: test_container
|
name: test_container
|
||||||
action: start_container
|
action: start_container
|
||||||
- name: Remove container
|
- name: Remove container
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
name: test_container
|
name: test_container
|
||||||
action: remove_container
|
action: remove_container
|
||||||
- name: Pull image without starting container
|
- name: Pull image without starting container
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: pull_image
|
action: pull_image
|
||||||
image: private-registry.example.com:5000/ubuntu
|
image: private-registry.example.com:5000/ubuntu
|
||||||
- name: Create named volume
|
- name: Create named volume
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: create_volume
|
action: create_volume
|
||||||
name: name_of_volume
|
name: name_of_volume
|
||||||
- name: Remove named volume
|
- name: Remove named volume
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: remove_volume
|
action: remove_volume
|
||||||
name: name_of_volume
|
name: name_of_volume
|
||||||
- name: Remove image
|
- name: Remove image
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: remove_image
|
action: remove_image
|
||||||
image: name_of_image
|
image: name_of_image
|
||||||
'''
|
'''
|
@ -59,7 +59,7 @@ class SystemdWorker(object):
|
|||||||
# NOTE(hinermar): duration * retries should be less than timeout
|
# NOTE(hinermar): duration * retries should be less than timeout
|
||||||
# otherwise service will indefinitely try to restart.
|
# otherwise service will indefinitely try to restart.
|
||||||
# Also, correct timeout and retries values should probably be
|
# Also, correct timeout and retries values should probably be
|
||||||
# checked at the module level inside kolla_docker.py
|
# checked at the module level inside kolla_container.py
|
||||||
restart_timeout = params.get('client_timeout', 120)
|
restart_timeout = params.get('client_timeout', 120)
|
||||||
restart_retries = params.get('restart_retries', 10)
|
restart_retries = params.get('restart_retries', 10)
|
||||||
restart_duration = (restart_timeout // restart_retries) - 1
|
restart_duration = (restart_timeout // restart_retries) - 1
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "aodh-api"
|
service_name: "aodh-api"
|
||||||
service: "{{ aodh_services[service_name] }}"
|
service: "{{ aodh_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "aodh-evaluator"
|
service_name: "aodh-evaluator"
|
||||||
service: "{{ aodh_services[service_name] }}"
|
service: "{{ aodh_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "aodh-listener"
|
service_name: "aodh-listener"
|
||||||
service: "{{ aodh_services[service_name] }}"
|
service: "{{ aodh_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -52,7 +52,7 @@
|
|||||||
service_name: "aodh-notifier"
|
service_name: "aodh-notifier"
|
||||||
service: "{{ aodh_services[service_name] }}"
|
service: "{{ aodh_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
aodh_api: "{{ aodh_services['aodh-api'] }}"
|
aodh_api: "{{ aodh_services['aodh-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check aodh containers
|
- name: Check aodh containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "barbican-api"
|
service_name: "barbican-api"
|
||||||
service: "{{ barbican_services[service_name] }}"
|
service: "{{ barbican_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "barbican-keystone-listener"
|
service_name: "barbican-keystone-listener"
|
||||||
service: "{{ barbican_services[service_name] }}"
|
service: "{{ barbican_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "barbican-worker"
|
service_name: "barbican-worker"
|
||||||
service: "{{ barbican_services[service_name] }}"
|
service: "{{ barbican_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
barbican_api: "{{ barbican_services['barbican-api'] }}"
|
barbican_api: "{{ barbican_services['barbican-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check barbican containers
|
- name: Check barbican containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Ensuring the containers up
|
- name: Ensuring the containers up
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
action: "get_container_state"
|
action: "get_container_state"
|
||||||
@ -28,7 +28,7 @@
|
|||||||
# just remove the container and start again
|
# just remove the container and start again
|
||||||
- name: Containers config strategy
|
- name: Containers config strategy
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
action: "get_container_env"
|
action: "get_container_env"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
- name: Remove the containers
|
- name: Remove the containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item[0]['name'] }}"
|
name: "{{ item[0]['name'] }}"
|
||||||
action: "remove_container"
|
action: "remove_container"
|
||||||
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
- name: Restart containers
|
- name: Restart containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item[0]['name'] }}"
|
name: "{{ item[0]['name'] }}"
|
||||||
action: "restart_container"
|
action: "restart_container"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Starting bifrost deploy container
|
- name: Starting bifrost deploy container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ bifrost_deploy_image_full }}"
|
image: "{{ bifrost_deploy_image_full }}"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
- name: Stopping bifrost_deploy container
|
- name: Stopping bifrost_deploy container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "bifrost_deploy"
|
name: "bifrost_deploy"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "blazar-api"
|
service_name: "blazar-api"
|
||||||
service: "{{ blazar_services[service_name] }}"
|
service: "{{ blazar_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "blazar-manager"
|
service_name: "blazar-manager"
|
||||||
service: "{{ blazar_services[service_name] }}"
|
service: "{{ blazar_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
blazar_api: "{{ blazar_services['blazar-api'] }}"
|
blazar_api: "{{ blazar_services['blazar-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check blazar containers
|
- name: Check blazar containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "ceilometer-notification"
|
service_name: "ceilometer-notification"
|
||||||
service: "{{ ceilometer_services[service_name] }}"
|
service: "{{ ceilometer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "ceilometer-central"
|
service_name: "ceilometer-central"
|
||||||
service: "{{ ceilometer_services[service_name] }}"
|
service: "{{ ceilometer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "ceilometer-compute"
|
service_name: "ceilometer-compute"
|
||||||
service: "{{ ceilometer_services[service_name] }}"
|
service: "{{ ceilometer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -53,7 +53,7 @@
|
|||||||
service_name: "ceilometer-ipmi"
|
service_name: "ceilometer-ipmi"
|
||||||
service: "{{ ceilometer_services[service_name] }}"
|
service: "{{ ceilometer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
ceilometer_notification: "{{ ceilometer_services['ceilometer-notification'] }}"
|
ceilometer_notification: "{{ ceilometer_services['ceilometer-notification'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check ceilometer containers
|
- name: Check ceilometer containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "cinder-api"
|
service_name: "cinder-api"
|
||||||
service: "{{ cinder_services[service_name] }}"
|
service: "{{ cinder_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "cinder-scheduler"
|
service_name: "cinder-scheduler"
|
||||||
service: "{{ cinder_services[service_name] }}"
|
service: "{{ cinder_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "cinder-volume"
|
service_name: "cinder-volume"
|
||||||
service: "{{ cinder_services[service_name] }}"
|
service: "{{ cinder_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -55,7 +55,7 @@
|
|||||||
service_name: "cinder-backup"
|
service_name: "cinder-backup"
|
||||||
service: "{{ cinder_services[service_name] }}"
|
service: "{{ cinder_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
cinder_api: "{{ cinder_services['cinder-api'] }}"
|
cinder_api: "{{ cinder_services['cinder-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check cinder containers
|
- name: Check cinder containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
service: "{{ item.value }}"
|
service: "{{ item.value }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "restart_container"
|
action: "restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
vars:
|
vars:
|
||||||
cinder_api: "{{ cinder_services['cinder-api'] }}"
|
cinder_api: "{{ cinder_services['cinder-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "cloudkitty-api"
|
service_name: "cloudkitty-api"
|
||||||
service: "{{ cloudkitty_services[service_name] }}"
|
service: "{{ cloudkitty_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "cloudkitty-processor"
|
service_name: "cloudkitty-processor"
|
||||||
service: "{{ cloudkitty_services[service_name] }}"
|
service: "{{ cloudkitty_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
cloudkitty_api: "{{ cloudkitty_services['cloudkitty-api'] }}"
|
cloudkitty_api: "{{ cloudkitty_services['cloudkitty-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check cloudkitty containers
|
- name: Check cloudkitty containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "collectd"
|
service_name: "collectd"
|
||||||
service: "{{ collectd_services[service_name] }}"
|
service: "{{ collectd_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check collectd containers
|
- name: Check collectd containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "fluentd"
|
service_name: "fluentd"
|
||||||
service: "{{ common_services[service_name] }}"
|
service: "{{ common_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "kolla-toolbox"
|
service_name: "kolla-toolbox"
|
||||||
service: "{{ common_services[service_name] }}"
|
service: "{{ common_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -44,7 +44,7 @@
|
|||||||
service_name: "cron"
|
service_name: "cron"
|
||||||
service: "{{ common_services[service_name] }}"
|
service: "{{ common_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Creating log volume
|
- name: Creating log volume
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "create_volume"
|
action: "create_volume"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "kolla_logs"
|
name: "kolla_logs"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check common containers
|
- name: Check common containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "cyborg-api"
|
service_name: "cyborg-api"
|
||||||
service: "{{ cyborg_services[service_name] }}"
|
service: "{{ cyborg_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "cyborg-conductor"
|
service_name: "cyborg-conductor"
|
||||||
service: "{{ cyborg_services[service_name] }}"
|
service: "{{ cyborg_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -38,7 +38,7 @@
|
|||||||
service_name: "cyborg-agent"
|
service_name: "cyborg-agent"
|
||||||
service: "{{ cyborg_services[service_name] }}"
|
service: "{{ cyborg_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
cyborg_api: "{{ cyborg_services['cyborg-api'] }}"
|
cyborg_api: "{{ cyborg_services['cyborg-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check cyborg containers
|
- name: Check cyborg containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "designate-backend-bind9"
|
service_name: "designate-backend-bind9"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "designate-api"
|
service_name: "designate-api"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "designate-central"
|
service_name: "designate-central"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -52,7 +52,7 @@
|
|||||||
service_name: "designate-producer"
|
service_name: "designate-producer"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -68,7 +68,7 @@
|
|||||||
service_name: "designate-mdns"
|
service_name: "designate-mdns"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -84,7 +84,7 @@
|
|||||||
service_name: "designate-worker"
|
service_name: "designate-worker"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -100,7 +100,7 @@
|
|||||||
service_name: "designate-sink"
|
service_name: "designate-sink"
|
||||||
service: "{{ designate_services[service_name] }}"
|
service: "{{ designate_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
designate_central: "{{ designate_services['designate-central'] }}"
|
designate_central: "{{ designate_services['designate-central'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check designate containers
|
- name: Check designate containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "etcd"
|
service_name: "etcd"
|
||||||
service: "{{ etcd_services[service_name] }}"
|
service: "{{ etcd_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check etcd containers
|
- name: Check etcd containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "freezer-api"
|
service_name: "freezer-api"
|
||||||
service: "{{ freezer_services[service_name] }}"
|
service: "{{ freezer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -19,7 +19,7 @@
|
|||||||
service_name: "freezer-scheduler"
|
service_name: "freezer-scheduler"
|
||||||
service: "{{ freezer_services[service_name] }}"
|
service: "{{ freezer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
freezer_api: "{{ freezer_services['freezer-api'] }}"
|
freezer_api: "{{ freezer_services['freezer-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check freezer containers
|
- name: Check freezer containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "glance-api"
|
service_name: "glance-api"
|
||||||
service: "{{ glance_services[service_name] }}"
|
service: "{{ glance_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -22,7 +22,7 @@
|
|||||||
service_name: "glance-tls-proxy"
|
service_name: "glance-tls-proxy"
|
||||||
service: "{{ glance_services[service_name] }}"
|
service: "{{ glance_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check glance containers
|
- name: Check glance containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -52,7 +52,7 @@
|
|||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -84,7 +84,7 @@
|
|||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ glance_api.container_name }}"
|
name: "{{ glance_api.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "gnocchi-api"
|
service_name: "gnocchi-api"
|
||||||
service: "{{ gnocchi_services[service_name] }}"
|
service: "{{ gnocchi_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "gnocchi-metricd"
|
service_name: "gnocchi-metricd"
|
||||||
service: "{{ gnocchi_services[service_name] }}"
|
service: "{{ gnocchi_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "gnocchi-statsd"
|
service_name: "gnocchi-statsd"
|
||||||
service: "{{ gnocchi_services[service_name] }}"
|
service: "{{ gnocchi_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gnocchi_api: "{{ gnocchi_services['gnocchi-api'] }}"
|
gnocchi_api: "{{ gnocchi_services['gnocchi-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check gnocchi containers
|
- name: Check gnocchi containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
service_name: "grafana"
|
service_name: "grafana"
|
||||||
service: "{{ grafana_services[service_name] }}"
|
service: "{{ grafana_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -42,7 +42,7 @@
|
|||||||
service_name: "grafana"
|
service_name: "grafana"
|
||||||
service: "{{ grafana_services[service_name] }}"
|
service: "{{ grafana_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check grafana containers
|
- name: Check grafana containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "grafana"
|
service_name: "grafana"
|
||||||
service: "{{ grafana_services[service_name] }}"
|
service: "{{ grafana_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_image"
|
action: "compare_image"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
# is upgraded first, we stop all the other ones.
|
# is upgraded first, we stop all the other ones.
|
||||||
- name: Stopping all Grafana instances but the first node
|
- name: Stopping all Grafana instances but the first node
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "hacluster-corosync"
|
service_name: "hacluster-corosync"
|
||||||
service: "{{ hacluster_services[service_name] }}"
|
service: "{{ hacluster_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "hacluster-pacemaker"
|
service_name: "hacluster-pacemaker"
|
||||||
service: "{{ hacluster_services[service_name] }}"
|
service: "{{ hacluster_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -38,7 +38,7 @@
|
|||||||
service_name: "hacluster-pacemaker-remote"
|
service_name: "hacluster-pacemaker-remote"
|
||||||
service: "{{ hacluster_services[service_name] }}"
|
service: "{{ hacluster_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check hacluster containers
|
- name: Check hacluster containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "heat-api"
|
service_name: "heat-api"
|
||||||
service: "{{ heat_services[service_name] }}"
|
service: "{{ heat_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "heat-api-cfn"
|
service_name: "heat-api-cfn"
|
||||||
service: "{{ heat_services[service_name] }}"
|
service: "{{ heat_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "heat-engine"
|
service_name: "heat-engine"
|
||||||
service: "{{ heat_services[service_name] }}"
|
service: "{{ heat_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
heat_api: "{{ heat_services['heat-api'] }}"
|
heat_api: "{{ heat_services['heat-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check heat containers
|
- name: Check heat containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "horizon"
|
service_name: "horizon"
|
||||||
service: "{{ horizon_services[service_name] }}"
|
service: "{{ horizon_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
horizon: "{{ horizon_services['horizon'] }}"
|
horizon: "{{ horizon_services['horizon'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
horizon: "{{ horizon_services['horizon'] }}"
|
horizon: "{{ horizon_services['horizon'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ horizon.container_name }}"
|
name: "{{ horizon.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "influxdb"
|
service_name: "influxdb"
|
||||||
service: "{{ influxdb_services[service_name] }}"
|
service: "{{ influxdb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check influxdb containers
|
- name: Check influxdb containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "ironic-conductor"
|
service_name: "ironic-conductor"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "ironic-api"
|
service_name: "ironic-api"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -37,7 +37,7 @@
|
|||||||
service_name: "ironic-inspector"
|
service_name: "ironic-inspector"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -54,7 +54,7 @@
|
|||||||
service_name: "ironic-tftp"
|
service_name: "ironic-tftp"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -70,7 +70,7 @@
|
|||||||
service_name: "ironic-http"
|
service_name: "ironic-http"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -86,7 +86,7 @@
|
|||||||
service_name: "ironic-dnsmasq"
|
service_name: "ironic-dnsmasq"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -102,7 +102,7 @@
|
|||||||
service_name: "ironic-prometheus-exporter"
|
service_name: "ironic-prometheus-exporter"
|
||||||
service: "{{ ironic_services[service_name] }}"
|
service: "{{ ironic_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
KOLLA_UPGRADE:
|
KOLLA_UPGRADE:
|
||||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -28,7 +28,7 @@
|
|||||||
vars:
|
vars:
|
||||||
ironic_inspector: "{{ ironic_services['ironic-inspector'] }}"
|
ironic_inspector: "{{ ironic_services['ironic-inspector'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -49,7 +49,7 @@
|
|||||||
vars:
|
vars:
|
||||||
ironic_tftp: "{{ ironic_services['ironic-tftp'] }}"
|
ironic_tftp: "{{ ironic_services['ironic-tftp'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check ironic containers
|
- name: Check ironic containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
vars:
|
vars:
|
||||||
ironic_api: "{{ ironic_services['ironic-api'] }}"
|
ironic_api: "{{ ironic_services['ironic-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "iscsid"
|
service_name: "iscsid"
|
||||||
service: "{{ iscsi_services[service_name] }}"
|
service: "{{ iscsi_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "tgtd"
|
service_name: "tgtd"
|
||||||
service: "{{ iscsi_services[service_name] }}"
|
service: "{{ iscsi_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check iscsi containers
|
- name: Check iscsi containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
service_name: "keystone"
|
service_name: "keystone"
|
||||||
service: "{{ keystone_services[service_name] }}"
|
service: "{{ keystone_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -31,7 +31,7 @@
|
|||||||
service_name: "keystone-ssh"
|
service_name: "keystone-ssh"
|
||||||
service: "{{ keystone_services[service_name] }}"
|
service: "{{ keystone_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -47,7 +47,7 @@
|
|||||||
service_name: "keystone-fernet"
|
service_name: "keystone-fernet"
|
||||||
service: "{{ keystone_services[service_name] }}"
|
service: "{{ keystone_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -63,7 +63,7 @@
|
|||||||
service_name: "keystone"
|
service_name: "keystone"
|
||||||
service: "{{ keystone_services[service_name] }}"
|
service: "{{ keystone_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -79,7 +79,7 @@
|
|||||||
service_name: "keystone"
|
service_name: "keystone"
|
||||||
service: "{{ keystone_services[service_name] }}"
|
service: "{{ keystone_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
vars:
|
vars:
|
||||||
keystone: "{{ keystone_services.keystone }}"
|
keystone: "{{ keystone_services.keystone }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
@ -53,7 +53,7 @@
|
|||||||
vars:
|
vars:
|
||||||
keystone_fernet: "{{ keystone_services['keystone-fernet'] }}"
|
keystone_fernet: "{{ keystone_services['keystone-fernet'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check keystone containers
|
- name: Check keystone containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "kuryr"
|
service_name: "kuryr"
|
||||||
service: "{{ kuryr_services[service_name] }}"
|
service: "{{ kuryr_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check kuryr containers
|
- name: Check kuryr containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "letsencrypt-webserver"
|
service_name: "letsencrypt-webserver"
|
||||||
service: "{{ letsencrypt_services[service_name] }}"
|
service: "{{ letsencrypt_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "letsencrypt-lego"
|
service_name: "letsencrypt-lego"
|
||||||
service: "{{ letsencrypt_services[service_name] }}"
|
service: "{{ letsencrypt_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check LetsEncrypt containers
|
- name: Check LetsEncrypt containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Pulling LetsEncrypt images
|
- name: Pulling LetsEncrypt images
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "pull_image"
|
action: "pull_image"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
- name: Stop backup keepalived container
|
- name: Stop backup keepalived container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
# NOTE(yoctozepto): backup node might not have keepalived yet - ignore
|
# NOTE(yoctozepto): backup node might not have keepalived yet - ignore
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
- name: Stop backup haproxy container
|
- name: Stop backup haproxy container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
# NOTE(kevko): backup node might not have haproxy yet - ignore
|
# NOTE(kevko): backup node might not have haproxy yet - ignore
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -75,7 +75,7 @@
|
|||||||
|
|
||||||
- name: Stop backup proxysql container
|
- name: Stop backup proxysql container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
# NOTE(kevko): backup node might not have proxysql yet - ignore
|
# NOTE(kevko): backup node might not have proxysql yet - ignore
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -98,7 +98,7 @@
|
|||||||
service_name: "haproxy"
|
service_name: "haproxy"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -128,7 +128,7 @@
|
|||||||
service_name: "proxysql"
|
service_name: "proxysql"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -162,7 +162,7 @@
|
|||||||
service_name: "keepalived"
|
service_name: "keepalived"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -184,7 +184,7 @@
|
|||||||
# to the VIP address.
|
# to the VIP address.
|
||||||
- name: Stop master haproxy container
|
- name: Stop master haproxy container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
# NOTE(yoctozepto): master node might not have haproxy yet - ignore
|
# NOTE(yoctozepto): master node might not have haproxy yet - ignore
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -200,7 +200,7 @@
|
|||||||
|
|
||||||
- name: Stop master proxysql container
|
- name: Stop master proxysql container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "proxysql"
|
name: "proxysql"
|
||||||
@ -215,7 +215,7 @@
|
|||||||
|
|
||||||
- name: Stop master keepalived container
|
- name: Stop master keepalived container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "keepalived"
|
name: "keepalived"
|
||||||
@ -232,7 +232,7 @@
|
|||||||
service_name: "haproxy"
|
service_name: "haproxy"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -262,7 +262,7 @@
|
|||||||
service_name: "proxysql"
|
service_name: "proxysql"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -292,7 +292,7 @@
|
|||||||
service_name: "keepalived"
|
service_name: "keepalived"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -339,7 +339,7 @@
|
|||||||
service_name: "haproxy-ssh"
|
service_name: "haproxy-ssh"
|
||||||
service: "{{ loadbalancer_services[service_name] }}"
|
service: "{{ loadbalancer_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check loadbalancer containers
|
- name: Check loadbalancer containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "magnum-api"
|
service_name: "magnum-api"
|
||||||
service: "{{ magnum_services[service_name] }}"
|
service: "{{ magnum_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
service_name: "magnum-conductor"
|
service_name: "magnum-conductor"
|
||||||
service: "{{ magnum_services[service_name] }}"
|
service: "{{ magnum_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
magnum_api: "{{ magnum_services['magnum-api'] }}"
|
magnum_api: "{{ magnum_services['magnum-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check magnum containers
|
- name: Check magnum containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "manila-api"
|
service_name: "manila-api"
|
||||||
service: "{{ manila_services[service_name] }}"
|
service: "{{ manila_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "manila-data"
|
service_name: "manila-data"
|
||||||
service: "{{ manila_services[service_name] }}"
|
service: "{{ manila_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -37,7 +37,7 @@
|
|||||||
service_name: "manila-scheduler"
|
service_name: "manila-scheduler"
|
||||||
service: "{{ manila_services[service_name] }}"
|
service: "{{ manila_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -53,7 +53,7 @@
|
|||||||
service_name: "manila-share"
|
service_name: "manila-share"
|
||||||
service: "{{ manila_services[service_name] }}"
|
service: "{{ manila_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
manila_api: "{{ manila_services['manila-api'] }}"
|
manila_api: "{{ manila_services['manila-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check manila containers
|
- name: Check manila containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "mariadb"
|
service_name: "mariadb"
|
||||||
service: "{{ mariadb_services[service_name] }}"
|
service: "{{ mariadb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
environment:
|
environment:
|
||||||
@ -77,7 +77,7 @@
|
|||||||
service_name: "mariadb-clustercheck"
|
service_name: "mariadb-clustercheck"
|
||||||
service: "{{ mariadb_services[service_name] }}"
|
service: "{{ mariadb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Taking {{ mariadb_backup_type }} database backup via Mariabackup
|
- name: Taking {{ mariadb_backup_type }} database backup via Mariabackup
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
command: "bash -c 'sudo -E kolla_set_configs && /usr/local/bin/kolla_mariadb_backup.sh'"
|
command: "bash -c 'sudo -E kolla_set_configs && /usr/local/bin/kolla_mariadb_backup.sh'"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "mariadb"
|
service_name: "mariadb"
|
||||||
service: "{{ mariadb_services[service_name] }}"
|
service: "{{ mariadb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check mariadb containers
|
- name: Check mariadb containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Create MariaDB volume
|
- name: Create MariaDB volume
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "create_volume"
|
action: "create_volume"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "mariadb"
|
name: "mariadb"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "mariadb"
|
service_name: "mariadb"
|
||||||
service: "{{ mariadb_services[service_name] }}"
|
service: "{{ mariadb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
- block:
|
- block:
|
||||||
- name: Stop MariaDB containers
|
- name: Stop MariaDB containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
name: "{{ mariadb_service.container_name }}"
|
name: "{{ mariadb_service.container_name }}"
|
||||||
action: "stop_container"
|
action: "stop_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
@ -27,7 +27,7 @@
|
|||||||
# different container name to avoid the mariadb container being removed.
|
# different container name to avoid the mariadb container being removed.
|
||||||
- name: Run MariaDB wsrep recovery
|
- name: Run MariaDB wsrep recovery
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: false
|
detach: false
|
||||||
@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
- name: Starting first MariaDB container
|
- name: Starting first MariaDB container
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
environment:
|
environment:
|
||||||
@ -168,7 +168,7 @@
|
|||||||
|
|
||||||
- name: Restart slave MariaDB container(s)
|
- name: Restart slave MariaDB container(s)
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
@ -199,7 +199,7 @@
|
|||||||
|
|
||||||
- name: Restart master MariaDB container(s)
|
- name: Restart master MariaDB container(s)
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "mariadb"
|
service_name: "mariadb"
|
||||||
service: "{{ mariadb_services[service_name] }}"
|
service: "{{ mariadb_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "masakari-api"
|
service_name: "masakari-api"
|
||||||
service: "{{ masakari_services[service_name] }}"
|
service: "{{ masakari_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "masakari-engine"
|
service_name: "masakari-engine"
|
||||||
service: "{{ masakari_services[service_name] }}"
|
service: "{{ masakari_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "masakari-instancemonitor"
|
service_name: "masakari-instancemonitor"
|
||||||
service: "{{ masakari_services[service_name] }}"
|
service: "{{ masakari_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -52,7 +52,7 @@
|
|||||||
service_name: "masakari-hostmonitor"
|
service_name: "masakari-hostmonitor"
|
||||||
service: "{{ masakari_services[service_name] }}"
|
service: "{{ masakari_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
masakari_api: "{{ masakari_services['masakari-api'] }}"
|
masakari_api: "{{ masakari_services['masakari-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check masakari containers
|
- name: Check masakari containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
service: "{{ memcached_services.memcached }}"
|
service: "{{ memcached_services.memcached }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
service: "{{ memcached_services.memcached }}"
|
service: "{{ memcached_services.memcached }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
service_name: "mistral-api"
|
service_name: "mistral-api"
|
||||||
service: "{{ mistral_services[service_name] }}"
|
service: "{{ mistral_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
service_name: "mistral-engine"
|
service_name: "mistral-engine"
|
||||||
service: "{{ mistral_services[service_name] }}"
|
service: "{{ mistral_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -36,7 +36,7 @@
|
|||||||
service_name: "mistral-event-engine"
|
service_name: "mistral-event-engine"
|
||||||
service: "{{ mistral_services[service_name] }}"
|
service: "{{ mistral_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
@ -52,7 +52,7 @@
|
|||||||
service_name: "mistral-executor"
|
service_name: "mistral-executor"
|
||||||
service: "{{ mistral_services[service_name] }}"
|
service: "{{ mistral_services[service_name] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "recreate_or_restart_container"
|
action: "recreate_or_restart_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
vars:
|
vars:
|
||||||
mistral_api: "{{ mistral_services['mistral-api'] }}"
|
mistral_api: "{{ mistral_services['mistral-api'] }}"
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
detach: False
|
detach: False
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Check mistral containers
|
- name: Check mistral containers
|
||||||
become: true
|
become: true
|
||||||
kolla_docker:
|
kolla_container:
|
||||||
action: "compare_container"
|
action: "compare_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user