Setup cluster definition based on the ansible limit option.
During upgrade we're re-creating the pacemaker cluster one node at a
time. So we need to override the cluster definition. We do this by
collecting the ansible_limit variable and mapping the controller
defined as member of the cluster.
Reviewed: https:/ /review. opendev. org/667145 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=534a23576cd 8820439d6e9a79b 9c1e58362e6bcc
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 534a23576cd8820 439d6e9a79b9c1e 58362e6bcc
Author: Sofer Athlan-Guyot <email address hidden>
Date: Wed Mar 13 13:15:56 2019 +0100
Setup cluster definition based on the ansible limit option.
During upgrade we're re-creating the pacemaker cluster one node at a
time. So we need to override the cluster definition. We do this by
collecting the ansible_limit variable and mapping the controller
defined as member of the cluster.
Co-Authored-By: Jose Luis Franco Arza <email address hidden> f2094bd079cc81e eba18a36352 be24c6ea738e42f 0cde19c90c3 eae852d019bec71 e97eb485aa2 787472368290350 5d2bbdb435b 3de81a517dc7c6b 23d272e024)
Co-Authored-By: Jiri Stransky <email address hidden>
Implements: blueprint upgrades-with-os
Closes-Bug: #1832361
Depends-On: Ibd95f4536c033a
Depends-On: Ia108af3799dfd1
Depends-On: I3fa0717203f3f6
Change-Id: I3cfd4272449b20
(cherry picked from commit cb8caaae4381e6a