Bug 1274680

Summary: [userinterface_public_525]There is no number shown in the circle icon of metrics chart on IE11
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas
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: 2015-11-23 21:17:24 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
num-in-icon none

Description Yanping Zhang 2015-10-23 10:52:40 UTC
Description of problem:
Create pod with cpu/memory request/limits set. When view the pod metrics on IE11, there is no number shown in the circle icon of metrics chart. There is number shown on other browsers, such as Firefox41/Chrome47/Safari9.

Version-Release number of selected component (if applicable):
IE11
openshift v1.0.6-880-g5f33e54
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4
etcd 2.1.2

How reproducible:
Always


Steps to Reproduce:
1.Create pod with cpu/memory request/limits set.
$oc create -f origin/examples/project-quota/application-template-with-resources.json -n pro1
$oc new-app ruby-helloworld-sample-with-resources -n pro1
2.When pods is running, view pod metrics on IE11.
3.

Actual results:
2. There is no number shown in the circle icon of metrics chart. Refer to attachment.

Expected results:
3.Number should be shown in the circle icon of metrics chart

Additional info:

Comment 1 Yanping Zhang 2015-10-23 10:55:26 UTC
Created attachment 1085814 [details]
num-in-icon

Comment 2 Samuel Padgett 2015-10-23 12:02:01 UTC
Same root cause as https://bugzilla.redhat.com/show_bug.cgi?id=1273704

This is a problem in angular-patternfly and might need an upstream fix. You can see the issue by opening this page in IE:

http://angular-patternfly.rhcloud.com/#/api/patternfly.charts.directive:pfDonutPctChart

Comment 3 Samuel Padgett 2015-10-23 19:36:06 UTC
Upstream pull request:

https://github.com/patternfly/angular-patternfly/pull/135

Comment 4 Samuel Padgett 2015-10-26 18:42:32 UTC
Upstream angular-patternfly fix is merged. Waiting for a release to pull in the fix for origin.

Comment 5 Samuel Padgett 2015-10-26 20:13:09 UTC
Origin pull request:

https://github.com/openshift/origin/pull/5406

Comment 6 Yanping Zhang 2015-10-27 04:14:31 UTC
Tested on latest origin code.
openshift v1.0.6-964-g814c05e
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4
etcd 2.1.2

Setup metrics and check pod metrics on IE11, there is number shown correctly in the circle icon now.

The issue has been fixed, so move the bug to Verified.