Bug 1946097

Summary: [oVirt] oVirt credentials secret contains unnecessary "ovirt_cafile"
Product: OpenShift Container Platform Reporter: Gal Zaidman <gzaidman>
Component: Cloud Credential OperatorAssignee: Gal Zaidman <gzaidman>
Status: CLOSED ERRATA QA Contact: wang lin <lwan>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: gdeolive, jdiaz, lwan
Target Milestone: ---   
Target Release: 4.8.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: 2021-07-27 22:57:19 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:
Bug Depends On:    
Bug Blocks: 1945659, 1948396    

Description Gal Zaidman 2021-04-04 12:12:26 UTC
Description of problem:

From BZ[1]:
"""
When the user tried to use an ovirt.config with a ca_file the ca_file path is written to the secret but this will not be the path of the file in the created machines which will cause connection errors in the machine object that tries to find the file that doesn't exist.
Instead we should read the file content and write it as the ovirt_ca_bundle in case the ovirt_ca_bundle is not set on the ovirt.config file.
"""

To fix BZ[1] we need to remove the validations on the ovirt_cafile field

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1945659

Comment 3 Joel Diaz 2021-05-05 18:27:10 UTC
@lwan is there work for you to complete here for this BZ/PR?

Comment 4 wang lin 2021-05-06 02:10:05 UTC
Check the bug https://bugzilla.redhat.com/show_bug.cgi?id=1945659 has verified by gdeolive, I can move this one to verified.

Comment 7 errata-xmlrpc 2021-07-27 22:57:19 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438