Bug 1847976
| Summary: | galera service has a hardcoded start timeout | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Damien Ciabrini <dciabrin> |
| Component: | puppet-tripleo | Assignee: | Damien Ciabrini <dciabrin> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.2 (Train) | CC: | dabarzil, jjoyce, jschluet, ljozsa, lmiccini, mbultel, michele, slinaber, tvignaud |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-tripleo-11.5.0-1.20200914161840.f716ef5.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-15 07:08:44 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
Damien Ciabrini
2020-06-17 13:29:37 UTC
Hi Damian, How can I force a promotion to be over 300s? or override of the promote timeout? Hey Daniel,
To validate this bz you need to deploy an overcloud with a hiera override somewhere in your templates, e.g. setting configuring the timeout to 900s:
parameter_defaults:
ExtraConfig:
tripleo::profile::pacemaker::database::mysql_bundle::promote_timeout: 900
Once the overcloud is deployed, you should see the configured galera promote timeout with:
# sudo pcs resource config galera
Resource: galera (class=ocf provider=heartbeat type=galera)
Attributes: additional_parameters=--open-files-limit=16384 cluster_host_map=controller-0:controller-0.internalapi.localdomain;controller-1:controller-1.internalapi.localdomain;controller-2:controller-2.internalapi.localdomain enable_creation=true log=/var/log/mysql/mysqld.log wsrep_cluster_address=gcomm://controller-0.internalapi.localdomain,controller-1.internalapi.localdomain,controller-2.internalapi.localdomain
Meta Attrs: container-attribute-target=host master-max=3 ordered=true
Operations: demote interval=0s timeout=120s (galera-demote-interval-0s)
monitor interval=20s timeout=30s (galera-monitor-interval-20s)
monitor interval=10s role=Master timeout=30s (galera-monitor-interval-10s)
monitor interval=30s role=Slave timeout=30s (galera-monitor-interval-30s)
>>> promote interval=0s on-fail=block timeout=900s (galera-promote-interval-0s) <<<
start interval=0s timeout=120s (galera-start-interval-0s)
stop interval=0s timeout=120s (galera-stop-interval-0s)
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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement 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/RHEA-2021:3483 |