HA deployments disable keepalived in a non-composable way

Bug #1642936 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Steven Hardy

Bug Description

We set a boolean here:

./puppet/services/pacemaker/haproxy.yaml: enable_keepalived: false

Which is then used here to conditionally disable the service at the puppet profile level:

https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/keepalived.pp#L35

This will not work for composable upgrades, as we'll think the service is enabled and start if after the upgrade completes.

Instead we should disable OS::TripleO::Services::Keepalived in t-h-t, either by mapping to OS::Heat::None or by removing it from the ControllerServices list for HA deployments

Steven Hardy (shardy)
Changed in tripleo:
milestone: none → ocata-2
assignee: nobody → Steven Hardy (shardy)
status: New → Triaged
importance: Undecided → High
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/399554

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

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

Reviewed: https://review.openstack.org/399554
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0f742c7ec93c1d13765e34876b087784fc529477
Submitter: Jenkins
Branch: master

commit 0f742c7ec93c1d13765e34876b087784fc529477
Author: Steven Hardy <email address hidden>
Date: Fri Nov 18 11:45:57 2016 +0000

    Disable keepalived for HA deployments via t-h-t

    Currently this is disabled via a conditional in the keepalived
    profile in puppet-tripleo, but this will be incompatible with
    the planned composable upgrades implementation. Instead we should
    disable the service template by mapping to OS::Heat::None, and
    ensure the haproxy manifest uses the t-h-t generated hiera value
    keepalived_enabled instead of hard-coding a hiera override in the
    haproxy template.

    Change-Id: I85a8b1cca7268506de22adfb3a8ce7faa4f157ef
    Partial-Bug: #1642936
    Depends-On: I90faf51881bd05920067c1e1d82baf5d7586af23

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-tripleo (master)

Change abandoned by Steven Hardy (<email address hidden>) on branch: master
Review: https://review.openstack.org/399556
Reason: Obsoleted by https://github.com/openstack/puppet-tripleo/commit/87763459ae57614e092f772595a03e7d552f96d1

Changed in tripleo:
milestone: ocata-2 → ocata-3
Revision history for this message
Steven Hardy (shardy) wrote :

https://review.openstack.org/#/c/399554/ is probably enough to close this I think.

Changed in tripleo:
status: In Progress → Fix Released
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.