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

Bug 1757457

Summary: ovirt-release-host-node has python2 code in %post section of the spec file
Product: [oVirt] ovirt-release Reporter: Sandro Bonazzola <sbonazzo>
Component: CentOSAssignee: Yuval Turgeman <yturgema>
Status: CLOSED CURRENTRELEASE QA Contact: Sandro Bonazzola <sbonazzo>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.4.0CC: bugs, cshao, lsvaty, mavital, nlevy, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.4.0Keywords: BuildBlocker, CodeChange
Target Release: ---Flags: sbonazzo: ovirt-4.4?
cshao: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-release44-4.4.0_alpha_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:01:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.