Bug 1417645
| Summary: | [RFE] Containerized deployment of Cinder service | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Sean Cohen <scohen> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Jon Bernard <jobernar> |
| Status: | CLOSED ERRATA | QA Contact: | Avi Avraham <aavraham> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | aavraham, abishop, acanan, cschwede, dbecker, egafford, eharney, jjoyce, jschluet, mburns, morazi, pgrist, rhel-osp-director-maint, scohen, slinaber, tbarron, tvignaud |
| Target Milestone: | ga | Keywords: | FutureFeature, TechPreview, Triaged |
| Target Release: | 12.0 (Pike) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-7.0.3-10.el7ost puppet-tripleo-7.4.3-7.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-13 21:06:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1415556, 1442136, 1483692 | ||
|
Description
Sean Cohen
2017-01-30 13:52:37 UTC
Changing to ON_DEV - work already in progress. Add OS-brick gerrit, track all the cinder containerization patches here: - cinder API - iscsid - multipathd - cinder volume - cinder scheduler - cinder backup Moving back to ON_DEV as we've identified 3 patches that are required for the feature to work. [1] and [2] are required for HA, are already on stable/pike, and just need to be pulled down to osp-12. [3] was recently posted to upstream master. This is why ON_DEV and not POST. [1] https://review.openstack.org/518854 [2] https://review.openstack.org/518855 [3] https://review.openstack.org/520787 (In reply to Alan Bishop from comment #11) > Moving back to ON_DEV as we've identified 3 patches that are required for the > feature to work. > > [1] and [2] are required for HA, are already on stable/pike, and just need to > be pulled down to osp-12. > > [3] was recently posted to upstream master. This is why ON_DEV and not POST. > > [1] https://review.openstack.org/518854 > [2] https://review.openstack.org/518855 > [3] https://review.openstack.org/520787 [4] https://review.openstack.org/521102 (this is stable/pike version of [3]) I was asked to summarize a few key points regarding this RFE.
- In a stock OSP-12 deployment, most services are containerized but cinder
services are not. I do not believe OSP-12 supports a completely non-
containerized deployment (everything on baremetal).
- You enable the containerized cinder feature by overriding a handful of
TripleO Heat resources used to deploy the overcloud.
- You do not control the feature by making post-deployment configuration
changes.
- It's best to use a fresh deployment, and not try to update an existing
overcloud deployment.
You enable containerized cinder services by including the following lines in
an existing THT environment file, or by creating a new file and referencing it
in your overcloud deployment command:
resource_registry:
OS::TripleO::Services::CinderApi: /usr/share/openstack-tripleo-heat-templates/docker/services/cinder-api.yaml
OS::TripleO::Services::CinderScheduler: /usr/share/openstack-tripleo-heat-templates/docker/services/cinder-scheduler.yaml
OS::TripleO::Services::CinderVolume: /usr/share/openstack-tripleo-heat-templates/docker/services/cinder-volume.yaml
OS::TripleO::Services::Iscsid: /usr/share/openstack-tripleo-heat-templates/docker/services/iscsid.yaml
The next issue is ensuring the required containers are available for the
deployment. TripleO Pike deployments require you supply a file that specifies
the docker container image name and registry location for all containerized
services. Upstream documentation [1] describes how to create this file, and
the file is automatically generated by deployment tools like
TripleO Quickstart and Infrared. I do not know what the downstream (OSP)
documentation looks like, or how the information should be conveyed to
partners who are using this RFE to develop containerized versions of their
own cinder drivers.
[1] https://docs.openstack.org/tripleo-docs/latest/install/containers_deployment/overcloud.html
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462 |