Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1781690

Summary: cam-operator pulls operator image by tag instead of by digest
Product: OpenShift Container Platform Reporter: John Matthews <jmatthew>
Component: Migration ToolingAssignee: Jason Montleon <jmontleo>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.zCC: ernelson, jmontleo, jshepherd, xjiang
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1781504 Environment:
Last Closed: 2019-12-19 15:44:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1781504    
Bug Blocks:    

Description John Matthews 2019-12-10 12:03:26 UTC
+++ This bug was initially created as a clone of Bug #1781504 +++

Description of problem:

cam-operator pulls operator image by tag instead of by digest

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

$ oc version
Client Version: openshift-clients-4.2.2-201910250432-4-g4ac90784
Server Version: 4.2.10
Kubernetes Version: v1.14.6+17b1cc6

How reproducible:

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

Actual results:

cam-operator	cam-operator.v1.0.0	registry.redhat.io/rhcam-1-0/openshift-migration-rhel7-operator:v1.0


Expected results:

cam-operator	cam-operator.v1.0.0	registry.redhat.io/rhcam-1-0/openshift-migration-rhel7-operator@sha256:<blah>



Additional info:

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

--- Additional comment from John Matthews on 2019-12-10 12:02:48 UTC ---

Thank you for the BZ.

We've updated our operator to use shas about ~2-3 weeks ago but we haven't yet released a version with the work.
Planning to release this in our next z-stream targeting 12/19.

Comment 1 Erik Nelson 2019-12-17 14:33:02 UTC
Backed up to MODIFIED so this can be added to the errata.

Comment 3 Xin jiang 2019-12-18 02:33:26 UTC
verified it with the latest images.

Comment 5 errata-xmlrpc 2019-12-19 15:44:27 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-2019:4304