Browse Source

Merge "Stop octavia servics in unupgraded controllers" into stable/train

changes/14/781614/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
4525d90760
4 changed files with 60 additions and 0 deletions
  1. +15
    -0
      deployment/octavia/octavia-api-container-puppet.yaml
  2. +15
    -0
      deployment/octavia/octavia-health-manager-container-puppet.yaml
  3. +15
    -0
      deployment/octavia/octavia-housekeeping-container-puppet.yaml
  4. +15
    -0
      deployment/octavia/octavia-worker-container-puppet.yaml

+ 15
- 0
deployment/octavia/octavia-api-container-puppet.yaml View File

@ -445,3 +445,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([]) }}"

+ 15
- 0
deployment/octavia/octavia-health-manager-container-puppet.yaml View File

@ -206,3 +206,18 @@ outputs:
with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/octavia-amphorae, 'setype': svirt_sandbox_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([]) }}"

+ 15
- 0
deployment/octavia/octavia-housekeeping-container-puppet.yaml View File

@ -157,3 +157,18 @@ outputs:
with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_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([]) }}"

+ 15
- 0
deployment/octavia/octavia-worker-container-puppet.yaml 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([]) }}"

Loading…
Cancel
Save