Ansible deployment of the Kolla containers
Go to file
Michal Arbet 7989756699 Improvement of ProxySQL Monitoring Configuration
This update enhances the monitoring of the databasecluster
in ProxySQL. The default monitoring intervals were insufficient
for reliably detecting failures in the Galera cluster environment.

A detailed configuration for monitoring intervals has been
introduced, providing better control over how quickly and accurately
ProxySQL can identify issues.

  - Variables such as `mariadb_monitor_connect_interval`,
    `mariadb_monitor_galera_healthcheck_interval, and
    `mariadb_monitor_ping_interval` significantly reduce
    the time between connection checks.

  - Timeouts like `mariadb_monitor_galera_healthcheck_timeout`
    and `mariadb_monitor_ping_timeout` allow faster failure
    detection, while `mariadb_monitor_galera_healthcheck_max_timeout_count`
    sets the maximum number of allowed timeouts before marking a node as down.

Calculation:

 - Galera healthcheck:

   4 seconds (interval) + 1 second (timeout) + 4 seconds (interval)
   + 1 second (timeout) = 10 seconds.

 - Ping healthcheck:

   3 seconds (interval) + 2 seconds (timeout) + 3 seconds (interval)
   + 2 seconds (timeout) = 10 seconds.

Both the health check and ping check mechanisms will detect a node failure
within a maximum of 10 seconds. Both processes (health check and ping)
operate independently, and failure in either mechanism will mark the node
as failed.

Health Check Failure Detection: Up to 10 seconds.
Ping Failure Detection: Up to 10 seconds.
Connect Attempts: ProxySQL also tries to connect every 2 seconds, which
helps monitor connectivity.

These changes ensure that ProxySQL can detect issues in 10 seconds
as haproxy, significantly reducing downtime compared to default settings.
This adjustment enables faster and more reliable monitoring, improving system
stability and reducing potential downtime in production environments.

Change-Id: Ic28801519cdb35ed2387a1468b9df661847a5476
2024-09-23 15:38:10 +02:00
ansible Improvement of ProxySQL Monitoring Configuration 2024-09-23 15:38:10 +02:00
contrib Update docs for Ubuntu 20.04 2020-11-20 08:40:36 +00:00
deploy-guide/source [docs] Unify project's naming convention 2021-01-27 20:08:41 +01:00
doc Merge "Add a precheck to catch RMQ SLURP upgrades" 2024-09-19 11:51:15 +00:00
etc/kolla Fixing typo in etc/kolla/globals.yml 2024-09-18 12:04:50 +02:00
kolla_ansible fix flake8 error in database_shards.py 2024-08-05 14:39:32 +00:00
releasenotes Improvement of ProxySQL Monitoring Configuration 2024-09-23 15:38:10 +02:00
roles Merge "CI: test interface names with dashes" 2024-08-16 15:10:34 +00:00
specs CI: Add codespell to pep8 2024-04-22 13:19:23 +00:00
tests Add option to enable proxysql's prometheus exporter 2024-09-17 09:58:10 +02:00
tools Merge "Add command to upgrade to a target version of RMQ" 2024-08-22 21:15:44 +00:00
zuul.d CI: Mark aarch64 non-voting 2024-09-17 09:56:09 +02:00
.ansible-lint Bump ansible-lint version 2024-01-22 22:49:46 +01:00
.codespell-ignore Bump codespell pin to <3 2024-08-08 11:37:16 +00:00
.gitignore Ignore .vscode/ in Git 2020-04-10 15:55:42 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:02 +00:00
.stestr.conf Add custom filters for checking services 2019-09-16 12:48:52 +00:00
.yamllint Fix CI failures 2019-10-15 13:27:55 +01:00
CONTRIBUTING.rst [Community goal] Update the contributor guide 2020-05-20 17:55:57 +02:00
LICENSE Add ASL license 2014-09-20 17:29:35 -07:00
lint-requirements.txt Merge "Bump codespell pin to <3" 2024-08-23 16:59:37 +00:00
README.rst Merge "Drop Vitrage" 2024-04-25 14:26:46 +00:00
requirements-core.yml fluentd: Use labels for transition to v5 2023-11-28 15:13:00 +00:00
requirements.txt add missing license for hvac library 2024-08-22 06:42:44 +00:00
requirements.yml Install openstack.kolla collection 2022-02-21 14:26:48 +00:00
setup.cfg Update python classifier in setup.cfg 2024-01-08 20:21:45 -08:00
setup.py Cleanup py27 support 2020-04-26 12:16:44 +02:00
test-requirements.txt update ansible version 2023-08-11 09:10:31 +08:00
tox.ini Merge "Use py3 as the default runtime for tox" 2024-08-26 10:46:58 +00:00

Kolla Ansible

image

The Kolla Ansible is a deliverable project separated from Kolla project.

Kolla Ansible deploys OpenStack services and infrastructure components in Docker containers.

Kolla's mission statement is:

To provide production-ready containers and deployment tools for operating
OpenStack clouds.

Kolla is highly opinionated out of the box, but allows for complete customization. This permits operators with little experience to deploy OpenStack quickly and as experience grows modify the OpenStack configuration to suit the operator's exact requirements.

Getting Started

Learn about Kolla Ansible by reading the documentation online Kolla Ansible.

Get started by reading the Developer Quickstart.

OpenStack services

Kolla Ansible deploys containers for the following OpenStack projects:

Infrastructure components

Kolla Ansible deploys containers for the following infrastructure components:

Directories

  • ansible - Contains Ansible playbooks to deploy OpenStack services and infrastructure components in Docker containers.
  • contrib - Contains demos scenarios for Heat, Magnum and Tacker and a development environment for Vagrant
  • doc - Contains documentation.
  • etc - Contains a reference etc directory structure which requires configuration of a small number of configuration variables to achieve a working All-in-One (AIO) deployment.
  • kolla_ansible - Contains password generation script.
  • releasenotes - Contains releasenote of all features added in Kolla Ansible.
  • specs - Contains the Kolla Ansible communities key arguments about architectural shifts in the code base.
  • tests - Contains functional testing tools.
  • tools - Contains tools for interacting with Kolla Ansible.
  • zuul.d - Contains project gate job definitions.

Getting Involved

Need a feature? Find a bug? Let us know! Contributions are much appreciated and should follow the standard Gerrit workflow.

  • We communicate using the #openstack-kolla irc channel.
  • File bugs, blueprints, track releases, etc on Launchpad.
  • Attend weekly meetings.
  • Contribute code.

Contributors

Check out who's contributing code and contributing reviews.

Notices

Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.