Merge "ffu: Introduce Pacemaker fast-forward upgrade tasks"
This commit is contained in:
commit
3f97f8dc21
@ -171,3 +171,21 @@ outputs:
|
||||
- name: Start pacemaker cluster
|
||||
when: step|int == 4
|
||||
pacemaker_cluster: state=online
|
||||
fast_forward_upgrade_tasks:
|
||||
- name: get internal_api_virtual_ip
|
||||
tags: common
|
||||
command: hiera -c /etc/puppet/hiera.yaml tripleo::keepalived::internal_api_virtual_ip
|
||||
register: internal_api_virtual_ip
|
||||
- name: Disable all pacemaker resources except Api virtual ip, haproxy and galera
|
||||
shell: |
|
||||
pcs resource show --full |\
|
||||
grep Resource |\
|
||||
grep -v galera |\
|
||||
grep -v haproxy |\
|
||||
grep -v {{internal_api_virtual_ip.stdout}} |\
|
||||
awk '{print $2}' |\
|
||||
xargs pcs resource disable
|
||||
when:
|
||||
- step|int == 3
|
||||
- release == 'ocata'
|
||||
- is_bootstrap_node|bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user