Bug 1878042 - .spec.customresourcedefinitions.owned[].version is empty on SSP operator CSV making it invalid
Summary: .spec.customresourcedefinitions.owned[].version is empty on SSP operator CSV ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: SSP
Version: 2.5.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 2.5.0
Assignee: Karel Šimon
QA Contact: Ruth Netser
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-11 07:17 UTC by Simone Tiraboschi
Modified: 2020-11-17 13:24 UTC (History)
3 users (show)

Fixed In Version: kubevirt-ssp-operator-container-v2.5.0-39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-17 13:24:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt-ssp-operator pull 234 0 None closed add missing version field in olm-catalog 2020-09-29 05:37:32 UTC
Github kubevirt kubevirt-ssp-operator pull 237 0 None closed fix missing version in csv 2020-09-29 05:37:32 UTC
Red Hat Product Errata RHEA-2020:5127 0 None None None 2020-11-17 13:24:41 UTC

Description Simone Tiraboschi 2020-09-11 07:17:59 UTC
Description of problem:
Recent 2.5.0 builds are failing on "Operator Bundle Data Linting Test"on CVP,
the reported errors are like:

time="2020-09-10T18:24:05Z" level=error msg="Error: Value ssp.kubevirt.io/, Kind=KubevirtCommonTemplatesBundle: owned CRD \"ssp.kubevirt.io/, Kind=KubevirtCommonTemplatesBundle\" not found in bundle \"kubevirt-hyperconverged-operator.v2.5.0\""
...
time="2020-09-10T18:24:05Z" level=error msg="Error: Value ssp.kubevirt.io/v1, Kind=KubevirtCommonTemplatesBundle: CRD \"ssp.kubevirt.io/v1, Kind=KubevirtCommonTemplatesBundle\" is present in bundle \"kubevirt-hyperconverged-operator.v2.5.0\" but not defined in CSV"

Please notice the difference between 'ssp.kubevirt.io/' and 'ssp.kubevirt.io/v1'.

The root cause is that .spec.customresourcedefinitions.owned[].version is now empty in the CSV of SSP oeprator.

The same issue is also present in upstream CSV:
https://github.com/kubevirt/kubevirt-ssp-operator/blob/master/deploy/olm-catalog/kubevirt-ssp-operator.clusterserviceversion.yaml#L26

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

How reproducible:
100%

Steps to Reproduce:
1. Wait for a new build
2.
3.

Actual results:
New builds are rejected by CVP

Expected results:
New builds passes CVP tests

Additional info:
The regression probably comes from https://github.com/kubevirt/kubevirt-ssp-operator/pull/225

Comment 1 Ruth Netser 2020-09-22 19:53:23 UTC
Verified with kubevirt-ssp-operator-container-v2.5.0-42
SSP is deployed successfully.

Comment 4 errata-xmlrpc 2020-11-17 13:24:22 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 Virtualization 2.5.0 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/RHEA-2020:5127


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