Bug 1787745
| Summary: | Meteringconfig failed during ansible setup to gernate RSA private key with Openshift having FIPS enabled. | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Peter Ruan <pruan> | |
| Component: | Metering Operator | Assignee: | tflannag | |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ruan <pruan> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.3.0 | CC: | cvogel, scuppett, sd-operator-metering | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
When attempting to run Metering on a FIPS-enabled cluster, we fail role execution while generating user TLS certificates calling the 'openssl_privatekey' module. This module utilizes the module_utils/crypto.py helper library. This library iterates over a list of hashlib "FIPS-compliant" algorithms but the 'md5' algorithm was present in that list.
We "vendored" this python helper library in the metering-ansible-operator's role module_utils directory, removing the 'md5' algorithm from the list of available algorithms. This allowed role execution to progress past the TLS-related tasks.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1788208 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:22:02 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: | 1788208 | |||
|
Description
Peter Ruan
2020-01-04 22:50:19 UTC
verified with imageID: quay.io/openshift/origin-metering-ansible-operator@sha256:d8eb8c604066c5fd1b398456f274217cc2907cedd6fddeda72691945979d1196 I can install successfully and get report data back. 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:0581 |