Bug 1778613

Summary: Java latest Istag does not link to the version correctly on Imagestream detail page.
Product: OpenShift Container Platform Reporter: XiaochuanWang <xiaocwan>
Component: SamplesAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: aos-bugs, jhadvig, jokerman, spadgett
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the java imagestream sample from the EAP team had an incorrect imagestreamtag defintion for the java 11 image Consequence: that imagestreamtag could not be inspected from the openshift console Fix: correct the upstream EAP imagestreamtag specification for java 11 and pull it down into the openshift samples Result: the java 11 imagestreamtag can now be properly inspected from the openshift console
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 21:53:28 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
See java:java:11 in column From for the latest tag
none
Non-existed url for java:java:11 Istag none

Description XiaochuanWang 2019-12-02 08:18:57 UTC
Created attachment 1641278 [details]
See java:java:11 in column From for the latest tag

Description of problem:
The "Latest" Istag in "From" column on Java Imagestream detail page does not link correctly to the version (Java 11)

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-29-051144

How reproducible:
Always

Steps to Reproduce:
1. Go to Image Stream page of project "Openshift", choose "java"
2. On Java detail page, scroll down the page check the imagestream form (Please refer to the screenshot.)
3. Check and click the column "From" for the tag latest.

Actual results:
The link for latest tag is incorrect which is "java:java:11". 
"java:java:11" page will display "Error Loading : ImageStreamTags must be retrieved with <name>:<tag>" (Please see the screenshot)

Expected results:
Should link correctly to Java:11.

Additional info:

Comment 1 XiaochuanWang 2019-12-02 08:20:34 UTC
Created attachment 1641279 [details]
Non-existed url for java:java:11 Istag

Comment 2 Jakub Hadvig 2019-12-02 12:30:41 UTC
This is not a Management Console issue, but incorrect value for the java's image stream that
cluster-sample-operator is taking care of.

When the latest tag from.name value is set from 'java:11' to '11' the link is displayed and linked correctly.

Comment 3 Jakub Hadvig 2019-12-02 12:41:41 UTC
PR for cluster-sample-operator : https://github.com/openshift/cluster-samples-operator/pull/201

Comment 4 Gabe Montero 2019-12-02 17:21:26 UTC
This is technically a jboss bug in how they define the openjdk imagestreams

I'm pursuing the best path for transferring this work to them (jboss jira, etc.)

Comment 5 Gabe Montero 2019-12-02 19:07:22 UTC
have linked the jboss jira issue and PR from jakub in this bug 

re-moving to POST while we wait on JBoss

Comment 6 Gabe Montero 2019-12-11 18:53:32 UTC
Moving back to post ... need the samples operator change

Comment 9 XiuJuan Wang 2020-01-06 02:27:28 UTC
The issue has fixed in 4.4.0-0.nightly-2020-01-04-014624 version.

Comment 11 errata-xmlrpc 2020-05-13 21:53:28 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/RHBA-2020:0581