Bug 1781512 - kubevirt-hyperconverged package manifest should refer to operator images by digest, not tag
Summary: kubevirt-hyperconverged package manifest should refer to operator images by d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.3.0
Assignee: Simone Tiraboschi
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-10 07:42 UTC by Jason Shepherd
Modified: 2020-05-04 19:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-04 19:10:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:2011 0 None None None 2020-05-04 19:10:48 UTC

Description Jason Shepherd 2019-12-10 07:42:48 UTC
Description of problem:

In order to avoid supply chain attacks against the operator, and allow repository mirroring, references from the packagemanifest in OCP OLM should be by digest, not by tag.

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


How reproducible:

$ oc get packagemanifest/kubevirt-hyperconverged -o=jsonpath='{.metadata.name}{"\t"}{range .status.channels[*]}{.currentCSV}{"\t"}{.currentCSVDesc.annotations.containerImage}{"\n"}{end}'



Actual results:

kubevirt-hyperconverged	kubevirt-hyperconverged-operator.v2.0.0	registry.redhat.io/container-native-virtualization/container-native-virtualization/hyperconverged-cluster-operator:v2.0.0-32
kubevirt-hyperconverged-operator.v2.1.0	registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator:v2.1.0-22

Expected results:

kubevirt-hyperconverged	kubevirt-hyperconverged-operator.v2.0.0	registry.redhat.io/container-native-virtualization/container-native-virtualization/hyperconverged-cluster-operator@sha256:<blah>
kubevirt-hyperconverged-operator.v2.1.0	registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator@sha256:<blah>

Additional info:

http://post-office.corp.redhat.com/archives/openshift-sme/2019-October/msg01569.html

Comment 1 Nelly Credi 2020-02-17 08:19:26 UTC
Please add fixed in version

Comment 5 errata-xmlrpc 2020-05-04 19:10:37 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-2020:2011


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