Bug 997757

Summary: No way to add allowed_gear_size for a domain via admin tools
Product: OpenShift Online Reporter: Qiushui Zhang <qiuzhang>
Component: PodAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: ccoleman, xtian
Target Milestone: ---Keywords: UpcomingRelease
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 13:28:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.