Bug 2133866 - overcloud fails to deploy with FIPS and tls-everywhere [NEEDINFO]
Summary: overcloud fails to deploy with FIPS and tls-everywhere
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ga
: 17.1
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-11 16:44 UTC by Jeremy Agee
Modified: 2023-08-16 01:13 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230224221431.eef23eb.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:12:25 UTC
Target Upstream Version:
Embargoed:
astillma: needinfo? (rhos-maint)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 861573 0 None master: MERGED tripleo-heat-templates: Allow overriding mysql_bundle::gcomm_cipher (I7f47741d4b2a5a3473d24439689cc358bf7738f0) 2023-01-13 12:33:20 UTC
OpenStack gerrit 861574 0 None master: MERGED tripleo-heat-templates: Set gcomm_cipher to an appropriate value if FIPS is enabled (I386ce0d7459cc9750172849215440cd532... 2023-01-13 12:33:26 UTC
OpenStack gerrit 868782 0 None stable/wallaby: MERGED tripleo-heat-templates: Allow overriding mysql_bundle::gcomm_cipher (I7f47741d4b2a5a3473d24439689cc358bf7738f0) 2023-01-13 12:33:32 UTC
OpenStack gerrit 868783 0 None stable/wallaby: MERGED tripleo-heat-templates: Set gcomm_cipher to an appropriate value if FIPS is enabled (I386ce0d7459cc9750172849215440cd532... 2023-01-13 12:33:37 UTC
Red Hat Issue Tracker OSP-19321 0 None None None 2022-10-11 16:59:17 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:13:03 UTC

Description Jeremy Agee 2022-10-11 16:44:26 UTC
Description of problem:
The overcloud deploy fails on the mysql setup when deploying FIPS and tls-everywhere.

The default cipher in hieradata is AES128-SHA256 for mysql and this is not allowed in FIPS

Version-Release number of selected component (if applicable):
RHOS-17.0-RHEL-9-20220909.n.0

How reproducible:
everytime

Steps to Reproduce:
1. deploy OSP systems with FIPS enabled

2. overcloud deploy with fips and tls-e tht items
openstack-tripleo-heat-templates/environments/fips.yaml
openstack-tripleo-heat-templates/environments/ssl/tls-everywhere-endpoints-dns.yaml
openstack-tripleo-heat-templates/environments/ssl/enable-internal-tls.yaml
openstack-tripleo-heat-templates/environments/services/haproxy-public-tls-certmonger.yaml


Actual results:
deploy fails

Expected results:
deploy succeeds

Additional info:
we most likely will need to use a supported cipher

hieradata config
tripleo::profile::pacemaker::mysql_bundle::gcomm_cipher=ECDHE-RSA-AES256-GCM-SHA384

Comment 1 Luca Miccini 2022-10-17 05:43:07 UTC
/usr/share/openstack-tripleo-heat-templates/environments/fips.yaml already contains:

parameter_defaults:
  # Set ISCSI Chap algorithms to specifically disallow MD5
  IscsidCHAPAlgorithms: 'SHA3-256,SHA256,SHA1'

  # Set SnmpdReadonlyUserAuthType to not be 'MD5'
  SnmpdReadonlyUserAuthType: 'SHA'

  # Add RabbitAdditionalErlArgs for FIPS
  RabbitFIPS: true


maybe we should add the gcomm_cipher override to this template (or expose it as parameter in THT?).

Comment 15 errata-xmlrpc 2023-08-16 01:12:25 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577


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