Comment 8 for bug 1899533

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (stable/train)

Reviewed: https://review.opendev.org/759410
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=425ef28924f9d4178eaea2c0c0fe9e580b796aaa
Submitter: Zuul
Branch: stable/train

commit 425ef28924f9d4178eaea2c0c0fe9e580b796aaa
Author: Sean Mooney <email address hidden>
Date: Mon Oct 12 22:43:31 2020 +0100

    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 00d15eaeaba0ded0330cdcec7b19eee3adbfb1e1)
    (cherry picked from commit 8f5847dcbe5144272ff7295fce2b50a9f544e5b0)
    (cherry picked from commit 7c9b070f5bc07692c837f9915eb0d8525065d0f6)