Browse Source

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
changes/66/750066/3
Takashi Kajinami 11 months ago
parent
commit
6f140b93be
  1. 15
      deployment/barbican/barbican-api-container-puppet.yaml

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

@ -816,3 +816,18 @@ outputs:
state: yes
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…
Cancel
Save