Bug 2021122 - odf-multicluster-orchestrator fails CVP bundle data linting test
Summary: odf-multicluster-orchestrator fails CVP bundle data linting test
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-dr
Version: 4.9
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ODF 4.9.0
Assignee: umanga
QA Contact: Petr Balogh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-08 12:21 UTC by Boris Ranto
Modified: 2023-08-09 17:00 UTC (History)
9 users (show)

Fixed In Version: v4.9.0-237.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)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-multicluster-orchestrator pull 53 0 None open Bug 2021122: [release-4.9] Fix invalid serviceaccount in bundle 2021-11-12 06:53:11 UTC

Description Boris Ranto 2021-11-08 12:21:40 UTC
Description of problem (please be detailed as possible and provide log
snippests):
The odf-multicluster-orchestrator bundle fails the CVP package linting tests:
http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/odf-multicluster-operator-bundle-container-4.9.0-0.6/be1d3bec-eec2-4ce7-95c6-9fbcd7fd625f/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 linting test
2.
3.


Actual results:
Test failure

Expected results:
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=ServiceAccount \"odfmo-controller-manager\"" bundle-dir=../../../../../test-operator container-tool=docker
time="2021-11-05T10:55:33Z" level=error msg="Error: Value odfmo-controller-manager: 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 : (odf-multicluster-orchestrator.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 odf-multicluster-orchestrator.v4.9.0: checking APIs against Kubernetes version : 1.22"


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

1



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

-> /cvp/cvp-redhat-operator-bundle-image-validation-test/odf-multicluster-operator-bundle-container-4.9.0-0.6/be1d3bec-eec2-4ce7-95c6-9fbcd7fd625f/


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