Bug 1382917 - [userinterface_public_716]Duplicated words are in quota warning info when pods/cpu/memory quota are met/exceeded
Summary: [userinterface_public_716]Duplicated words are in quota warning info when pod...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-08 10:09 UTC by Yanping Zhang
Modified: 2016-12-09 21:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 21:51:36 UTC
Target Upstream Version:


Attachments (Terms of Use)
warning-info (136.85 KB, image/png)
2016-10-08 10:10 UTC, Yanping Zhang
no flags Details

Description Yanping Zhang 2016-10-08 10:09:36 UTC
Description of problem:
Set quota/limits on project, make pods, cpu or memory be consumed to met the quota, then try to create resource from image/template or deploy from image on web console, check the warning info on the page, the word "can" is shown double times in the warning info.

Version-Release number of selected component (if applicable):
openshift v1.4.0-alpha.0+b1ed662
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1

How reproducible:
Always

Steps to Reproduce:
1.Set quota/limits on project
#oc create -f  https://raw.githubusercontent.com/openshift/origin/master/examples/project-quota/quota.yaml -n <projectname>
#oc create -f  https://raw.githubusercontent.com/openshift/origin/master/examples/project-quota/limits.yaml -n <projectname>

2.Consume pod to met the pods quota.
#oc run testpod --image=aosqe/hello-openshift --limits="cpu=20m,memory=50Mi"
#oc scale dc/testpod --replicas=10

3.Create app from image on web console, after click "Create", check the warning info on the page.

Actual results:
3.In the warning info, word "can" is shown double times:
"You are at your quota for pods on pods.You can can still create deployment config 'frontend' but no pods will be created until resources are freed. View Quota"

Expected results:
3.The warning info should be:
"You are at your quota for pods on pods.You can still create deployment config 'frontend' but no pods will be created until resources are freed. View Quota"

Additional info:

Comment 1 Yanping Zhang 2016-10-08 10:10:28 UTC
Created attachment 1208315 [details]
warning-info

Comment 2 Jessica Forrester 2016-11-08 14:50:07 UTC
this was fixed

Comment 3 Yanping Zhang 2016-11-09 04:40:19 UTC
Checked on v1.4.0-alpha.1+64f88d7-121, the warning info is updated correctly. The bug has been fixed, so move it to Verified.


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