Upgrades: fix up the rabbitmq HA mode like in new ocata deployments
In ocata we changed the rabbitmq ha policy to "ha-exactly" via the
following changes:
- tht: Iace6daf27a76cb8ef1050ada0de7ff1f530916c6
- puppet-tripleo: Ib62001c03e1e08f58cf0c6e0ba07a8879a584084
We took care of the upgrade path via I3a97505d2ae1ae27f3080ffe74c33fdabffd2420
With the move to the ansible-based composable upgrades we left this change out.
And now an upgraded environment has the following policy:
- Upgraded environment
Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"all"}"
- New environment
Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"exactly","ha-params":2}"
We need to add this pcs resource change to the our upgrade scripts.
Reviewed: https:/ /review. openstack. org/439025 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=41514d0cd60 3194fecb327f969 95c60a9fe6e67a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 41514d0cd603194 fecb327f96995c6 0a9fe6e67a
Author: Michele Baldessari <email address hidden>
Date: Tue Feb 28 16:37:07 2017 +0100
Upgrades: fix up the rabbitmq HA mode like in new ocata deployments
In ocata we changed the rabbitmq ha policy to "ha-exactly" via the 8ef1050ada0de7f f1f530916c6 f58cf0c6e0ba07a 8879a584084
following changes:
- tht: Iace6daf27a76cb
- puppet-tripleo: Ib62001c03e1e08
We took care of the upgrade path via I3a97505d2ae1ae 27f3080ffe74c33 fdabffd2420
With the move to the ansible-based composable upgrades we left this change out.
And now an upgraded environment has the following policy:
- Upgraded environment
Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"all"}"
- New environment :"exactly" ,"ha-params" :2}"
Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode"
We need to add this pcs resource change to the our upgrade scripts.
Change-Id: I3c4113c207e9d0 c45be43df7c2379 ac26cb60692
Closes-Bug: #1668600