Bug 2065294 - ceph support via cinderlib is failing due to too old python-psycopg2
Summary: ceph support via cinderlib is failing due to too old python-psycopg2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-distribution
Classification: oVirt
Component: General
Version: 4.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Sandro Bonazzola
QA Contact: sshmulev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-17 15:39 UTC by Sandro Bonazzola
Modified: 2022-04-28 09:26 UTC (History)
2 users (show)

Fixed In Version: python-psycopg2-2.8.6-3.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-28 09:26:34 UTC
oVirt Team: Storage
Embargoed:
sbonazzo: ovirt-4.5?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45353 0 None None None 2022-03-17 15:47:04 UTC

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.


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