ce4230fab1
This creates tree and playbook for nova upgrade. Also other service upgrades will follow standard setup here. Change-Id: Ic31759efaee4986eb87b9ff0968f13189d130d48 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-nova
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
---
|
|
# This play calls sighup on every service to refresh upgrade levels
|
|
- name: Sighup nova-api
|
|
command: docker exec -t nova_api kill -1 1
|
|
when: inventory_hostname in groups['nova-api']
|
|
|
|
- name: Sighup nova-conductor
|
|
command: docker exec -t nova_conductor kill -1 1
|
|
when: inventory_hostname in groups['nova-conductor']
|
|
|
|
- name: Sighup nova-consoleauth
|
|
command: docker exec -t nova_consoleauth kill -1 1
|
|
when: inventory_hostname in groups['nova-consoleauth']
|
|
|
|
- name: Sighup nova-novncproxy
|
|
command: docker exec -t nova_novncproxy kill -1 1
|
|
when:
|
|
- inventory_hostname in groups['nova-novncproxy']
|
|
- nova_console == 'novnc'
|
|
|
|
- name: Sighup nova-scheduler
|
|
command: docker exec -t nova_scheduler kill -1 1
|
|
when: inventory_hostname in groups['nova-scheduler']
|
|
|
|
- name: Sighup nova-spicehtml5proxy
|
|
command: docker exec -t nova_spicehtml5proxy kill -1 1
|
|
when:
|
|
- inventory_hostname in groups['nova-spicehtml5proxy']
|
|
- nova_console == 'spice'
|
|
|
|
- name: Sighup nova-compute
|
|
command: docker exec -t nova_compute kill -1 1
|
|
when: inventory_hostname in groups['compute']
|