Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1598716

Summary: [RFE][Deployment] [Glance] Add multi store configuration support in tripleo
Product: Red Hat OpenStack Reporter: Pranali Deore <pdeore>
Component: openstack-tripleo-heat-templatesAssignee: Alan Bishop <abishop>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: abishop, amcleod, astupnik, brault, cyril, dcadzow, gcharot, gfidente, johfulto, jvisser, mabrams, mburns, nwolf, owalsh, pgrist, scohen, udesale
Target Milestone: betaKeywords: FutureFeature, InstallerIntegration, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: docs-accepted
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200305103702.27dad4f.el8ost Doc Type: Enhancement
Doc Text:
With this enhancement, you can use director to deploy the Image service (glance) with multiple image stores. For example, in a Distributed Compute Node (DCN) or Edge deployment, you can store images at each site.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 07:49: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: 1760941, 1764511    
Bug Blocks: 1225775, 1466391, 1789430, 1802772    

Description Pranali Deore 2018-07-06 09:45:23 UTC
Description of problem:

Glance adding the support of Multi store which opens the door to a handful of image replication and backend targeting use cases which can provide additional value related to fault tolerance, image locality and policy based image hosting.

To enable multi store support, glance has introduced 'enable_backends' parameter which will have list of enabled stores identified by their property group name. And according to the stores defined in 'enabled_backends', we need to add a separate section for each store in glance-api.conf as well as need to create new ceph.conf files if ceph backend is there in the backends list.

All these configuration support needs to be added in tripleo & puppet-glance



[Note]: Glance Multi Store Patches are not yet merged

Comment 10 Alan Bishop 2019-10-04 18:47:28 UTC
A patch has been posted to update puppet-glance, which is just the first piece of work required for this RFE. Significant puppet-tripleo and tht patches still need to be developed.

Comment 11 Giulio Fidente 2019-10-07 15:11:08 UTC
(In reply to Alan Bishop from comment #10)
> A patch has been posted to update puppet-glance, which is just the first
> piece of work required for this RFE. Significant puppet-tripleo and tht
> patches still need to be developed.

I think we also need to make tripleo call ceph-ansible multiple times to create the ceph config files and keyrings for each cluster

Comment 15 Cyril Roelandt 2020-01-20 20:21:53 UTC
The patch has been merged upstream and seems to be available downstream (it is in remotes/rhos/rhos-16.0-trunk-patches). Should we move this bug to ON_QA or do we need anything else?

Comment 16 Cyril Roelandt 2020-01-20 20:25:04 UTC
And we obviously have an RPM with the fix (branch rhos-16.0-rhel-8-trunk, version 15.4.0-1).

Comment 17 Alan Bishop 2020-01-20 20:52:46 UTC
The puppet-glance patch has merged, but the puppet-tripleo and tht patches are still under development.

Comment 19 Alan Bishop 2020-01-27 17:54:46 UTC
puppet-tripleo and tht patches have been proposed upstream.

Comment 23 Alan Bishop 2020-02-27 14:07:05 UTC
Patches are on master, proposed to stable/train.

Comment 25 John Fulton 2020-03-04 21:58:37 UTC
*** Bug 1779338 has been marked as a duplicate of this bug. ***

Comment 30 Alex McLeod 2020-06-16 12:30:42 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 32 errata-xmlrpc 2020-07-29 07:49:26 UTC
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/RHBA-2020:3148