Stop barbican servics in unupgraded controllers
This change makes barbican services on unupgrade controller nodes get stopped, because all services in the unupgrade controllers should be stopped before we start the upgraded controller[1]. [1]8529ce60da
Change-Id: I7031064b752450bacbb7775c0e357b98210a8929 (cherry picked from commit6f140b93be
) (cherry picked from commitc996c85cae
) (cherry picked from commit34c96db0e8
)
This commit is contained in:
parent
e30b34a1ce
commit
5be4f8f315
|
@ -809,3 +809,18 @@ outputs:
|
||||||
- null
|
- null
|
||||||
metadata_settings:
|
metadata_settings:
|
||||||
get_attr: [ApacheServiceBase, role_data, metadata_settings]
|
get_attr: [ApacheServiceBase, role_data, metadata_settings]
|
||||||
|
external_upgrade_tasks:
|
||||||
|
- when:
|
||||||
|
- step|int == 1
|
||||||
|
tags:
|
||||||
|
- never
|
||||||
|
- system_upgrade_transfer_data
|
||||||
|
- system_upgrade_stop_services
|
||||||
|
block:
|
||||||
|
- name: Stop barbican api container
|
||||||
|
import_role:
|
||||||
|
name: tripleo_container_stop
|
||||||
|
vars:
|
||||||
|
tripleo_containers_to_stop:
|
||||||
|
- barbican_api
|
||||||
|
tripleo_delegate_to: "{{ groups['barbican_api'] | default([]) }}"
|
||||||
|
|
Loading…
Reference in New Issue