Bug 1010820 - [fork][origin_ui_80] rhc account display wrong Domains Allowed number "1" for silver who can create more than one domain
Summary: [fork][origin_ui_80] rhc account display wrong Domains Allowed number "1" for...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 06:47 UTC by weiwei jiang
Modified: 2016-10-30 22:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:30:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description weiwei jiang 2013-09-23 06:47:16 UTC
Description of problem:
After set max_domain_per_user>1(like 5) on the instance and restart broker service, then upgrade the user, run `rhc account` will display : " Domains Allowed : 1", but GET /broker/rest/user display {"max_domains":5}, and silver user can create multiple domains via client

Version-Release number of selected component (if applicable):
rhc-1.15.0-build_from_fork_72
fork_ami_origin_ui_72_membership_844

How reproducible:
always

Steps to Reproduce:
1.Set max_domain_per_user>1 (like 5) and restart broker service
2.upgrade user to silver
3.check "Domains Allowed" via `rhc account`

Actual results:
#rhc account
Login wjiang+904 on ec2-204-236-250-26.compute-1.amazonaws.com
-------------------------------------------------------------------------
  ID:                 523fce316311e7ca7d000005
  Plan:               Silver
  Gears Used:         1
  Gears Allowed:      16
  Domains Allowed:    1
  Allowed Gear Sizes: small, medium
  SSL Certificates:   yes


Expected results:
It should not be "1"

Additional info:

Comment 1 Clayton Coleman 2013-09-23 22:15:49 UTC
Fixed in 1af5a23, will be in next fork ami

Comment 2 weiwei jiang 2013-09-26 07:30:54 UTC
Tested on fork_ami_origin_ui_72_membership_863 via rhc build from it, and found this issue is fixed, so verify this issue, thx

# rhc account 
Login wjiang+926 on localhost
----------------------------------------
  ID:                 5243e15d1df48bec72000193
  Plan:               Silver
  Gears Used:         0
  Gears Allowed:      16
  Domains Allowed:    16
  Allowed Gear Sizes: small, medium
  SSL Certificates:   yes


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