Description of problem: The digest ID is dummy-sha for ose-elasticsearch-proxy in openshift-ose-elasticsearch-operator-bundle:v5.0.0. It should use the real digest ID. How reproducible: Always Steps to Reproduce: 1. oc image extract registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-elasticsearch-operator-bundle:v5.0.9-11 --confirm 2. cat manifests/elasticsearch-operator.v5.0.0.clusterserviceversion.yaml |grep relatedImages -A 10 relatedImages: - image: registry.redhat.io/openshift4/ose-elasticsearch-operator@sha256:913d53e4251ea699a0e98d911cd04517609ec2a9695f2efec3a2ebb16c802b2e name: ose-elasticsearch-operator - image: registry.redhat.io/openshift4/ose-elasticsearch-proxy@dummy-sha name: ose-elasticsearch-proxy - image: registry.redhat.io/openshift4/ose-logging-elasticsearch6@sha256:2bd5dc9c99b982b8686b4a31c0262e36e69d17b099df2165ec5b711ea1dd916a name: ose-logging-elasticsearch6 - image: registry.redhat.io/openshift4/ose-logging-kibana6@sha256:578a3b3c9f8d01ce58cf66dadb2ce0798d37b38e292d981763518d213b2644cb name: ose-logging-kibana6 - image: registry.redhat.io/openshift4/ose-oauth-proxy@sha256:2c001cb8379f9e592b903356e17deeb117e63d1861a0e4bc261e2a1cc8b50b52 name: ose-oauth-proxy Actual results: - image: registry.redhat.io/openshift4/ose-elasticsearch-proxy@dummy-sha name: ose-elasticsearch-proxy Expected results: The real digest ID(Sha) rather than the word 'dummy-sha'
There is a LABEL called "name" in the Dockerfile which should have prefix "ose-". All components CLO, EO, ES etc have this prefix. This prefix was missing in the in elasticsearch proxy This has to be fixed in logging midstream repo. and the same has been fixed. The git log of elasticsearch proxy dist-git repo (https://pkgs.devel.redhat.com/cgit/containers/elasticsearch-proxy/) shows: diff --git a/Dockerfile.in b/Dockerfile.in index de2dd41..46114b5 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -20,7 +20,9 @@ ENTRYPOINT ["/usr/bin/elasticsearch-proxy"] LABEL \ io.k8s.display-name="OpenShift ElasticSearch Proxy" \ io.k8s.description="OpenShift ElasticSearch Proxy component of OpenShift Cluster Logging" \ - name="openshift/elasticsearch-proxy" \ + io.openshift.tags="openshift,logging,elasticsearch" \ + maintainer="AOS Logging <aos-logging>" \ + name="openshift/ose-elasticsearch-proxy" \ com.redhat.component="elasticsearch-proxy-container" \ io.openshift.maintainer.product="OpenShift Container Platform" \ io.openshift.maintainer.component="Logging" \ The CSV in elasticsearch operator bundle shows name: ose-elasticsearch-proxy - image: registry.redhat.io/openshift4/ose-logging-elasticsearch6@sha256:2bd5dc9c99b982b8686b4a31c0262e36e69d17b099df2165ec5b711ea1dd916a
moving the bug manually to MODIFIED as there is no upstream PR to fix this. This bug was fixed in midstream.
Fixed in elasticsearch-operator-bundle-container-v5.0.9-14 - image: registry.redhat.io/openshift4/ose-elasticsearch-proxy@sha256:f4b79578d06e1ef09100f79dd87749b57b46d48f8ec60c52665738fd2afe4454 name: ose-elasticsearch-proxy
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 (Errata Advisory for Openshift Logging 5.0.0), 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-2021:0652