Repository navigation
fix(database): align database timeouts with service timeouts - #1858
Merged
Merged
Conversation
Contributor
|
Collaborator
|
Recycle timeout of 1800 is rather high we typically set it to 600, because if the connection isn't used within that time then it's likely not happening inside 1800 either. |
rackerchris
force-pushed
the
galera-service-tuning
branch
from
October 29, 2026 15:39
b13af38 to
c18003c
Compare
Contributor
Author
|
I reverted the change to connection recycle from 1800 back to 600. @bjoernt can i get another review? |
bjoernt
approved these changes
Oct 29, 2026
rackerchris
added a commit
that referenced
this pull request
Oct 30, 2026
rackerchris
added a commit
that referenced
this pull request
Nov 16, 2026
* Release 2026.3.2 (#1880) * feat: Migrating observability to its own repo, retain observability i… (#1807) * feat: Migrating observability to its own repo, retain observability installers * chore: Cleaning update observability submodules and workflows * fix: Adjusting monitoring doc for correct postgres link * chore: Adding release notes for observability migration * fix: Adjusting bootstrap to better handle symlink and lab scenario (#1867) * fix: Updating observability bootstrap to cleanup leftover dirs (#1873) * fix: Updating observability getting started docs for new bootstrap (#1878) * fix: Updating missing observability gitignore entries (#1881) (#1882) * Cherry picked Trove changes needed for LA: (#1884) OSPC-2427 Trove: Image builds fail in production environment (#1840) OSPC-2421 Trove: MySQL Backup image not built w/ the correct openstack version (#1857) OSPC-2429 Trove: Database instances fail to build with flavors that have ephemeral or swap set (#1846) * fix: set Skyline prometheus_endpoint to Prometheus in monitoring namespace (#1886) Signed-off-by: Sowmya Nethi <sowmya.kamavaram@rackspace.com> * feat(cinder_volumes): configure cinder-rxt and virtualenv deployment (#1887) - Configure cinder_rxt_git_repo and cinder_rxt_release_branch in role defaults (defaulting to cinder-rxt main) - Add cinder user to disk group and configure systemd-tmpfiles for lock_path - Deploy modular configuration drop-ins in /etc/cinder/cinder.conf.d/ for lock_path and internal_tenant image-volume caching - Use openstack.cloud module to resolve internal tenant project and user IDs - Configure virtualenv site-packages eventlet SSL patch and rootwrap exec_dirs - Create symlink /opt/cinder/etc/cinder -> /etc/cinder (cherry picked from commit dec6752) * fix(database): align database timeouts with service timeouts (#1858) (#1888) (cherry picked from commit 45e1b4e) * Fix lab_tenant_egress_snat_enabled to default to false (#1895) (#1898) Closes-Bug: OSPC-2495 (cherry picked from commit c9c6ff6) Co-authored-by: Bjoern Teipel <bjoern.teipel@rackspace.com> * feat: add flavor QoS cutover migration tool (#1900) (#1901) Add a dry-run-first ops tool for migrating legacy Nova flavor bandwidth limits to Neutron QoS policies. - define lite, plus, pro, and elite egress policies - map 80 flavors across DFW, SJC, and IAD regions - convert Nova kB/s values to rounded Neutron kbps limits - update flavor extra specs and cached Nova instance flavors - apply policies to existing compute-owned ports - fail closed on conflicts, active operations, and concurrent changes - support multi-cell deployments and guarded rollback - add unit tests, operator documentation, and a release note (cherry picked from commit 621d894) * Release 2026.3.2 rc cp (#1909) * feat: managed MariaDB port-forward in Genestack. (#1904) Key behavior: - --kubectl-port-forward creates a loopback-only tunnel to mariadb-cluster-primary. - Dynamically selects an available local port. - Reads mariadb/root-password directly from Kubernetes memory—no credentials file. - Uses the primary MariaDB service for writes. - Always terminates the tunnel on: - Success - Preflight/apply failure - Timeout or exception - Ctrl-C - Startup failure - Force-kills the subprocess if graceful termination times out. - Rejects conflicting direct MariaDB connection options. (cherry picked from commit 2fcef70) * fix(capi): os_auth_url variable (#1902) - Add os_admin_password as parameter and retrieve Keystone admin password from the Kubernetes secret - Add os_auth_url as parameter and retrieve if from a Kubernetes secret (cherry picked from commit bd440ba) * fix: moar flavor migration script hardening (#1906) (cherry picked from commit 7013f84) --------- Co-authored-by: Bjoern Teipel <bjoern.teipel@rackspace.com> --------- Signed-off-by: Sowmya Nethi <sowmya.kamavaram@rackspace.com> Co-authored-by: phillip.toohill <phillip.toohill@rackspace.com> Co-authored-by: Kevin Ayers <kevin.ayers@rackspace.com> Co-authored-by: Sowmya Nethi <sowmya.kamavaram@rackspace.com> Co-authored-by: Dan With <dan.with@rackspace.com> Co-authored-by: Bjoern Teipel <bjoern.teipel@rackspace.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(database): align MariaDB timeouts with service DB pool recycle
Services against the Galera MariaDB cluster logged repeated
Aborted connection ... Got timeout reading communication packetswarnings.Root cause: the Galera overlay set
wait_timeout=360while every service pool recycled atconnection_recycle_time=600. The server dropped idle pooled connections at 360s, before the pool recycled them at 600s.Fix: make the pool recycle before the server drops the connection, at the largest interval that allows it:
The pool now recycles at 1800s, well under the 3600s server ceiling, so it closes idle connections gracefully and the server no longer aborts them.
Scope
base-kustomize/mariadb-cluster/galera/kustomization.yaml— GaleramyCnf(replication base + Grafana cluster already at 3600, unchanged)base-helm-configs/<svc>/<svc>-helm-overrides.yaml—connection_recycle_time: 1800in all 17 services (nova ×3)releasenotes/notes/mariadb-db-pool-timeout-alignment-release-2026.3.3.yamlNotes
connection_recycle_timemust stay lower than MariaDBwait_timeoutfor graceful pool-side cleanup; the 1800/3600 pairing is deliberate.pool_timeout(60s) is the wait-for-free-conn timeout, not the idle timeout — unchanged.mariadb-clusterpods and affected services.reno lintfails on a UID collision in threeops-tools-check-octavia-ovn-*notes from PR feat: Add standardized ops-tools suite for release-2026.3.0 #1758 — documented in the release note.