Bug 1394557 - Wrong value in glance-api configuration file
Summary: Wrong value in glance-api configuration file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: All
OS: Unspecified
low
high
Target Milestone: beta
: 12.0 (Pike)
Assignee: Emilien Macchi
QA Contact: Mike Abrams
URL:
Whiteboard:
Depends On:
Blocks: 1293435 1646932
TreeView+ depends on / blocked
 
Reported: 2016-11-13 14:20 UTC by Avi Avraham
Modified: 2018-11-06 10:40 UTC (History)
16 users (show)

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`.
Clone Of:
Environment:
Last Closed: 2017-12-13 20:49:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1704060 0 None None None 2017-07-13 07:44:33 UTC
OpenStack gerrit 483222 0 None None None 2017-07-13 11:08:07 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.