Bug 1441062 - Image Identifier is null
Summary: Image Identifier is null
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.7.0
Assignee: Peter
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-11 06:40 UTC by Vladislav Walek
Modified: 2020-05-14 15:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 21:53:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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


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