Bug 2021124 - ODR-operator/ramen fails CVP bundle data linting test
Summary: ODR-operator/ramen fails CVP bundle data linting test
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: unclassified
Version: 4.9
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ODF 4.9.0
Assignee: Shyamsundar
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-08 12:25 UTC by Boris Ranto
Modified: 2023-08-09 17:03 UTC (History)
9 users (show)

Fixed In Version: 4.9.0-233.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-07 17:46:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Boris Ranto 2021-11-08 12:25:46 UTC
Description of problem (please be detailed as possible and provide log
snippests):
ODR-operator/ramen bundles (both) fail the CVP bundle data linting test:
http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/odr-cluster-operator-bundle-container-4.9.0-0.6/593dd017-153d-4e06-8043-bfde49f04783/operator-metadata-linting-bundle-image-output.txt

Version of all relevant components (if applicable):
All

Can this issue reproducible?
Always


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Check the data linting test
2.
3.


Actual results:
The test fails.

Expected results:
The test passes.


Additional info:
Copying the full test output:

===== Test: operator-metadata-linting-bundle-image =====

 

Operator SDK version:
-------------------------

operator-sdk version: "v1.13.1", commit: "1659ab58a073999463e6dcdf18bdc359a315e091", kubernetes version: "1.21", go version: "go1.16.8", GOOS: "linux", GOARCH: "amd64"

Validation output:
-------

time="2021-11-05T10:55:32Z" level=debug msg="Debug logging is set"
time="2021-11-05T10:55:33Z" level=debug msg="Found manifests directory" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Found metadata directory" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Getting mediaType info from manifests directory" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Found annotations file" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Could not find optional dependencies file" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating bundle contents" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating /v1, Kind=ConfigMap \"openshift-trusted-cabundle\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating rbac.authorization.k8s.io/v1, Kind=ClusterRole \"ramen-dr-cluster-metrics-reader\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating /v1, Kind=ConfigMap \"ramen-dr-cluster-operator-config\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating /v1, Kind=Service \"ramen-dr-cluster-operator-metrics-service\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=debug msg="Validating /v1, Kind=ServiceAccount \"ramen-dr-cluster-operator\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=error msg="Error: Value ramen-dr-cluster-operator: invalid service account found in bundle. sa name cannot match service account defined for deployment spec in CSV"
time="2021-11-05T10:55:33Z" level=warning msg="Warning: Value : (odr-cluster-operator.v4.9.0) csv.Spec.minKubeVersion is not informed. It is recommended you provide this information. Otherwise, it would mean that your operator project can be distributed and installed in any cluster version available, which is not necessarily the case for all projects."
time="2021-11-05T10:55:33Z" level=warning msg="Warning: Value odr-cluster-operator.v4.9.0: checking APIs against Kubernetes version : 1.22"


return code:
------------

1



-------------------
Execution Reference:

-> /cvp/cvp-redhat-operator-bundle-image-validation-test/odr-cluster-operator-bundle-container-4.9.0-0.6/593dd017-153d-4e06-8043-bfde49f04783/


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