Il giorno gio 17 mar 2022 alle ore 16:20 Alfredo Moralejo Alonso <amoralej@redhat.com> ha scritto:On Thu, Mar 17, 2022 at 2:00 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:Il giorno gio 17 mar 2022 alle ore 13:40 Benny Zlotnik <bzlotnik@redhat.com> ha scritto: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
latest version in appstream is 2.7.5-7.el8+Alfredo Moralejo Alonso Perhaps yoga is missing an updated python3-psycopg2 to match python3-sqlalchemy-1.4.31-1.el8.x86_64 and python3-cinderlib-4.1.0-1 on el8s?I see it built for el9s but not for el8s: https://cbs.centos.org/koji/buildinfo?buildID=34610Actually, we only have python-psycopg2 as Build Requirement in CS9 as we don´t support postgresql as database for openstack. We don't ship it in the repos.I see one for cs8 by infra team https://cbs.centos.org/koji/buildinfo?buildID=32014 that you probably could crosstag?Ok, taking
Alfredo[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
Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.--Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV