Bug 1757457 - ovirt-release-host-node has python2 code in %post section of the spec file
Summary: ovirt-release-host-node has python2 code in %post section of the spec file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-release
Classification: oVirt
Component: CentOS
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.4.0
: ---
Assignee: Yuval Turgeman
QA Contact: Sandro Bonazzola
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-01 15:00 UTC by Sandro Bonazzola
Modified: 2020-05-20 20:01 UTC (History)
12 users (show)

Fixed In Version: ovirt-release44-4.4.0_alpha_2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:01:04 UTC
oVirt Team: Node
Embargoed:
sbonazzo: ovirt-4.4?
cshao: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 103753 0 master MERGED spec: use python3 in %post ovirt-release-host-node 2020-07-23 11:52:27 UTC

Description Sandro Bonazzola 2019-10-01 15:00:08 UTC
ovirt-release-host-node has python2 code in %post section of the spec file

it invokes "python" instead of "python2" or "python3" and inline python2 code.

It should use python3 on CentOS 8.

Installing the RPM on CentOS 8 due to this python2 deps on post section and other missing packages from oVirt fails with:

  - nothing provides python-six needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides gluster-ansible-roles needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides imgbased needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides m2crypto needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides ovirt-host needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides ovirt-node-ng-nodectl needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides python-ovirt-engine-sdk4 needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch
  - nothing provides vdsm-gluster needed by ovirt-release-host-node-4.4.0-0.2.master.20190930132806.gitcf06ee6.el8.noarch

Comment 1 Sandro Bonazzola 2020-05-20 20:01:04 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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