Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1986731

Summary: ovirt-engine uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later.
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.8.1CC: bugs, gdeolive, lsvaty
Target Milestone: ovirt-4.5.0Keywords: CodeChange, Regression
Target Release: 4.5.0Flags: sbonazzo: ovirt-4.5?
lsvaty: blocker-
sbonazzo: devel_ack+
gdeolive: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0_alpha1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1990767    

Description Sandro Bonazzola 2021-07-28 08:35:36 UTC
platform.linux_distribution was deprecated in Python 3.5 and removed in 3.7 (https://docs.python.org/3.5/library/platform.html#platform.linux_distribution)

python3-distro is included in CentOS Stream 8 and derivatives and should be used instead of platform. More details: https://github.com/python-distro/distro

Comment 1 RHEL Program Management 2021-07-28 08:35:46 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Guilherme Santos 2022-03-09 19:02:30 UTC
Verified: ovirt-engine-4.5.0-596.7434eeb1dde2.226.el8ev.noarch

Comment 3 Sandro Bonazzola 2022-04-20 06:33:59 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.