diff options
| author | Michal Arbet <michal.arbet@ultimum.io> | 2025-06-02 18:45:12 +0200 |
|---|---|---|
| committer | Michal Arbet <michal.arbet@ultimum.io> | 2025-06-02 18:45:12 +0200 |
| commit | 901442967597445901e04e7ced7cc78dfa39cb1a (patch) | |
| tree | 45d00d0eea58b760b1256630704b091dee603b1f /tests/run.yml | |
| parent | 172d701e0a24d2026e1ad2d54777b14814dc983c (diff) | |
| download | kolla-ansible-901442967597445901e04e7ced7cc78dfa39cb1a.tar.gz kolla-ansible-901442967597445901e04e7ced7cc78dfa39cb1a.zip | |
[CI] Override MariaDB memory usage for CI
Our CI environment runs all services (including qemu, libvirt, etc.)
on a single node with only 8 GB RAM. The default MariaDB configuration
is too memory-heavy for such constrained resources.
This change introduces a mariadb-overrides.j2 file that limits key
memory-consuming options:
- max_connections = 300 (instead of 10000)
- innodb_buffer_pool_size = 1024M
- tmp_table_size / max_heap_table_size = 32M
These limits help avoid OOM kills during testing and prevent
unnecessary RAM consumption.
This change is CI-specific and does not impact kolla-ansible user
deployments.
Change-Id: I9a59b2f7c5dafdfeb147eb93d89039e98988049f
Diffstat (limited to 'tests/run.yml')
| -rw-r--r-- | tests/run.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run.yml b/tests/run.yml index b08bf1e97..0e11cff06 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -198,6 +198,9 @@ - src: "tests/templates/cinder-overrides.j2" dest: /etc/kolla/config/cinder.conf when: "{{ scenario == 'cephadm' }}" + # galera.cnf + - src: "tests/templates/mariadb-overrides.j2" + dest: /etc/kolla/config/galera.cnf # nova-compute.conf - src: "tests/templates/nova-compute-overrides.j2" dest: /etc/kolla/config/nova/nova-compute.conf |
