Bug 997757 - No way to add allowed_gear_size for a domain via admin tools
Summary: No way to add allowed_gear_size for a domain via admin tools
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
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-08-16 07:26 UTC by Qiushui Zhang
Modified: 2015-05-15 00:20 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Qiushui Zhang 2013-08-16 07:26:36 UTC
Description of problem:
Currently, when adding gear size for a user accunt with "oo-admin-ctl-user", the gear size is added to the account, but the domain of the account still does not have the gear size

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

How reproducible:
always

Steps to Reproduce:
1. On instance, oo-admin-ctl-user -l qiuzhang1 --addgearsize medium
2. If trying to create medium gear with the account, I'll get a failure, saying "Invalid size: medium. Acceptable values are: small"
3. 

Actual results:
Gear size medium is added to the account, but it is not updated for the domain.

Expected results:
We can have two solutions:
1. When adding gear size with "oo-admin-ctl-user", user's domain is updated accordingly. Or we may give an option so that we can choose whether to update domain status.

2. Add an option for "oo-admin-ctl-domain" to update user domain allowed gear sizes.

Additional info:

Comment 1 Clayton Coleman 2013-09-25 20:20:34 UTC
Fixed

Comment 2 Qiushui Zhang 2013-09-26 02:12:12 UTC
Test on devenv 3826.

Now, we can still use the command as before, like "oo-admin-ctl-user -l qiuzhang --addgearsize medium". After adding gear size, e.g. "medium", the corresponding gear size is activated immediately.



Mark the bug as verified.


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