Bug 1389716

Summary: No quota error info shows up when create extra resources by deploying image or importing yaml/json
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: aos-bugs, jokerman, mmccomas, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-12 14:38:51 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 Yanping Zhang 2016-10-28 09:59:41 UTC
Description of problem:
Create a project, set quota on project, create services to reach the quota. Then on web console, create extra service by importing yaml/json, or create resource by deploying image, after click "Create", it gives no error info, and resources can not be created.

Version-Release number of selected component (if applicable):
openshift v3.4.0.16

How reproducible:
Always

Steps to Reproduce:
1.Create project, set quota on project, and limits services to number 3.
2.Create services in project to reach the quota.
3.Create extra service by importing yaml/json from web console, click "Create".

Actual results:
3. It gives no error info, and resources can not be created.

Expected results:
3. Should give error info: "You are at your quota of 3 services in this project.You will not be able to create the service '**'. View Quota"

Additional info:
Error info can show up when create app from image/template:
You are at your quota of 3 services in this project.You will not be able to create the service 'plnew'. View Quota

Comment 1 Jessica Forrester 2016-10-31 14:33:59 UTC
fixed in https://github.com/openshift/origin-web-console/pull/765

Comment 2 Troy Dawson 2016-11-02 18:01:03 UTC
This has been merged into ose and is in OSE v3.4.0.19 or newer.

Comment 4 Yanping Zhang 2016-11-03 03:33:23 UTC
Checked on OCP v3.4.0.19, there are error info showing up when create one resource exceeding quota by deploying image and by importing yaml/json.
The bug has been fixed, so move it to Verified.