Bug 1170021 - Webconsole should show warning info when add cartridge as quota used up to QUOTA_WARNING_PERCENT
Summary: Webconsole should show warning info when add cartridge as quota used up to QU...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Sally
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1169690
TreeView+ depends on / blocked
 
Reported: 2014-12-03 02:54 UTC by Yanping Zhang
Modified: 2017-05-31 18:22 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1169690
Environment:
Last Closed: 2017-05-31 18:22:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Warninginfo.png (31.02 KB, image/png)
2014-12-04 04:52 UTC, Yanping Zhang
no flags Details

Comment 1 Fabiano Franz 2014-12-03 16:32:47 UTC
Fixed in https://github.com/openshift/origin-server/pull/5998

Comment 2 openshift-github-bot 2014-12-03 17:24:30 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/a3637f2271cda2e02ab7525c856638cd27ee8911
Bug 1170021 - quota warning not displayed after cartridge add in the web console

Comment 3 Yanping Zhang 2014-12-04 04:52:22 UTC
Created attachment 964443 [details]
Warninginfo.png

Comment 4 Yanping Zhang 2014-12-04 04:53:00 UTC
Test on devenv_5342. It will show warning info when add cartridge, but there are two warning info about the quota use, pls refer to the attachment. Suggest that only the last warning info is needed. 
Seems like rhc also shows 2 Warning info:
<--snip-->
# rhc cartridge add postgresql-8.4 -a ruby1
Adding postgresql-8.4 to application 'ruby1' ... 
Warning: Gear 54801ad3e7086f401f000040 is using 94.8% of disk quota
Warning: Gear 54801ad3e7086f401f000040 is using 95.3% of disk quota
done

postgresql-8.4 (PostgreSQL 8.4)
-------------------------------
  Gears:          Located with ruby-1.8
  Connection URL: postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT
  Database Name:  ruby1
  Password:       A_4cEueptfmq
  Username:       adminwavwtgk

PostgreSQL 8.4 database added.  Please make note of these credentials:

   Root User: adminwavwtgk
   Root Password: A_4cEueptfmq
   Database Name: ruby1

Connection URL:
postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT
<--snip-->

Comment 5 Rory Thrasher 2016-02-25 17:43:08 UTC
As the Enterprise version of this bug <https://bugzilla.redhat.com/show_bug.cgi?id=1169690> looks to no longer be present, we want to also check that this is no longer a problem with online as well.

QE, Can we verify that this warning is present in online?

Comment 6 Yanping Zhang 2016-02-26 10:06:52 UTC
Checked on devenv_5775, the issue in Comment 4  is still there, pls view the snapshot in Comment 3. Not sure If it will be fixed later, assign the bug back first.

Comment 7 Rory Thrasher 2016-03-28 19:35:18 UTC
QE,

There has since been a fix for the double warnings present in enterprise (bug #1169690) which is also present in in origin-server.  Can we test again based on the latest changes?  There should only be a single warning now when the quota exceeds 90%.

Relevant PR for double warning fix: https://github.com/openshift/origin-server/pull/6369

Comment 8 Yanping Zhang 2016-04-01 07:51:46 UTC
Checked on devenv_5780, the bug has been fixed, so move it to Verified.

Comment 9 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.


Note You need to log in before you can comment on or make changes to this bug.