Remove support for amqp1

Support is removed in oslo.messaging so we remove support in
openstack-ansible roles.

Change-Id: I03d3bdf4b3d3fd071ab892dfa005603e8f300566
This commit is contained in:
Jonathan Rosser
2025-01-06 10:21:34 +00:00
parent e53cd5d886
commit 464a28b3de
6 changed files with 1 additions and 26 deletions

View File

@@ -122,10 +122,6 @@ aodh_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(ao
aodh_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}"
aodh_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}"
## (Qdrouterd) info
# TODO(ansmith): Change structure when more backends will be supported
aodh_oslomsg_amqp1_enabled: "{{ aodh_oslomsg_rpc_transport == 'amqp' }}"
## uWSGI setup
aodh_wsgi_threads: 1
aodh_wsgi_processes_max: 16
@@ -188,9 +184,6 @@ aodh_pip_packages:
- warlock
aodh_user_pip_packages: []
aodh_optional_oslomsg_amqp1_pip_packages:
- oslo.messaging[amqp1]
aodh_memcached_servers: "{{ memcached_servers }}"
aodh_alarm_notifier_init_overrides: {}

View File

@@ -58,10 +58,7 @@
venv_build_distro_package_list: "{{ aodh_devel_distro_packages }}"
venv_install_destination_path: "{{ aodh_bin | dirname }}"
venv_pip_install_args: "{{ aodh_pip_install_args }}"
venv_pip_packages: >-
{{ aodh_pip_packages |
union(aodh_user_pip_packages) |
union(((aodh_oslomsg_amqp1_enabled | bool) | ternary(aodh_optional_oslomsg_amqp1_pip_packages, []))) }}
venv_pip_packages: "{{ aodh_pip_packages | union(aodh_user_pip_packages) }}"
venv_facts_when_changed:
- section: "aodh"
option: "venv_tag"

View File

@@ -36,7 +36,3 @@ aodh_service_distro_packages:
aodh_test_distro_packages:
- git
aodh_oslomsg_amqp1_distro_packages:
- libsasl2-modules
- sasl2-bin

View File

@@ -15,9 +15,6 @@
aodh_package_list: |-
{% set packages = aodh_distro_packages + aodh_service_distro_packages %}
{% if aodh_oslomsg_amqp1_enabled | bool %}
{% set _ = packages.extend(aodh_oslomsg_amqp1_distro_packages) %}
{% endif %}
{{ packages }}
_aodh_bin: "/usr/bin"

View File

@@ -36,8 +36,3 @@ aodh_service_distro_packages:
aodh_test_distro_packages:
- git
aodh_oslomsg_amqp1_distro_packages:
- cyrus-sasl-lib
- cyrus-sasl-plain
- cyrus-sasl-md5

View File

@@ -15,9 +15,6 @@
aodh_package_list: |-
{% set packages = aodh_distro_packages %}
{% if aodh_oslomsg_amqp1_enabled | bool %}
{% set _ = packages.extend(aodh_oslomsg_amqp1_distro_packages) %}
{% endif %}
{{ packages }}
_aodh_bin: "/openstack/venvs/aodh-{{ aodh_venv_tag }}/bin"