Bug 1441062

Summary: Image Identifier is null
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: Image RegistryAssignee: Peter <pvolpe>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: low Docs Contact:
Priority: low    
Version: 3.4.0CC: aos-bugs, jforrest, jhadvig
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 21:53:29 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:

Description Vladislav Walek 2017-04-11 06:40:14 UTC
Description of problem:

In Web Console, in the image section (Builds -> Image -> <image_name> -> latest -> Identifier) there is section 'Identifier" which is sometimes null or hash other than image digest hash.

Screenshot attached. What the identifier is and for what it is used? 

Version-Release number of selected component (if applicable):
OpenShift Container Platform

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Michal Fojtik 2017-04-11 09:06:37 UTC
(In reply to Vladislav Walek from comment #0)
> Description of problem:
> 
> In Web Console, in the image section (Builds -> Image -> <image_name> ->
> latest -> Identifier) there is section 'Identifier" which is sometimes null
> or hash other than image digest hash.
> 
> Screenshot attached. What the identifier is and for what it is used? 


This was valid for the v1 images where this identifier mapped to Image field[1].
However, for v2 images we don't set this and in the latest version we don't store
the manifest at all, thus this field should be removed from the web console.

Jessica, Jakub told me that we still have this field there, mind taking this bug
and nuking it?

[1] https://github.com/mfojtik/origin/blob/master/pkg/image/api/dockerpre012/dockertypes.go#L45

Comment 3 Vladislav Walek 2017-04-11 09:36:39 UTC
Hello Michal,

thank you for reply. In which version it will be removed?

Thx

Comment 4 Jessica Forrester 2017-04-11 13:41:54 UTC
This part of the UI is owned by the cockpit team / registry UI team.

Michal what else are we losing from the ImageStreamImage that we were displaying in the console?  When you say we aren't storing the manifest anymore, what all does that include?

Comment 5 Jakub Hadvig 2017-04-11 14:04:50 UTC
Submitted PR for fixing this bug:
https://github.com/openshift/registry-image-widgets/pull/6

Comment 7 ge liu 2017-04-13 10:41:56 UTC
Verified in env:

openshift v3.6.0-alpha.1+2aff95e-12
kubernetes v1.5.2+43a9be4
etcd 3.1.0


identifier is disappears.

Comment 13 errata-xmlrpc 2017-11-28 21:53:29 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/RHSA-2017:3188