Bug 1017676 - MAX_DOMAINS_PER_USER should be added into broker.conf
Summary: MAX_DOMAINS_PER_USER should be added into broker.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 10:22 UTC by Johnny Liu
Modified: 2017-03-08 17:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 09:11:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johnny Liu 2013-10-10 10:22:02 UTC
Description of problem:
ose-2.0 allow one user to create multiple domains, by default MAX_DOMAINS_PER_USER is 1 (refer to line 81 in /var/www/openshift/broker/config/environments/production.rb), I think this key should be configurable in broker.conf.
So suggest to add the following line to broker.conf
MAX_DOMAINS_PER_USER="1"

If user want to enable multiple domain per user, it will be convenient to configure it.

Version-Release number of selected component (if applicable):
2.0/2013-10-08.1 puddle

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 openshift-github-bot 2013-10-14 20:44:25 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/0b7cbbb777dcefc089dd1b3f1b92cf73fd368833
Bug 1017676 - Adding default configurations for team collaboration settings

Comment 4 Johnny Liu 2013-10-21 05:38:54 UTC
Verified this bug with 2.0/2013-10-18.1, and PASS.

Check /etc/openshift/broker.conf, the following lines are already added into conf file.
# Team collaboration settings
MAX_MEMBERS_PER_RESOURCE="100"
MAX_DOMAINS_PER_USER="1"


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