Bug 2222998 - [OSP17.1] "sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 50 reached, connection timed out, timeout 30.00" error raised after repeated calls of Flavor.get_* methods
Summary: [OSP17.1] "sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 50...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: melanie witt
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 2232689
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-14 20:05 UTC by melanie witt
Modified: 2024-11-21 09:38 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-23.2.3-17.1.20240614020750.2ace99d.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2232689 (view as bug list)
Environment:
Last Closed: 2024-11-21 09:38:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2027755 0 None None None 2023-07-14 20:05:09 UTC
OpenStack gerrit 888513 0 None NEW Decorate only Flavor.get_* methods that execute queries 2023-07-14 20:05:09 UTC
OpenStack gerrit 900832 0 None NEW Decorate only Flavor.get_* methods that execute queries 2023-11-14 00:16:33 UTC
Red Hat Issue Tracker OSP-26633 0 None None None 2023-07-14 20:05:43 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:38:34 UTC

Description melanie witt 2023-07-14 20:05:09 UTC
Description of problem:

This is a copy of upstream bug:

  https://bugs.launchpad.net/nova/+bug/2027755

where repeated calls involving "get" of 'flavors' table records eventually raise the error:

  sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 50 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/14/3o7r)

Version-Release number of selected component (if applicable):

16.x

How reproducible:

Always

Steps to Reproduce:

1. Run 'watch -n 1 openstack flavor list --all --long' and eventually the errors will appear in the nova-api log

Actual results:

Eventual error of "sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 50 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/14/3o7r)" in nova-api log and 500 status code returned to user

Expected results:

No errors

Comment 18 errata-xmlrpc 2024-11-21 09:38:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHOSP 17.1.4 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:9974


Note You need to log in before you can comment on or make changes to this bug.