Comment 2 for bug 1668600

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/439025
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=41514d0cd603194fecb327f96995c60a9fe6e67a
Submitter: Jenkins
Branch: master

commit 41514d0cd603194fecb327f96995c60a9fe6e67a
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
    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.

    Change-Id: I3c4113c207e9d0c45be43df7c2379ac26cb60692
    Closes-Bug: #1668600