I did some more research, execute_values() is actually from psycopg2
(a dependency of sqlalchemy), the docs[1] mention fetch is available
since 2.8
The version on my system is:
$ rpm -q python3-psycopg2
python3-psycopg2-2.8.6-1.rhel8.x86_64
[1] https://www.psycopg.org/docs/extras.html#psycopg2.extras.execute_values
On Thu, Mar 17, 2022 at 2:13 PM Jöran Malek <joeran3@gmail.com> wrote:
>
> Enabled the module hotfixes for yoga-testing, successfully updated to
> # rpm -q python3-sqlalchemy
> python3-sqlalchemy-1.4.31-1.el8.x86_64
> Issue is still the same:
> 2022-03-17 13:11:06,310 - cinderlib-client - ERROR - Failure occurred when trying to run command 'storage_stats': execute_values() got an unexpected keyword argument 'fetch' [2725c57d-de29-44b6-b765-523825fd66cb]
>
> Verified after restarting the engine and leaving global maintenance mode.
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV