Bug 1115238 - [origin_broker_241] Missing configuration item for default region in broker-dev.conf and broker.conf
Summary: [origin_broker_241] Missing configuration item for default region in broker-d...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1116124 1116836
TreeView+ depends on / blocked
 
Reported: 2014-07-02 02:36 UTC by Jianwei Hou
Modified: 2015-05-15 00:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-10 00:48:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jianwei Hou 2014-07-02 02:36:29 UTC
Description of problem:
The default region is configuration files controlled, so we need an item for DEFAULT_REGION_ID="" in broker.conf and broker-dev.conf. At present, we do not have it in our broker configuration files.

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

How reproducible:
Always

Steps to Reproduce:
1. in development.rb, we have
 :default_region_id => conf.get("DEFAULT_REGION_ID", nil)
As a result, we expect a corresponding configuration item in broker-dev.conf

Actual results:
As description

Expected results:
We should have an configuration item in broker.conf and broker-dev.conf

Additional info:

Comment 1 Ravi Sankar 2014-07-03 07:49:04 UTC
Fixed in https://github.com/openshift/li/pull/2733

Comment 2 openshift-github-bot 2014-07-03 15:39:51 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/8b73c548a1dec4af59c4abd9c49172c257a67932
Bug 1115238 - Add DEFAULT_REGION_NAME param to the broker configuration.

Comment 3 openshift-github-bot 2014-07-03 15:39:58 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/83a1ad0c3f3025e07085cfad9bc6916486c60b20
Bug 1115238 - Add DEFAULT_REGION_NAME param to the broker configuration.

Comment 4 Jianwei Hou 2014-07-07 02:12:58 UTC
Verified on devenv_4940, this option is now available in broker config files.

[root@ip-10-231-173-115 ~]# grep DEFAULT_REGION /etc/openshift/broker-dev.conf 
DEFAULT_REGION_NAME=""
[root@ip-10-231-173-115 ~]# grep DEFAULT_REGION /etc/openshift/broker.conf 
DEFAULT_REGION_NAME=""
.conf


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