Skip to content

Commit

Permalink
Adds support for custom RabbitMQ configuration.
Browse files Browse the repository at this point in the history
In the upstream down to the 2023.2 this fixed in the
Iff0b28b770753c81ac526afd1ce6f61d77fad25c
this change only for 2023.1 and downstream.

Change-Id: Id7415d5499a56910c72ad2745ca2e6b7f042b102
Signed-off-by: Maksim Malchuk <[email protected]>
  • Loading branch information
mmalchuk committed Mar 27, 2024
1 parent c0b18f2 commit 5df65b8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/kolla-openstack/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,12 @@ kolla_extra_placement:
# Whether to enable Prometheus.
kolla_enable_prometheus:

###############################################################################
# RabbitMQ configuration.

# Whether to enable RabbitMQ.
kolla_enable_rabbitmq:

###############################################################################
# Sahara configuration.

Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/kolla-openstack/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ kolla_openstack_custom_config:
dest: "{{ kolla_node_custom_config_path }}/prometheus"
patterns: "*"
enabled: "{{ kolla_enable_prometheus }}"
# RabbitMQ.
- src: "{{ kolla_extra_config_path }}/rabbitmq"
dest: "{{ kolla_node_custom_config_path }}/rabbitmq"
patterns: "*"
enabled: "{{ kolla_enable_rabbitmq }}"
# Sahara.
- src: "{{ kolla_extra_config_path }}/sahara"
dest: "{{ kolla_node_custom_config_path }}/sahara"
Expand Down
1 change: 1 addition & 0 deletions doc/source/configuration/reference/kolla-ansible.rst
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ which files are supported.
``placement.conf`` Placement configuration.
``placement/*`` Extended Placement configuration.
``prometheus/*`` Prometheus configuration.
``rabbitmq/*`` RabbitMQ configuration.
``sahara.conf`` Sahara configuration.
``sahara/*`` Extended sahara configuration.
``swift/*`` Extended swift configuration.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
features:
- Adds support for custom RabbitMQ configuration.

0 comments on commit 5df65b8

Please sign in to comment.