N-O upgrades rabbitmq has the wrong ha policy

Bug #1668600 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Michele Baldessari

Bug Description

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:
Change-Id: 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.

Changed in tripleo:
importance: Undecided → High
Changed in tripleo:
importance: High → Critical
assignee: nobody → Michele Baldessari (michele)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/439025

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: Michele Baldessari (michele) → Sofer Athlan-Guyot (sofer-athlan-guyot)
Changed in tripleo:
assignee: Sofer Athlan-Guyot (sofer-athlan-guyot) → Michele Baldessari (michele)
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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/440516

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

Reviewed: https://review.openstack.org/440516
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=16c4cd610da54138ea2c29516023670d8ad19a75
Submitter: Jenkins
Branch: stable/ocata

commit 16c4cd610da54138ea2c29516023670d8ad19a75
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
    (cherry picked from commit 41514d0cd603194fecb327f96995c60a9fe6e67a)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.