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

Bug 1851656

Summary: [RFE]Got `ERROR: crd spec.version not defined. [4.6/logging.openshift.io_clusterlogforwarders_crd.yaml]` when pushing CLO manifests to quay.io
Product: OpenShift Container Platform Reporter: Qiaoling Tang <qitang>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OperatorHub QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, krizza, periklis
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:09:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qiaoling Tang 2020-06-28 01:19:44 UTC
Description of problem:
Copy CLO manifests from https://github.com/openshift/cluster-logging-operator/tree/master/manifests, then push them to quay.io following https://github.com/operator-framework/operator-courier#command-line-interface, got error: 

ERROR: crd spec.version not defined. [4.6/logging.openshift.io_clusterlogforwarders_crd.yaml]

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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Periklis Tsirakidis 2020-06-29 09:25:01 UTC
@Qialoling Tang

This is an error of operator-courier: https://github.com/operator-framework/operator-courier/issues/163

ClusterLogForwarder is one of the newest CRDs based on apiVersion apiextensions.k8s.io/v1. Operator-courier seems to not support them yet! Please re-target this BZ to operator-courier.

Comment 2 Qiaoling Tang 2020-06-29 09:55:27 UTC
Thanks @Periklis, I move this BZ to OLM.

Comment 6 Kevin Rizza 2020-07-28 16:13:02 UTC
This was resolved in https://github.com/operator-framework/operator-courier/pull/189 and is included in the 2.1.9 release of the operator courier. I tested the linked manifests locally and it appears as though they are working. Please reach out if you are still hitting any other issues.

Comment 9 errata-xmlrpc 2020-10-27 16:09:46 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 GA Images), 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:4196