- Oct 04, 2024
-
-
Michal Arbet authored
Change-Id: I972608b81edb2f5c118cf9a2f734f83ea399a849
-
- Oct 02, 2024
- Sep 30, 2024
-
-
Michal Arbet authored
This patch adds ansible-core as a dependency to requirements.txt since there is really no reason not to have it in the requirements.txt, given that kolla-ansible project even has ansible in its name and ansible-core is a crucial dependency. Change-Id: I4d01b7eb944c4edf6a440f2b775221986509f7eb
-
- Sep 29, 2024
-
-
Michal Arbet authored
This patch fixes an issue where backend related certificates are attempted to be copied when ``kolla_copy_ca_into_containers`` is enabled but ``kolla_enable_tls_backend`` is disabled. The fix consists of these specific tasks now being limited by the condition ``kolla_enable_tls_backend`` Closes-Bug: #2080381 Change-Id: I7ccae4c501ce332519edef336bcceefae9f9568b
-
- Sep 27, 2024
- Sep 26, 2024
-
-
Michal Arbet authored
Kolla-ansible itself requires ansible-core>=2.16,<2.18, but ansible-core in this version no longer supports python38 and python39 as per [1]. So let's just drop this old python support. [1] https://github.com/ansible/ansible/blob/v2.16.11/setup.cfg Change-Id: Ic8aaa57f75479a17c215c27ac5e6df0f18c74edc
-
- Sep 24, 2024
- Sep 23, 2024
-
-
Michal Arbet authored
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
-
Michal Arbet authored
The ProxySQL startup script was incorrectly using the `--reload` flag, which only reloads/merges the configuration without initializing the database from the config file [1]. This change corrects it to use the `--initial` flag, ensuring that the database is always reloaded from the configuration at startup. [1] https://proxysql.com/documentation/configuring-proxysql/#initialstartup Change-Id: I9cc721555a6d19409b6ac24432b6b34a83efc42c
-
Zuul authored
-
- Sep 20, 2024
-
-
Michal Arbet authored
This patch resolves an issue where ProxySQL could not bind due to incorrectly formatted IPv6 addresses in the `mysql_ifaces` configuration. The kolla's `put_address_in_context` filter is now used, ensuring the addresses are properly enclosed in square brackets for correct binding. Closes-Bug: #2081106 Change-Id: Ic166b8d9a500023c8d23ec9fee03b28b268b26e7
-
- Sep 19, 2024
-
-
Michal Arbet authored
This patch adds missing ironic_database_shard_id which is used by proxysql-config role to generate proxysql configuration. Change-Id: I11ddfe73c79cc59a97d119091c8b9a3f5eda001d
-
Zuul authored
-
Michal Arbet authored
This patch removes the hardcoded `distro_python_version` mapping and usage from the configuration and templates, aligning with the dynamic Python version detection introduced in the dependent patch below. The changes simplify the kolla-ansible roles by using general `python3` paths, ensuring compatibility across distributions without requiring version-specific handling. Template files for Horizon, Ironic, Skyline, and others have been updated to reflect this, improving maintainability and reducing complexity. Depends-On: https://review.opendev.org/c/openstack/kolla/+/926744 Change-Id: I85431b058b4184d96600cf17aaf8de871a018d61
-
Michal Nasiadka authored
Add also missing Debian job Change-Id: I6946321aeb892e8c7ba5c0d80ecf17398429d204
-
- Sep 18, 2024
-
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Matt Crees authored
We don't use dots in the image name Change-Id: I29172448c14a1ca9a5fa23abe701366f875959e0
-
Grzegorz Koper authored
Closes-bug: #2077511 Change-Id: Icd15e8d04771cf50bc704f0c40006a8ac0aeb3ef
-
- Sep 17, 2024
-
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Michal Arbet authored
This trivial fix simply consists of adding the forgotten action after the kolla-ansible was reworked in review [1]. [1] https://review.opendev.org/c/openstack/kolla-ansible/+/911417 Closes-Bug: #2080408 Change-Id: I26b5db3a3eeebd758ad05d9cb9aa689a68e1816f
-
Michal Arbet authored
From version 2.1, ProxySQL has a built-in ProxySQL Prometheus exporter. This patch adds an option to easily enable this exporter [1]. [1] https://proxysql.com/documentation/prometheus-exporter Change-Id: I8776cdc0a6ec9e4e35a2424dd0984488514a711f
-
Michal Nasiadka authored
Change-Id: I65fb8fb028a085f0f1c980417c021522b4eea20d
-
- Sep 16, 2024
-
-
Zuul authored
-
- Sep 13, 2024
-
-
Will Szumski authored
When using dnsmasq as a DHCP server, unless you use the noping option (and that is not recommended), the NET_RAW capabilty is required so that dnsmasq can send ICMP packets. These are used to check an address is not currently in use[1]. Docker enables this capability by default. Podman runs containers with a minimal set of capabilities[3]. [1] https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2019q1/012840.html [2] https://docs.docker.com/engine/containers/run/#runtime-privilege-and-linux-capabilities [3] https://github.com/rhatdan/common/blob/f39f2a3f8c7680b9e456b9d235570e511807d6c6/docs/containers.conf.5.md?plain=1#L84-L101 Closes-Bug: #2055282 Change-Id: Ib3a1313df680d91c7f008063937ca7d37e82f690
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-