Bug 1986728

Summary: ovirt-log-collector uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later.
Product: [oVirt] ovirt-log-collector Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Barbora Dolezalova <bdolezal>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.4CC: bugs, gdeolive, lsvaty
Target Milestone: ovirt-4.5.0Keywords: CodeChange, Regression
Target Release: 4.4.5Flags: sbonazzo: ovirt-4.5+
lsvaty: blocker-
sbonazzo: devel_ack+
gdeolive: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-log-collector-4.4.5 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-23 06:21:25 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, 2050566    

Description Sandro Bonazzola 2021-07-28 08:31:12 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:31:24 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.