Bug 2065294

Summary: ceph support via cinderlib is failing due to too old python-psycopg2
Product: [oVirt] ovirt-distribution Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: sshmulev
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5.0CC: bugs, sfishbai
Target Milestone: ovirt-4.5.0Keywords: Rebase
Target Release: 4.5.0Flags: sbonazzo: ovirt-4.5?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-psycopg2-2.8.6-3.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-28 09:26:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2022-03-17 15:39:12 UTC
Reported on https://lists.ovirt.org/archives/list/devel@ovirt.org/thread/NO2QY5AYNREQKWDTMRKUOEKKVPX222AZ/

ceph support via cinderlib is failing due to:

2022-03-17 10:31:26,932 - cinderlib-client - ERROR - Failure occurred
when trying to run command 'storage_stats': execute_values() got an
unexpected keyword argument 'fetch'
[a12d3d80-813a-42ab-8b81-a26ba53ce5f3]

 execute_values() is actually from psycopg2
(a dependency of sqlalchemy), the docs[1] mention fetch is available
since 2.8

In order to solve we are consuming new version in CentOS Virt SIG:

cbs tag virt8s-ovirt-45-candidate python-psycopg2-2.8.6-3.el8
cbs tag virt8s-ovirt-45-testing python-psycopg2-2.8.6-3.el8

Comment 4 Sandro Bonazzola 2022-04-28 09:26:34 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

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