Merge "Stop non-pcmk services of manila and cinder during upgrade"
This commit is contained in:
commit
cada48fc30
@ -168,3 +168,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([]) }}"
|
||||
|
@ -324,3 +324,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([]) }}"
|
||||
|
@ -265,3 +265,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([]) }}"
|
||||
|
@ -113,3 +113,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([]) }}"
|
||||
|
@ -192,3 +192,18 @@ outputs:
|
||||
path: {get_param:CephConfigPath}
|
||||
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…
Reference in New Issue
Block a user