Restart ovn-dbs resource to take new VIP property.
The ovn-dbs pacemaker resource has a new dedicated VIP [0] which was added in Train. However, when upgrading from Stein to Train this change is not being taken into account and the only way to get it is by restarting the resource [0] - I620e37117c26b5b51bf9e1eda91daeb00fdf0f43 Closes-Bug: #1865458 Change-Id: Ia7cf78e1f5e46235147bdf67c03b58d774244774
This commit is contained in:
parent
51aa9cad3b
commit
967d2eb40d
|
@ -468,3 +468,13 @@ outputs:
|
|||
when:
|
||||
- step|int == 3
|
||||
block: *ovn_dbs_fetch_retag_container_tasks
|
||||
|
||||
post_upgrade_tasks:
|
||||
- name: Restart ovn-dbs service (pacemaker)
|
||||
when:
|
||||
- step|int == 1
|
||||
- ovn_dbs_short_bootstrap_node_name|lower == ansible_hostname|lower
|
||||
pacemaker_resource:
|
||||
resource: ovn-dbs-bundle
|
||||
state: restart
|
||||
wait_for_resource: true
|
||||
|
|
Loading…
Reference in New Issue