Bug 1839895 (OCPRHV-82-4.5) - OCPRHV-82: RFE: Installer should detect if CA cert from Engine is already imported locally
Summary: OCPRHV-82: RFE: Installer should detect if CA cert from Engine is already imp...
Alias: OCPRHV-82-4.5
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.6.0
Assignee: Douglas Schilling Landgraf
QA Contact: Guilherme Santos
URL: https://issues.redhat.com/browse/OCPR...
Depends On: OCPRHV-176 1850723
TreeView+ depends on / blocked
Reported: 2020-05-25 21:16 UTC by Douglas Schilling Landgraf
Modified: 2020-10-27 16:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2020-10-27 16:01:02 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3637 0 None closed oVirt: general improvements 2021-01-14 10:03:17 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:01:27 UTC

Description Douglas Schilling Landgraf 2020-05-25 21:16:13 UTC
Description of problem:

Today the installer ask to users if the CA Cert is already imported locally.

? SSH Public Key /home/douglas/.ssh/id_rsa.pub
? Platform ovirt
? oVirt API endpoint URL https://engine.medogz.home
? Is the oVirt CA trusted locally? [? for help] (Y/n) 

                       ^--------- here

How this can affect the installation?
Not all users will know if it is already imported or how to import it. Even with documentation it can be challenge.

What's expected?
The installer detect if the CA cert from Engine is already imported in the system or not.

Comment 5 Guilherme Santos 2020-07-22 13:07:33 UTC
Verified on:

1. have the CA certificate imported in the machine beforehand:
# curl -k 'https://<engine-fqdn>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA' -o /tmp/ca.pem
# cp /tmp/ca.pem /etc/pki/ca-trust/source/anchors/ca.pem && update-ca-trust
2. # openshift-install create cluster --log-level=debug --dir=resources

Installation succeeded and no message asking if "Is the oVirt CA trusted locally"

Comment 7 errata-xmlrpc 2020-10-27 16:01:02 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 (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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