Bug 1882364 - Import by digest doesn't work for manifest lists
Summary: Import by digest doesn't work for manifest lists
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.4.z
Assignee: Ricardo Maraschini
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On: 1857128
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-24 11:29 UTC by OpenShift BugZilla Robot
Modified: 2020-11-11 04:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Bad managing on conversion from manifest list to manifest Consequence: Imports using digests on manifest lists were not taking place. Fix: We fixed the conversion by using the digest of the selected manifest inside the manifest list. Result: Imports by digest of manifest lists now works as expected.
Clone Of:
Environment:
Last Closed: 2020-11-11 04:56:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift apiserver-library-go pull 36 0 None closed Bug 1882364: Replace bitbucket.org/ww/goautoneg with its mirror 2020-11-05 20:17:58 UTC
Github openshift openshift-apiserver pull 139 0 None closed [release-4.4] Bug 1882364: Using manifest digest on manifest list import 2020-11-05 20:17:40 UTC
Github openshift openshift-apiserver pull 140 0 None closed Bug 1882364: bump apiserver-library-go and library-go 2020-11-05 20:17:40 UTC
Red Hat Product Errata RHBA-2020:4321 0 None None None 2020-11-11 04:57:01 UTC

Comment 1 Ricardo Maraschini 2020-10-02 07:40:29 UTC
PRs exist, awaiting for review.

Comment 2 Ricardo Maraschini 2020-10-19 23:00:53 UTC
Awaiting for review.

Comment 5 XiuJuan Wang 2020-10-26 10:06:20 UTC
Verified with 4.4.0-0.nightly-2020-10-25-180448 version

$ ./oc tag docker.io/library/ubuntu@sha256:d1d454df0f579c6be4d8161d227462d69e163a8ff9d20a847533989cf0c94d90 ubuntu:latest 
Tag ubuntu:latest set to docker.io/library/ubuntu@sha256:d1d454df0f579c6be4d8161d227462d69e163a8ff9d20a847533989cf0c94d90.
$ ./oc describe is 
Name:			ubuntu
Namespace:		xiuwang
Created:		7 seconds ago
Labels:			<none>
Annotations:		openshift.io/image.dockerRepositoryCheck=2020-10-26T10:04:11Z
Image Repository:	image-registry.openshift-image-registry.svc:5000/xiuwang/ubuntu
Image Lookup:		local=false
Unique Images:		1
Tags:			1

latest
  tagged from docker.io/library/ubuntu@sha256:d1d454df0f579c6be4d8161d227462d69e163a8ff9d20a847533989cf0c94d90

  * docker.io/library/ubuntu@sha256:ca013ac5c09f9a9f6db8370c1b759a29fe997d64d6591e9a75b71748858f7da0
      7 seconds ago
$ ./oc version 
Client Version: 4.4.0-0.nightly-2020-10-25-180448
Server Version: 4.4.0-0.nightly-2020-10-25-180448
Kubernetes Version: v1.17.1+fd2e9f9

Comment 7 errata-xmlrpc 2020-11-11 04:56:51 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 (OpenShift Container Platform 4.4.30 bug fix update), 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:4321


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