Bug 1986733

Summary: ovirt-hosted-engine-setup uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later.
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: medium    
Version: 2.5.3CC: bugs, lsvaty, nsednev, stirabos
Target Milestone: ovirt-4.4.9Keywords: CodeChange, Regression, Triaged
Target Release: 2.5.4Flags: sbonazzo: ovirt-4.5?
lsvaty: blocker-
sbonazzo: devel_ack+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-hosted-engine-setup-2.5.4-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-20 08:03:33 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: 1986335    

Description Sandro Bonazzola 2021-07-28 08:42:42 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:42:51 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 Nikolai Sednev 2021-10-21 13:43:53 UTC
Following our discussion with Sandro, moving it to verified, as no QA intervention is required.
ovirt-hosted-engine-setup-2.5.4-2.el8ev.noarch
ovirt-hosted-engine-ha-2.4.9-1.el8ev.noarch
ovirt-engine-4.4.9.2-0.6.el8ev.noarch

Comment 3 Sandro Bonazzola 2021-11-20 08:03:33 UTC
This bugzilla is included in async update to oVirt 4.4.9 release, published on October 27th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.9 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.