Bug 2126810

Summary: Octavia and designate should use pacemaker enabled redis
Product: Red Hat OpenStack Reporter: Brent Eagles <beagles>
Component: openstack-tripleo-heat-templatesAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: ashtempl, bcafarel, eolivare, gregraka, jamsmith, mburns, oschwart, tkajinam
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230211221036.16b0e65.el9ost Doc Type: Known Issue
Doc Text:
In Red Hat OpenStack Platform (RHOSP) 17.0, the DNS service (designate) and the Load-balancing service (octavia) are misconfigured for high availability. The RHOSP Orchestration service (heat) templates for these services use the non-Pacemaker version of the Redis template. + Workaround: include `environments/ha-redis.yaml` in the `overcloud deploy` command after the `enable-designate.yaml` and `octavia.yaml` environment files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:12:09 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:

Description Brent Eagles 2022-09-14 13:11:56 UTC
This affects deployments where there is more than one redis instance, including the typical 3 controller default deployment. Deployments with tls-e are more severely affected as redis instances aren't configured in a way that allows them to replicate.

By default, environments/services/octavia.yaml, environments/services/designate.yaml and environments/enable-designate.yaml use the non-pacemaker version of the redis template. The non-pacemaker version likely hasn't been tested in HA environments and doesn't include configuration support for tls-e. 

Some possible options:
 - separate ha environemnt files for octavia and designate to include redis
 - make pacemaker a requirement for octavia and designate and have the default environment files include the pacemaker redis instead
 - create a non-pacemaker dependent version of the redis deployment

Comment 1 Brent Eagles 2022-09-14 13:16:16 UTC
An immediate workaround is to make sure environments/ha-redis.yaml is included in the overcloud deploy command line after designate or octavia is specified on the command line.

Comment 6 Takashi Kajinami 2023-01-19 02:03:03 UTC
*** Bug 2161968 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2023-08-16 01:12:09 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