-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
?
-
None
-
-
-
Moderate
In some cases, FFU will fail once and then always fail on "Remove OVNDBs from pacemaker" because it was already deleted.
Here's a quick patch we used to go through this issue:
BEFORE
- name: Fetch ovn VIP register: ovn_vip shell: 'pcs constraint list |grep "with ovn-dbs-bundle" |awk ''{print $1}'' ' - name: Remove OVNDBs from pacemaker pacemaker_resource: resource: ovn-dbs-bundle state: delete when: - step|int == 5 - '{{(ovn_dbs_short_bootstrap_node_name|lower == ansible_facts[''hostname'']|lower)|bool}}' - name: Remove OVNDBs VIP from pacemaker pacemaker_resource: resource: '{{ ovn_vip.stdout }}' state: delete when: - step|int == 5 - '{{(ovn_dbs_short_bootstrap_node_name|lower == ansible_facts[''hostname'']|lower)|bool}}'
AFTER
- name: Fetch ovn VIP register: ovn_vip shell: 'pcs constraint list |grep "with ovn-dbs-bundle" |awk ''{print $1}'' ' - name: Remove OVNDBs from pacemaker pacemaker_resource: resource: ovn-dbs-bundle state: delete when: - step|int == 5 - '{{(ovn_dbs_short_bootstrap_node_name|lower == ansible_facts[''hostname'']|lower)|bool}}' - name: Remove OVNDBs VIP from pacemaker pacemaker_resource: resource: '{{ ovn_vip.stdout }}' state: delete when: - step|int == 5 - '{{(ovn_dbs_short_bootstrap_node_name|lower == ansible_facts[''hostname'']|lower)|bool}}' - ovn_vip.stdout != ''
- duplicates
-
OSPRH-16573 make ovn-dbs-bundle pacemaker delete idempotent
-
- Closed
-
- links to