b402dd16ed
Sighup signal is neccessary to reload upgrade levels on all services communicating with rpc. If not rpc version will remain in Newton. Change-Id: I4b02d933699aa9b013dfbc65d1e57d53db49bcee
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
---
|
|
# Create new set of configs on nodes
|
|
- include: config.yml
|
|
|
|
# TODO(inc0): since nova is creating new database in L->M, we need to call it.
|
|
# It should be removed later
|
|
- include: bootstrap.yml
|
|
|
|
# TODO(Jeffrey4l): Since nova need setup nova cell in N->O, we need to call it.
|
|
# This should be removed later
|
|
- include: simple_cell_setup.yml
|
|
|
|
- include: bootstrap_service.yml
|
|
|
|
- include: register.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
|