Bug 1394557

Summary: Wrong value in glance-api configuration file
Product: Red Hat OpenStack Reporter: Avi Avraham <aavraham>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: cyril, egafford, eglynn, ekuvaja, fpercoco, jjoyce, lbopf, mabrams, mburns, mlopes, pgrist, rhel-osp-director-maint, scohen, srevivo, tshefi, tvignaud
Target Milestone: betaKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170718190543.el7ost Doc Type: Release Note
Doc Text:
There is a known issue within the glance-api configuration file. After deployment, you will need to edit /etc/glance/glance-api.conf and change the entry `os_region_name=RegionOne` to this instead: `os_region_name=regionOne`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 20:49:23 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: 1293435, 1646932    

Description Avi Avraham 2016-11-13 14:20:27 UTC
Description of problem:
While testing RFE https://bugzilla.redhat.com/show_bug.cgi?id=1293435 
Cinder support as Glance backend, In /etc/glane/glance-api.conf The following value is "os_region_name=RegionOne" and should to be "os_region_name=regionOne"

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

openstack-glance-13.0.0-1.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. grep os_region_name= /etc/glance/glance-api.conf
2.
3.

Actual results:
os_region_name=RegionOne

Expected results:
os_region_name=regionOne

Additional info:

Comment 1 Cyril Roelandt 2016-11-14 11:26:45 UTC
Isn't this a bug targetting 7.0 (just like https://bugzilla.redhat.com/show_bug.cgi?id=1293435) rather than 10.0?

$ git branch | grep ^\*
* rhos/rhos-7.0-patches
$ git grep "\bos_region_name\b" etc/
etc/glance-api.conf:#os_region_name = <None>
etc/glance-cache.conf:#os_region_name = <None>


I cannot see where "RegionOne" comes from. How did you install Glance? Through triple-o? Could it be a bug with triple-o?

Comment 3 Paul Grist 2016-11-15 18:47:15 UTC
Also for #c1, the issue was originally reported against OSP7 and the upstream RFE made its way into Newton, so that is why target is OSP10 and we want to land the feature here.  Worst case hoping we can find documented work-arounds if needed to allow the feature to work.

Comment 5 Paul Grist 2017-03-23 14:12:31 UTC
Moving to OSP12

Comment 9 Tzach Shefi 2017-08-08 08:33:41 UTC
Verified on: 

openstack-tripleo-heat-templates-7.0.0-0.20170721174554.el7ost.noarch
python-glance-15.0.0-0.20170720002347.0752f7f.el7ost.noarch
python-glance-store-0.21.0-0.20170720000947.599b9b8.el7ost.noarch
openstack-glance-15.0.0-0.20170720002347.0752f7f.el7ost.noarch
python-glanceclient-2.7.0-0.20170622095732.d67b33b.el7ost.noarch

OSP12 containerized deployment 


()[glance@controller-0 /etc/glance]$ grep os_region_name= /etc/glance/glance-api.conf
os_region_name=regionOne

^ as expected.

Comment 12 errata-xmlrpc 2017-12-13 20:49:23 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/RHEA-2017:3462