Bug 1809780
Summary: | openshift-installer does only import a singe CA from clouds.yaml "cacert" bundle for OpenShift on OpenStack | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Robert Heinzmann <rheinzma> | |
Component: | Installer | Assignee: | Martin André <m.andre> | |
Installer sub component: | OpenShift on OpenStack | QA Contact: | David Sanz <dsanzmor> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | high | CC: | asimonel, jialiu, m.andre, matthew.piechota, pkanthal, pprinett, rsandu | |
Version: | 4.3.z | |||
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: When the CA cert file referenced from the clouds.yaml contained more than one certificate, the complete cert bundle was added to the bootstrap ignition file, but only the first one was actually trusted to gather the ignition file.
Consequence: It was not possible to install OCP on OpenStack environment using intermediate certificates signed by non-default trusted authority.
Fix: Split the CA cert bundle into separate certs and add them to the ignition file as separate entries.
Result: It is now possible to install OCP on OpenStack environment using intermediate certificates signed by non-default trusted authorities.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1810491 1810492 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:17:45 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: | 1810491 |
Description
Robert Heinzmann
2020-03-03 21:01:22 UTC
Verified on 4.5.0-0.nightly-2020-03-30-083935 Not surprisingly, running into this on 4.4.0-rc.9 installer as well. Would love to get this fixed in 4.4.0 so I can actually deploy a cluster. :) For my environment, putting the intermediate CA first in the cacert file worked for ignition boot strap. The root CA needed to be in the file as well for the openstack commands to work. So, cat cacert.pem: ----- BEGIN CERTIFICATE ----- Mxxxx Intermediate CA that signed Openstack endpoint certificates ----- END CERTIFICATE ----- ----- BEGIN CERTIFICATE ----- Mxxxxx Root CA that signed intermediate CA certificate ----- END CERTIFICATE ----- After that, the bundle in install-config.yaml seemed to work as the proxy certs, which are not signed by the same intermediate CA, were file for pulling containers and whatnot. You need to put all the certs required to verify the openstack endpoints certificates in your PEM encoded file. There was an issue where only the first certificate from the cert bundle was used by the bootstrap node to retrieve the ignition file. This is what this BZ is about. The fix is present in 4.4 also, see https://bugzilla.redhat.com/show_bug.cgi?id=1810491. 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, 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/RHBA-2020:2409 |