Containerize cinder

Bug #1668920 reported by Flavio Percoco
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

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:
importance: Undecided → High
milestone: none → pike-2
tags: added: containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/439758

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
status: New → Triaged
Dan Prince (dan-prince)
Changed in tripleo:
status: Triaged → In Progress
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/457011

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in tripleo:
assignee: Dan Prince (dan-prince) → Martin André (mandre)
Changed in tripleo:
assignee: Martin André (mandre) → Dan Prince (dan-prince)
Changed in tripleo:
assignee: Dan Prince (dan-prince) → Martin André (mandre)
Changed in tripleo:
assignee: Martin André (mandre) → Dan Prince (dan-prince)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/458068
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d17880c22923e6e17705b2566a0a7e4eb198a367
Submitter: Jenkins
Branch: master

commit d17880c22923e6e17705b2566a0a7e4eb198a367
Author: Martin André <email address hidden>
Date: Wed May 17 17:31:27 2017 +0200

    Add cinder container images

    Also sort images alphabetically and remove heat-api-cloudwatch image
    that is probably not going to be used.

    Partial-bug: #1668920
    Change-Id: I6dd05fc59599dffab4d57ce68b39611cf5d25f01

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/466564

Revision history for this message
Damien Ciabrini (dciabrin) wrote :

As a side note, we started dedicated reviews for the HA part of cinder-volume

tripleo-heat-templates: https://review.openstack.org/#/c/467752
puppet-tripleo: https://review.openstack.org/#/c/467749

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to paunch (master)

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

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

Reviewed: https://review.openstack.org/468124
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=d33bbb877db887087adf4335f75d09fca4d9af26
Submitter: Jenkins
Branch: master

commit d33bbb877db887087adf4335f75d09fca4d9af26
Author: Dan Prince <email address hidden>
Date: Thu May 25 14:30:12 2017 -0400

    Add --ipc support

    This patch allows paunch to optionally configure docker containers
    with --ipc=host. This is required for some configurations of
    OpenStack Cinder using local machine LVM storage.

    Change-Id: I8d8f0bcc50c0a7364fc6e3b84dd573f7e7439c3b
    Partial-bug: #1668920

Changed in tripleo:
assignee: Dan Prince (dan-prince) → Damien Ciabrini (dciabrin)
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
assignee: Damien Ciabrini (dciabrin) → Dan Prince (dan-prince)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

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

commit fc5bc07b3be401694681420ba453af29b95a9fcf
Author: Damien Ciabrini <email address hidden>
Date: Thu Jun 8 07:48:38 2017 -0400

    Puppet module to deploy cinder-volume bundle for HA

    This module is used by tripleo-heat-templates to configure and deploy
    Kolla-based cinder-volume 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: #1668920

    Change-Id: I95ad4dd89b47396bea672813d87de35e64c04b2d

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

commit 92697b653ebfcb9d3e0af1e470cd0276b8dca04f
Author: Damien Ciabrini <email address hidden>
Date: Fri Jun 2 14:50:02 2017 -0400

    Puppet module to deploy cinder-backup bundle for HA

    This module is used by tripleo-heat-templates to configure and deploy
    Kolla-based cinder-backup 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: #1668920

    Change-Id: If53495ff75d4832cc6be80dc0dc9bd540ab6583b

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

Reviewed: https://review.openstack.org/457011
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=402b2283a84722787dae2de2f6c5705fababeec6
Submitter: Jenkins
Branch: master

commit 402b2283a84722787dae2de2f6c5705fababeec6
Author: Dan Prince <email address hidden>
Date: Sat Apr 15 11:08:09 2017 -0400

    Docker services for Cinder Api and Scheduler

    Adds docker services for Cinder API and Scheduler.

    Co-Authored-By: Gorka Eguileor <email address hidden>
    Co-Authored-By: Jon Bernard <email address hidden>
    Co-Authored-By: Martin André <email address hidden>
    Co-Authored-By: Alan Bishop <email address hidden>

    Depends-On: Ic1585bae27c318bd6bafc287e905f2ed250cce0f

    Change-Id: I5cff9587626a3b2a147e03146d5268242d1c9658
    Partial-bug: #1668920

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/457820
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7f9f0663597fae920dbb4ae7b7ca39e56dcfe048
Submitter: Jenkins
Branch: master

commit 7f9f0663597fae920dbb4ae7b7ca39e56dcfe048
Author: Dan Prince <email address hidden>
Date: Tue Apr 18 15:49:01 2017 -0400

    Docker services for Cinder Backup

    Adds docker services for Cinder Backup

    Co-Authored-By: Gorka Eguileor <email address hidden>
    Co-Authored-By: Jon Bernard <email address hidden>
    Co-Authored-By: Martin André <email address hidden>
    Co-Authored-By: Alan Bishop <email address hidden>

    Partial-bug: #1668920

    Change-Id: I26fc31e59b28da017f0b028b74bde40aaac53ad5

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/466564
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=54c31f664f6723e058e21c29f516507bb97a890b
Submitter: Jenkins
Branch: master

commit 54c31f664f6723e058e21c29f516507bb97a890b
Author: Dan Prince <email address hidden>
Date: Sun May 21 21:56:48 2017 -0400

    Docker service for Cinder Volume

    Adds docker service for Cinder Volume

    Co-Authored-By: Jon Bernard <email address hidden>

    Depends-On: Ic1585bae27c318bd6bafc287e905f2ed250cce0f

    Partial-bug: #1668920

    Change-Id: Ifadb007897f3455b90de6800751a0d08991ebca2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

commit fdb233e64e3d78014dd7e351abfed5aec5035866
Author: Damien Ciabrini <email address hidden>
Date: Thu Jun 8 08:31:23 2017 -0400

    Containerize Cinder-volume for HA

    This service allows configuring and deploying cinder-volume
    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 cinder-volume. 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>
    Partial-Bug: #1668920

    Depends-On: I95ad4dd89b47396bea672813d87de35e64c04b2d

    Change-Id: Ib6396219c3d9484c533f6f9995d565091a197bbb

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

Change abandoned by Flavio Percoco (<email address hidden>) on branch: master
Review: https://review.openstack.org/439758

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

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

commit c5ce649af78b41309182c53eddf336e1ff644988
Author: Damien Ciabrini <email address hidden>
Date: Fri Jun 2 14:55:19 2017 -0400

    Containerize Cinder-backup for HA

    This service allows configuring and deploying cinder-backup
    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 cinder-backup. 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>
    Partial-Bug: #1668920

    Depends-On: If53495ff75d4832cc6be80dc0dc9bd540ab6583b

    Change-Id: Ieec823e10667592bd775bb2642f0c3790a83e85f

Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → pike-rc2
Changed in tripleo:
milestone: pike-rc2 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
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.