Bug 1986733 - ovirt-hosted-engine-setup uses deprecated API platform.linux_distribution which has been removed in Python 3.7 and later.
Summary: ovirt-hosted-engine-setup uses deprecated API platform.linux_distribution whi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.5.3
Hardware: All
OS: Linux
medium
high
Target Milestone: ovirt-4.4.9
: 2.5.4
Assignee: Sandro Bonazzola
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: oVirt_on_CentOS_Stream_9_Hosts
TreeView+ depends on / blocked
 
Reported: 2021-07-28 08:42 UTC by Sandro Bonazzola
Modified: 2021-11-20 08:03 UTC (History)
4 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.5.4-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-20 08:03:33 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.5?
lsvaty: blocker-
sbonazzo: devel_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 116809 0 master MERGED use distro module instead of platform 2021-09-20 15:45:30 UTC
oVirt gerrit 117305 0 ovirt-4.4 MERGED use distro module instead of platform 2021-10-26 08:35:53 UTC

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.


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