3411b9e420
Config plays do not need to check containers. This avoids skipping tasks during the genconfig action. Ironic and Glance rolling upgrades are handled specially. Swift and Bifrost do not use the handlers at all. Partially-Implements: blueprint performance-improvements Change-Id: I140bf71d62e8f0932c96270d1f08940a5ba4542a
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
---
|
|
- name: Warn about Train upgrade
|
|
debug:
|
|
msg: >-
|
|
In Train, Tacker started using local filesystem to store VNF
|
|
packages and CSAR files.
|
|
Kolla Ansible provides no shared filesystem capabilities, hence only
|
|
one instance of each Tacker service is deployed and all on the same host.
|
|
Previous multinode deployments will be descaled when running upgrade.
|
|
|
|
- name: Stop and remove extra tacker-conductor containers
|
|
vars:
|
|
service_name: "tacker-conductor"
|
|
service: "{{ tacker_services[service_name] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "stop_and_remove_container"
|
|
name: "{{ service.container_name }}"
|
|
when:
|
|
- inventory_hostname not in tacker_hosts
|
|
|
|
- name: Stop and remove extra tacker-server containers
|
|
vars:
|
|
service_name: "tacker-server"
|
|
service: "{{ tacker_services[service_name] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "stop_and_remove_container"
|
|
name: "{{ service.container_name }}"
|
|
when:
|
|
- inventory_hostname not in tacker_hosts
|
|
|
|
- import_tasks: config.yml
|
|
|
|
- import_tasks: check-containers.yml
|
|
|
|
- import_tasks: bootstrap_service.yml
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|