Bug 1313566

Summary: [OSP 8.0 Bug]: Need hieradata for glance::api::show_image_direct_url
Product: Red Hat OpenStack Reporter: Dave Cain <dcain>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: ctatman, dcain, jcoufal, kbasil, mburns, morazi, rhel-osp-director-maint, scohen, sreichar
Target Milestone: ---   
Target Release: 10.0 (Newton)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-20 13:27:20 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:

Description Dave Cain 2016-03-01 22:48:14 UTC
Description: When using the rhel-osp-director Beta7 and associated heat templates, I'm finding that I need to have a way to override the show_image_direct_url parameter in glance-api.conf.  I can override this as a part of a pre-deployment action, however it gets overridden later on in the deployment in some way, presumably by Puppet.

Before Glance specific Puppet setup with my override:
[root@overcloud-controller-0 glance]# cat glance-api.conf | grep direct_url
show_image_direct_url = true

After Glance specific Puppet setup:
[root@overcloud-controller-0 glance]# cat glance-api.conf | grep direct_url
show_image_direct_url = False

I noticed that upstream this variable exists in the controller.yaml file, specifically here:
https://github.com/openstack/tripleo-heat-templates/search?utf8=%E2%9C%93&q=show_image_direct_url

Would it be possible to have this pulled down into another Beta of OSP8 so that I can set this and be able to override it to True as a part of the deployment?  Looking for a clean option here.

My environment now:
[stack@osp-director-b7 ~]$ rpm -qa | grep tripleo
openstack-tripleo-image-elements-0.9.7-2.el7ost.noarch
openstack-tripleo-heat-templates-0.8.7-12.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.2-1.el7ost.noarch
openstack-tripleo-common-0.1.1-1.el7ost.noarch
openstack-tripleo-heat-templates-kilo-0.8.7-12.el7ost.noarch
python-tripleoclient-0.1.1-2.el7ost.noarch
openstack-tripleo-0.0.7-1.el7ost.noarch

Bugzilla dependencies (if any): N/A

Hardware dependencies (if any): N/A

Upstream information

Date it will be upstream: N/A

Version: RHEL-OSP8 Beta7

External links:


Severity (U/H/M/L): M

Business Priority: Needed

Comment 3 Jiri Stransky 2016-03-09 09:46:29 UTC
Backport submitted: https://review.openstack.org/#/c/290358/

In case it doesn't land into Liberty, this could be achieved via ExtraConfig.


parameter_defaults:
  ExtraConfig:
    glance::api::show_image_direct_url: true

Comment 4 Jiri Stransky 2016-03-10 14:23:04 UTC
Merged to stable/liberty.

Comment 5 Dave Cain 2016-03-10 14:24:25 UTC
(In reply to Jiri Stransky from comment #4)
> Merged to stable/liberty.

Thank you!

Comment 6 Mike Burns 2016-04-07 21:14:44 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 8 Jiri Stransky 2016-07-20 13:27:20 UTC
Merged to stable/liberty and released.