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

Bug 1394745

Summary: [Docs][RFE] Document Cinder back end for Glance in Director docs
Product: Red Hat OpenStack Reporter: Avi Avraham <aavraham>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED INSUFFICIENT_DATA QA Contact: RHOS Documentation Team <rhos-docs>
Severity: high Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: aavraham, dmacpher, lbopf, srevivo, tshefi
Target Milestone: ---Keywords: Documentation
Target Release: ---Flags: tshefi: automate_bug-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-20 04:57:43 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: 1293435, 1342845, 1646932    
Bug Blocks:    

Description Avi Avraham 2016-11-14 11:26:20 UTC
Description of problem:
A new feature was added to Glance in RHOS10 
https://bugzilla.redhat.com/show_bug.cgi?id=1293435 - Support download from and upload to Cinder volumes and there is no documentation for Director configuration for this setup installation  

Version-Release number of selected component (if applicable):

https://access.redhat.com/documentation/en/red-hat-openstack-platform/10-beta/paged/director-installation-and-usage/ 

How reproducible:

Steps to Reproduce:
None

Comment 1 Dan Macpherson 2016-12-12 04:01:22 UTC
Hi Avi, 

If I understand correctly, you're looking at a way to implement this feature on the undercloud. Is that correct?

This might be difficult for two reasons:

1. The director installation doesn't include Cinder at all.
2. The director uses Swift as a Glance backend.

Can you elaborate on what kind of documentation you aiming for here?

Comment 2 Avi Avraham 2016-12-19 12:31:39 UTC
(In reply to Dan Macpherson from comment #1)
> Hi Avi, 
> 
> If I understand correctly, you're looking at a way to implement this feature
> on the undercloud. Is that correct?
> 
> This might be difficult for two reasons:
> 
> 1. The director installation doesn't include Cinder at all.
> 2. The director uses Swift as a Glance backend.
> 
> Can you elaborate on what kind of documentation you aiming for here?

Hi Dan 
First this feature is not working on RHOS10 and move to RHOS12.
Once this feature will be applicable Cinder need to be deployed by director on the overcloud and add the option to be configure as optional backend to Glance. Maybe the bug need to be refer to triple O team to develop such ability and then document it?

Comment 3 Dan Macpherson 2017-07-31 06:23:29 UTC
So for OSP12, cinder can be installed on the undercloud using the enable_cinder parameter in undercloud.conf.

However, from what I can see, it looks like glance is still using swift for default_store (configured via Puppet) and it looks like the only way to change it is through manual configuration. However, these changes can get overwritten on subsequent puppet runs, so this might not be the best method.

You could try using some hiera overrides in undercloud.conf, but because setting "glance_store/default_store" to "swift" is hardcoded in the swift backend class in the glance Puppet module, I'm not sure what will occur if you also try to set hieradata to configure this param via the API class in the glance Puppet modules  (Will it cause a race condition? Will there be an error?).

Avi, can you provide any advice on the supported way of enabling this feature on OSP12 director?

Comment 4 Lucy Bopf 2018-04-20 04:57:43 UTC
Closing this as insufficient data. It is unclear whether this use case is supported. Please reopen if you can provide a supported and QE-tested way to enable this feature on RHOSP 12 director.