Browse Source

Merge "Stop non-pcmk services of manila and cinder during upgrade" into stable/victoria

changes/24/776624/1
Zuul 5 months ago
committed by Gerrit Code Review
parent
commit
59c6bd8f69
  1. 15
      deployment/cinder/cinder-backup-container-puppet.yaml
  2. 15
      deployment/cinder/cinder-volume-container-puppet.yaml
  3. 15
      deployment/manila/manila-api-container-puppet.yaml
  4. 15
      deployment/manila/manila-scheduler-container-puppet.yaml
  5. 15
      deployment/manila/manila-share-container-puppet.yaml

15
deployment/cinder/cinder-backup-container-puppet.yaml

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

15
deployment/cinder/cinder-volume-container-puppet.yaml

@ -354,3 +354,18 @@ outputs:
volumes: {get_attr: [CinderCommon, cinder_volume_volumes]}
environment: {get_attr: [CinderCommon, cinder_volume_environment]}
host_prep_tasks: {get_attr: [CinderCommon, cinder_volume_host_prep_tasks]}
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop cinder volume container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- cinder_volume
tripleo_delegate_to: "{{ groups['cinder_volume'] | default([]) }}"

15
deployment/manila/manila-api-container-puppet.yaml

@ -270,3 +270,18 @@ outputs:
- { 'path': /var/log/containers/manila, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/manila-api, '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 manila api container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- manila_api
tripleo_delegate_to: "{{ groups['manila_api'] | default([]) }}"

15
deployment/manila/manila-scheduler-container-puppet.yaml

@ -117,3 +117,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 manila scheduler container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- manila_scheduler
tripleo_delegate_to: "{{ groups['manila_scheduler'] | default([]) }}"

15
deployment/manila/manila-share-container-puppet.yaml

@ -191,3 +191,18 @@ outputs:
path: /etc/ceph
state: directory
upgrade_tasks: []
external_upgrade_tasks:
- when:
- step|int == 1
tags:
- never
- system_upgrade_transfer_data
- system_upgrade_stop_services
block:
- name: Stop manila share container
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop:
- manila_share
tripleo_delegate_to: "{{ groups['manila_share'] | default([]) }}"
Loading…
Cancel
Save