Bug 990341 - Duplicate gear size show in user's allowed gears.
Summary: Duplicate gear size show in user's allowed gears.
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: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-31 02:45 UTC by Liang Xia
Modified: 2015-05-15 00:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-07 22:58:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Liang Xia 2013-07-31 02:45:13 UTC
Description of problem:
Say a user has gear size small (medium/c9), add gear size small (medium/c9) to user via oo-admin-ctl-user will show duplicate small (medium/c9) in user's allowed gear size.

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

How reproducible:
always

Steps to Reproduce:
1.oo-admin-ctl-user -l lxia
2.oo-admin-ctl-user -l lxia --addgearsize medium
3.oo-admin-ctl-user -l lxia --addgearsize medium
4.oo-admin-ctl-user -l lxia
5.rhc account -l lxia

Actual results:
Step 4 show: gear sizes: small, medium, medium
Step 5 show: Allowed Gear Sizes: small, medium, medium

Expected results:
No duplicate.

Additional info:

Comment 1 Rajat Chopra 2013-07-31 19:38:24 UTC
Fixed with pull request - https://github.com/openshift/origin-server/pull/3245

Comment 2 chunchen 2013-08-01 02:12:39 UTC
It's fixed, verified on devenv_3597, please refer to the results:

1.oo-admin-ctl-user -l chunchen --addgearsize medium
2.oo-admin-ctl-user -l chunchen --addgearsize medium
3.oo-admin-ctl-user -l chunchen
4.rhc account -l chunchen

At step 3: gear sizes: small, medium, c9
At step 4: Allowed Gear Sizes: small, medium, c9


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