Bug 1120804

Summary: [RFE] Add Swift-backed Glance to openstack-puppet-modules
Product: Red Hat OpenStack Reporter: jliberma <jliberma>
Component: openstack-puppet-modulesAssignee: Ivan Chavero <ichavero>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: cwolfe, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-29 19:53:38 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:

Description jliberma@redhat.com 2014-07-17 18:18:54 UTC
Description of problem: Currently openstack-puppet-modules only allow Glance backed by rdb, Gluster, and local files. RFE to allow Glance backed by Swift. This is a common customer use case for object storage.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Crag Wolfe 2014-07-18 19:22:49 UTC
It is true we cannot use swift as the glance backend with the current non-HA quickstack manifests.  However, in the HA case, we should be able to set the swift-related parameters here https://github.com/redhat-openstack/astapor/blob/master/puppet/modules/quickstack/manifests/pacemaker/glance.pp#L22 assuming that $backend == 'swift'.

Note that HA implements glance with quickstack::glance whereas non-HA uses openstack::glance.  Ideally, non-HA would be updated to use the same glance manifest as HA and thus support swift.

Comment 3 Ivan Chavero 2014-07-29 19:53:38 UTC
The puppet swift in openstack puppet modules supports swift as a backend https://github.com/stackforge/puppet-glance/blob/cb0daf02d7a991be642e62294912d93b036c6a5a/manifests/backend/swift.pp