Bug 1429368

Summary: [ded-stg2-aws] Overview page lost several container info when metrics configured
Product: OpenShift Container Platform Reporter: XiaochuanWang <xiaocwan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.4.1CC: aos-bugs, jokerman, mmccomas, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 05:18:47 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
overview page screenshot none

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