Merge "Stop octavia servics in unupgraded controllers"

This commit is contained in:
Zuul 2021-02-12 20:24:33 +00:00 committed by Gerrit Code Review
commit 07ae72b21a
4 changed files with 60 additions and 0 deletions

View File

@ -456,3 +456,18 @@ outputs:
- step|int == 2
- internal_tls_enabled|bool
block: *remove_octavia_tls_proxy_tasks
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop octavia api container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- octavia_api
tripleo_delegate_to: "{{ groups['octavia_api'] | default([]) }}"

View File

@ -206,3 +206,18 @@ outputs:
with_items:
- { 'path': /var/log/containers/octavia, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/octavia-amphorae, 'setype': container_file_t, 'mode': '0750' }
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop octavia health manager container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- octavia_health_manager
tripleo_delegate_to: "{{ groups['octavia_health_manager'] | default([]) }}"

View File

@ -157,3 +157,18 @@ outputs:
with_items:
- { 'path': /var/log/containers/octavia, 'setype': container_file_t, 'mode': '0750' }
upgrade_tasks: []
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop octavia housekeeping container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- octavia_housekeeping
tripleo_delegate_to: "{{ groups['octavia_housekeeping'] | default([]) }}"

View File

@ -168,3 +168,18 @@ outputs:
persistent: yes
state: yes
upgrade_tasks: []
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop octavia api container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- octavia_worker
tripleo_delegate_to: "{{ groups['octavia_worker'] | default([]) }}"