b1c15af95d
upgrade action no need to create endpoint, project, user, and role. so the register.yml is unnecessary for upgrade.yml. this patch to remove it. Change-Id: I7e8d2c03cc596a551cd3e4b9b5214098d666f7ca Closes-Bug: #1737071 Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
30 lines
833 B
YAML
30 lines
833 B
YAML
---
|
|
# Create new set of configs on nodes
|
|
- include: config.yml
|
|
|
|
- include: bootstrap_service.yml
|
|
|
|
- name: Checking if conductor container needs upgrading
|
|
kolla_docker:
|
|
action: "compare_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "nova_conductor"
|
|
image: "{{ nova_conductor_image_full }}"
|
|
when: inventory_hostname in groups['nova-conductor']
|
|
register: conductor_differs
|
|
|
|
# Short downtime here, but from user perspective his call will just timeout or execute later
|
|
- name: Stopping all nova_conductor containers
|
|
kolla_docker:
|
|
action: "stop_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "nova_conductor"
|
|
when:
|
|
- inventory_hostname in groups['nova-conductor']
|
|
- conductor_differs['result']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include: reload.yml
|