diff options
| author | Piotr Milewski <vurmil@gmail.com> | 2025-11-04 11:22:45 +0100 |
|---|---|---|
| committer | Piotr Milewski <vurmil@gmail.com> | 2026-03-27 15:00:46 +0100 |
| commit | 04f1276d652afbe6eb03b184902594666117d631 (patch) | |
| tree | 49d06fd8995dd1f6fe278f26cbe020250e2bc2df /tests | |
| parent | eeca18e402a245fdb90914f17f49e42f52ede286 (diff) | |
| download | kolla-ansible-04f1276d652afbe6eb03b184902594666117d631.tar.gz kolla-ansible-04f1276d652afbe6eb03b184902594666117d631.zip | |
kolla-ansible: Add RabbitMQ 4.2 support and dynamic upgrade paths
The RabbitMQ version check currently hardcodes allowed version jumps.
This makes supporting new major/minor releases (like 4.2) rigid and
requires modifying the core task file.
This commit introduces the `rabbitmq_allowed_upgrades` variable in
the role's defaults. This allows operators to define explicit version
jumps (e.g., 3.13 to 4.2) and makes the upgrade logic more flexible.
The version validation logic now:
1. Checks for standard minor increments (e.g., 4.1 -> 4.2).
2. Checks for explicitly defined jumps in `rabbitmq_allowed_upgrades`.
By moving these definitions to defaults, operators can easily override
them in globals.yml if necessary.
Depends-On: https://review.opendev.org/c/openstack/kolla/+/966017
Change-Id: I0e19cf109eb5665045806b7d925779e82164c2dc
Signed-off-by: Piotr Milewski <vurmil@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
