Bug 910949

Summary: Unable to create new applications from web console
Product: OKD Reporter: John Poelstra <poelstra>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: adietish, dmcphers, mgao
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 14:00:36 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
two existing apps
none
error message none

Description John Poelstra 2013-02-14 01:15:54 UTC
Description of problem:
Unable to create new applications from web console even though I have two applications created and have been granted 10 gears

My user name is the same as my company email address.

OpenShift Ops was unable to diagnose the reason for my problem.

See attached screenshots.

Comment 1 John Poelstra 2013-02-14 01:16:39 UTC
Created attachment 697057 [details]
two existing apps

Comment 2 John Poelstra 2013-02-14 01:17:20 UTC
Created attachment 697058 [details]
error message

Comment 3 John Poelstra 2013-02-14 01:18:27 UTC
As another data point, I am able to create new applications from the commandline.

Comment 4 Clayton Coleman 2013-02-14 04:00:03 UTC
Have you logged out and logged back in recently?

Comment 5 John Poelstra 2013-02-14 04:29:33 UTC
I logged in again and now the issue has disappeared.

Comment 6 Clayton Coleman 2013-02-14 04:43:49 UTC
Do you know the last time you logged out prior to this?  Assuming it was before the last prod push?

Comment 7 John Poelstra 2013-02-14 05:46:28 UTC
I believe it was last night because I happened to clear all my browser cache, etc. and I'm 99% positive I logged in today right before running into the problem.

Comment 8 Clayton Coleman 2013-02-22 14:39:33 UTC
Will reopen if I see more results.

Comment 9 Andre Dietisheim 2013-02-27 09:50:00 UTC
I experienced the same using the Eclipse tooling we have. What I saw in the browser matches the screenshots, the REST service was telling me the same and in the end I simply couldn't create new applications:

I had 3 available gears, was told all there were consumed but only 1 visible application. Destroying the application was not helping me. Once I had it replaced with a new application,  I was told that I had used all available gears. Deleting and re-creating the domain didn't help either.

Comment 10 Clayton Coleman 2013-02-28 01:06:34 UTC
Comment 9 Fixed in https://github.com/openshift/origin-server/pull/1483

Comment 11 Mengjiao Gao 2013-02-28 11:20:36 UTC
Verified this bug for I have not encountered this issue on devenv_2872. 

I can create 3 gears with a freeshift account, and 16 gears with a megashift. 
And I have tried to set my max gears as 20, and then used 15 gears. When I checked my available gears, I can get the right result.