This change add a min value of 1 to
[oslo_messaging_rabbit]/rpc_conn_pool_size
such that there is always at least 1 connection avaiable.
This change add a runtime check to ensure that
[oslo_messaging_rabbit]/rpc_conn_pool_size is greater than
or equal too [oslo_messaging_rabbit]/conn_pool_min_size
Modified:
oslo_messaging/tests/functional/test_rabbitmq.py
NOTE(stephenfin): We must set the 'conn_pool_min_size' config option in
the 'RabbitMQFailoverTests.test_failover_scenario' test to avoid raising
an error because the minimum is greater than the configured value. This
wasn't necessary on stable/train due to the presence of change
I0f86416623a0b718516147f0660b4df2b74cf867 ("Setup backend scenarios for
functional tests") which changed how our functional tests ran.
Change-Id: I2ad4b9f1d012c9f0586a932ac27d96da1bcc4e4c
Closes-Bug: #1899533
(cherry picked from commit 00d15eaeab)
(cherry picked from commit 8f5847dcbe)
(cherry picked from commit 7c9b070f5b)
Team and repository tags
Oslo Messaging Library
The Oslo messaging API supports RPC and notifications over a number of different messaging transports.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/oslo.messaging/latest/
- Source: https://opendev.org/openstack/oslo.messaging
- Bugs: https://bugs.launchpad.net/oslo.messaging
- Release notes: https://docs.openstack.org/releasenotes/oslo.messaging/
Description
Languages
Python
99.8%
Shell
0.2%