Bug 1946097 - [oVirt] oVirt credentials secret contains unnecessary "ovirt_cafile"
Summary: [oVirt] oVirt credentials secret contains unnecessary "ovirt_cafile"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Credential Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Gal Zaidman
QA Contact: wang lin
URL:
Whiteboard:
Depends On:
Blocks: 1945659 1948396
TreeView+ depends on / blocked
 
Reported: 2021-04-04 12:12 UTC by Gal Zaidman
Modified: 2022-02-15 21:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:57:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cloud-credential-operator pull 317 0 None open Bug 1946097: oVirt credentials secret contains unnecessary "ovirt_cafile" 2021-04-04 12:15:59 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:57:46 UTC

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


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