Bug 2021124

Summary: ODR-operator/ramen fails CVP bundle data linting test
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Boris Ranto <branto>
Component: unclassifiedAssignee: Shyamsundar <srangana>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.9CC: bniver, ebenahar, mmuench, muagarwa, ocs-bugs, odf-bz-bot, sostapov, srangana, tmuthami
Target Milestone: ---   
Target Release: ODF 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.9.0-233.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-07 17:46:31 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 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/