Sean Mooney 425ef28924 add min of 1 to rpc_conn_pool_size
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)
2020-10-29 10:40:43 +00:00
2015-09-24 18:11:22 +08:00
2019-04-19 19:31:51 +00:00
2020-07-02 16:44:18 +02:00
2019-09-20 16:34:16 +00:00
2018-07-04 08:33:49 +07:00
2020-07-02 16:44:18 +02:00
2014-06-05 22:48:44 +02:00
2020-07-02 16:44:18 +02:00
2017-04-08 22:39:02 +08:00
2019-07-05 14:47:53 -04:00
2017-12-13 05:01:29 +00:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

Description
OpenStack library for messaging
Readme 37 MiB
Languages
Python 99.8%
Shell 0.2%