Bug 1498897

Summary: [free-stg] Application creation dialog does not close after pressing "Create"
Product: OpenShift Container Platform Reporter: Justin Pierce <jupierce>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Xingxing Xia <xxia>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, spadgett, xtian, yapei
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-05 16:26:01 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:
Attachments:
Description Flags
Dialog after pressing create a couple of times
none
Exceptions after hitting "create" none

Description Justin Pierce 2017-10-05 13:55:09 UTC
Created attachment 1334843 [details]
Dialog after pressing create a couple of times

Description of problem:
Trying to create an ephemeral Jenkins deployment on the free-stg cluster, but the dialog for app creation failed to close or report an error. May be quota related. 

Version-Release number of selected component (if applicable):
OpenShift Master:
v3.7.0-0.143.1 (online version 3.6.0.35)
Kubernetes Master:
v1.7.0+80709908fd

How reproducible:
100% of my attempts

Steps to Reproduce:
1. Try to create an application when your quota is exhausted?


Actual results:
Dialog does not show any error and it does not complete its work. It just stays up.

Comment 1 Justin Pierce 2017-10-05 14:01:08 UTC
Created attachment 1334857 [details]
Exceptions after hitting "create"

Comment 2 Samuel Padgett 2017-10-05 14:25:40 UTC
> Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.

There might be multiple problems here. Status is not getting updating on quota, and the web console has a runtime error because it expects status to be there. We should definitely fix the console runtime error, but it would be good to check if there is another problem.

Also there is a runtime error from an online extension. (See Justin's screenshot.)

Comment 4 openshift-github-bot 2017-10-05 17:49:42 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/d82c0c75be0da2efb1716f72000a044c1cb619bc
Bug 1498897 - Don't break if quota status is not set

Fixes a runtime error in the console checking resource quota when the
quota status has not been set.

https://bugzilla.redhat.com/show_bug.cgi?id=1498897

Comment 7 Xingxing Xia 2017-11-02 03:15:16 UTC
Hi, Samuel, do you know how to make the condition? Seems it only make sense to do verification upon the condition. Otherwise, verifying it when status.used is existent is not meaningful. Asking this, because currently the dialog on free-stg can create/close well and show error/warning notifications well while quota is reached/exceeded, and the quota has "status.used" normally

Comment 8 Xingxing Xia 2017-11-03 03:39:19 UTC
Recent days checked free-stg [v3.7.0-0.178.2 (online version 3.6.0.35)] many times, the original issue 'creation dialog does not close after pressing "Create"' never occurs. Per this, moving bug to Verified. As to the issue of quota "status.used" not set, it never occurs either in free-stg.