Containerize HAProxy for HA

Bug #1692908 reported by Damien Ciabrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Michele Baldessari

Bug Description

Create the template for running this service under containers. The documentation for the architecture can be found here[0] and some examples in the source tree[1]

[0] https://docs.openstack.org/developer/tripleo-docs/containers_deployment/
[1] http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/docker/services

Tags: containers
Changed in tripleo:
assignee: nobody → Damien Ciabrini (dciabrin)
status: New → In Progress
Changed in tripleo:
status: In Progress → Triaged
importance: Undecided → Critical
importance: Critical → Medium
milestone: none → pike-2
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: Damien Ciabrini (dciabrin) → Michele Baldessari (michele)
Changed in tripleo:
assignee: Michele Baldessari (michele) → Damien Ciabrini (dciabrin)
Changed in tripleo:
assignee: Damien Ciabrini (dciabrin) → Michele Baldessari (michele)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/458832
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=c21c573fd5156c32ffaece3b101d5424887c398a
Submitter: Jenkins
Branch: master

commit c21c573fd5156c32ffaece3b101d5424887c398a
Author: Damien Ciabrini <email address hidden>
Date: Fri Apr 21 15:09:31 2017 +0200

    Puppet module to deploy HAProxy bundle for HA

    This module is used by tripleo-heat-templates to configure and deploy
    Kolla-based haproxy containers managed by pacemaker.

    We use short-lived containers that call pcs via puppet to create
    the needed pacemaker resources, properties and constraints.

    Co-Authored-By: Michele Baldesari <email address hidden>
    Partial-Bug: #1692908

    Depends-On: I44fbd7f89ab22b72e8d3fc0a0e3fe54a9418a60f
    Depends-On: Ie9b7e7d2a3cec4b121915a17c1e809e4ec950e7f

    Change-Id: Ifcf890a88ef003d3ab754cb677cbf34ba8db9312

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

Reviewed: https://review.openstack.org/459597
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4d4b50393c0f7af71b0b66b19b4238618095c4a9
Submitter: Jenkins
Branch: master

commit 4d4b50393c0f7af71b0b66b19b4238618095c4a9
Author: Damien Ciabrini <email address hidden>
Date: Tue Apr 25 10:59:31 2017 +0200

    Containerize HAProxy for HA

    This service allows configuring and deploying HAProxy containers
    in a HA overcloud managed by pacemaker.

    The containers are managed and run by pacemaker. Pacemaker runs the
    standard Kolla image but overrides the initial command so that
    it explicitely calls HAProxy. This way, we shield ourselves from any
    unexpected future change in Kolla.
    This container needs to use the 'docker_config' section to invoke
    puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
    composability each resource creation needs to happen on the bootstrap
    node of that service and 'docker_puppet_tasks' will only run on the
    controller/primary role.

    Co-Authored-By: Michele Baldessari <email address hidden>
    Closes-Bug: #1692908

    Depends-On: Ifcf890a88ef003d3ab754cb677cbf34ba8db9312

    Change-Id: I2f679bfe195733f4507e9b9e920b678e1370bb82

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b2 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.