Bug 1429368 - [ded-stg2-aws] Overview page lost several container info when metrics configured
Summary: [ded-stg2-aws] Overview page lost several container info when metrics configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-06 08:47 UTC by XiaochuanWang
Modified: 2017-08-16 19:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The web console overview shows an abbreviated image ID for the images of running pods. The sha256 value for an image ID that did not start with `docker://sha256:` was not abbreviated correctly, however. This problem has been fixed.
Clone Of:
Environment:
Last Closed: 2017-08-10 05:18:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
overview page screenshot (102.57 KB, image/png)
2017-03-06 08:47 UTC, XiaochuanWang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description XiaochuanWang 2017-03-06 08:47:27 UTC
Created attachment 1260303 [details]
overview page screenshot

Description of problem:
When resource on overview display metrics chart, "docker-" next to the image confuses user and it should display port.

Version-Release number of selected component (if applicable):
OpenShift Master:     v3.4.1.8
Kubernetes Master:     v1.4.0+776c994 

How reproducible:
Always

Steps to Reproduce:
1. Create a project
2. create resources:
oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/hello-openshift/hello-pod.json
oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/replicaSet/tc536601/replicaset.yaml
oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
3. Check Overview page

Actual results:
3. On the overview page, there is a "docker-" next to the image, like:
"openshift/hello-openshift docker-"
"centos/mysql-57-centos7:latest docker-"
It really confuses user and the page lost port.


Expected results:
3. It should display port "Ports: xxx/TCP"
"docker-" is better to display "docker..." which can easily prompt user that there is more info when mouse is hovered on.

Additional info:
See the screenshot.

Comment 1 Jessica Forrester 2017-03-06 13:42:02 UTC
The docker- text is supposed to show the short SHA for the image, this is a bug that has been fixed in 3.6 with https://github.com/openshift/origin-web-console/pull/1265

The ports being hidden when metrics were visible was intentional in that version of the overview, all container details are replaced by the metrics.  This is changing significantly in 3.6

Considering this fixed for the docker- issue and working as designed for the port issue.

Comment 2 Jessica Forrester 2017-03-06 13:42:22 UTC
Assigning to sam since he wrote the fix.

Comment 3 Troy Dawson 2017-04-11 20:59:14 UTC
This has been merged into ocp and is in OCP v3.6.27 or newer.

Comment 5 XiaochuanWang 2017-04-13 01:51:46 UTC
Verified on OpenShift Master: v3.6.27

Comment 6 XiaochuanWang 2017-04-13 10:17:45 UTC
For 3.6, since the layout on Overview page is totally different than 3.4 and 3.5, better to track it again when Metrics is actually ready on 3.6, so that QE will make sure there won't be any other related side-effect issue after this fix.

Now there is a test blocker bug (https://bugzilla.redhat.com/show_bug.cgi?id=1439551) for metrics on 3.6, so move it back to ON_QA for future track.

Comment 7 XiaochuanWang 2017-04-26 02:12:18 UTC
Deploying metrics for OCP 3.6 is still blocked by bug https://bugzilla.redhat.com/show_bug.cgi?id=1445568

Comment 8 XiaochuanWang 2017-05-04 06:39:47 UTC
Verified on OpenShift Master: v3.6.63 with Metrics.
Both port and image short sha code can be displayed clearly.

Comment 10 errata-xmlrpc 2017-08-10 05:18:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1716


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