Bug 1044357

Summary: [online_ui_279]There are about 3 minutes time delay when displaying the warning message and upgrade link on application types page.
Product: OpenShift Online Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: jliggitt, wsun, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 15:24:00 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:

Description Yujie Zhang 2013-12-18 08:18:46 UTC
Description of problem:

Created 3 applications using free account, and go to application type page immediately, no warining message and upgrade link, tried several times, and they can be displayed after about 3 minutes.

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

How reproducible:
always

Steps to Reproduce:
1.Create 3 applications using free account
2.Go to application type page
3.Try to access application type for more times

Actual results:

The warning message and upgrade link can not be displayed immediately on application type page after creating 3 applications using free account.

Expected results:

The warning message and upgrade link should be displayed immediately on application type page after creating 3 applications using free account.

Additional info:

Comment 1 Jordan Liggitt 2013-12-18 20:13:08 UTC
The number of used gears for the user is cached. It is refreshed:
1. On logout/login
2. On the create application page
3. On the application index page
4. After upgrading

Comment 2 Jordan Liggitt 2014-01-06 15:24:00 UTC
A user rapidly creating multiple applications up to their limit is not a typical use case.

Since they will see the warning and upgrade message on the application create page, it isn't worth skipping the cached info to display a warning on the application types page.

Closing as wontfix