Bug 837574

Summary: VIP user cannot create medium size gear on node
Product: OKD Reporter: Meng Bo <bmeng>
Component: PodAssignee: Rajat Chopra <rchopra>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: rmillner, xtian
Target Milestone: ---Keywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-13 23:43:15 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 Meng Bo 2012-07-04 09:45:58 UTC
Description of problem:
Enable vip flag for exist user, try to create medium size gear on node will get error, "Invalid Size: medium.  Must be: small.  Please contact support for access to additional sizes."

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

How reproducible:
always

Steps to Reproduce:
1.enable vip flag for user
#rhc-admin-clt-user -l bmeng --setvip true
2.create medium size gear 
#rhc app create -a php1 -t php-5.3 -g medium
3.
  
Actual results:
Invalid Size: medium.  Must be: small.  Please contact support for access to additional sizes.

Expected results:
VIP user should have privilege to create medium size gear.

Additional info:

Comment 1 Rajat Chopra 2012-07-06 23:07:30 UTC
Fixed with pull request#32 in li.repo, whenever that gets merged.

Comment 2 Xiaoli Tian 2012-07-09 05:39:28 UTC
It's merged, move it to ON_QA.

Comment 3 Xiaoli Tian 2012-07-09 08:47:02 UTC
Tested it on devenv_1879, this bug is still not fixed.

VIP user can still not create medium size apps.

Same result with bug's description.

Comment 4 Rajat Chopra 2012-07-09 14:44:12 UTC
devenv_1879 does not have the fixed code.
Pull request#32 was merged into master, but did not get built into 1879.

Next one should have it mended.

Comment 5 Meng Bo 2012-07-10 10:34:34 UTC
Verified this bug on devenv_1882, user with VIP flag enabled but does not add gear medium can create medium size gear on node.
And after change the node profile to medium, the app has the correct medium size specification.

Mark bug as verified.