Bug 1491195

Summary: [unified-registration] Storage/Memory/Terminating Memory add on can be downgrade to 0 although resource are occupied in use
Product: OpenShift Online Reporter: yufchang <yufchang>
Component: Accounts and BillingAssignee: Vu Dinh <vdinh>
Status: CLOSED CURRENTRELEASE QA Contact: yufchang <yufchang>
Severity: high Docs Contact:
Priority: medium    
Version: 3.xCC: abhgupta, aos-bugs, jokerman, mmccomas, tiwillia
Target Milestone: ---Keywords: OnlinePro
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-09 18:46:54 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 yufchang 2017-09-13 09:43:36 UTC
Description of problem:
Storage/Memory/Terminating add on can be downgrade to 0 enenthough user are using these resource

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

How reproducible:
always

Steps to Reproduce:(Storage add on as example)
1. subscribe storage add on , eg :3Gi;
2. Create a 1Gi pvc in openshift webconsole;
3. Try to downgrade storage to 0 on unified registration web console;

Actual results:
Downgrade succeed enevthough user are using storage.

Expected results:
Downgrade storage to 0 will failed. Storage/Memory/Terminating Memory add on  only can be downgraded to the used storage as the minium.In this  case, the minimum is 1Gi.


Additional info: