Bug 1944244

Summary: Bundle build for cluster-nfd-operator is failing on OSBS
Product: OpenShift Container Platform Reporter: Zvonko Kosic <zkosic>
Component: Node Feature Discovery OperatorAssignee: Zvonko Kosic <zkosic>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.6.zCC: sejug, wabouham
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1944242
: 1944254 (view as bug list) Environment:
Last Closed: 2021-04-20 19:20:20 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: 1944242    
Bug Blocks: 1944254    

Description Zvonko Kosic 2021-03-29 15:18:24 UTC
+++ This bug was initially created as a clone of Bug #1944242 +++

Bundle build for cluster-nfd-operator is failing on OSBS. It seems to me that OSBS introduced a check and disallows null values in annotations.
cluster-nfd-operator/manifests/olm-catalog/4.7/nfd.v4.7.0.clusterserviceversion.yaml

Line 15 in 110fdc7
containerImage:

is empty. We need to either give it a value to use an empty string "", though I am not sure if the check will allow empty strings or not.

Comment 3 Walid A. 2021-04-14 14:16:14 UTC
Verified that the latest nfd.v4.6.0.clusterserviceversion.yaml file from the release-4.6 branch of https://github.com/openshift/cluster-nfd-operator.git contains the image name in the annotations "containerImage" field:

  annotations:
    .
    .
    .
    provider: Red Hat
    support: Red Hat
    containerImage: registry.redhat.io/openshift4/ose-cluster-nfd-operator:v4.6.0.  <===
    createdAt: 2019-05-30T00:00:00Z
    certified: "false"
    repository: https://github.com/openshift/cluster-nfd-operator

Comment 5 errata-xmlrpc 2021-04-20 19:20:20 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.6.25 extras 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-2021:1155