Bug 1751324 - get_otopi_python always prefers Python3 even when site-packages are Python2 on CentOS 7
Summary: get_otopi_python always prefers Python3 even when site-packages are Python2 o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: otopi
Classification: oVirt
Component: Core
Version: master
Hardware: All
OS: Linux
high
high
Target Milestone: ovirt-4.4.0
: 1.9.0
Assignee: Yedidyah Bar David
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On: 1788090
Blocks: 1700864 1754515
TreeView+ depends on / blocked
 
Reported: 2019-09-11 17:51 UTC by thomas
Modified: 2020-05-20 19:59 UTC (History)
5 users (show)

Fixed In Version: otopi-1.9.0
Clone Of:
: 1754515 (view as bug list)
Environment:
Last Closed: 2020-05-20 19:59:50 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4?
pelauter: planning_ack+
sbonazzo: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 103342 0 'None' MERGED core: Use python 2 on EL7 2020-03-20 09:31:33 UTC
oVirt gerrit 103495 0 'None' MERGED core: Use python 2 on EL7 2020-03-20 09:31:33 UTC

Description thomas 2019-09-11 17:51:17 UTC
Description of problem:
As previously described with Bug 1688811, an python3 will cause Otopi to pick it first, but for all the system libraries only exist as Python2 code on CentOS 7

With Python3 being included in the standard, the argument cited for "wontfix" in the bug 1688811 may need to be revised.

Version-Release number of selected component (if applicable):
oVirt 4.3.5.2 otopi 1.8.3-1.el7

How reproducible:
, try to add it as a new host to oVirt,

Steps to Reproduce:
1. Install python3 on target host-to-add
2. try to add host to oVirt engine
3. /var/log/ovirt-engine/host-deploy/ovort-host-deploy<unique-id>.log will contain error messages that rpmUtils could not be imported.

Actual results:
Host installation fails quickly, needs to be removed immediately or there will be followup problems, because it cannot go into maintenance for proper removal

Expected results:
Host installed and usable

Additional info:
took more than three weeks to track down, very hard to find

Comment 1 Yedidyah Bar David 2019-09-16 09:39:34 UTC
Sandro - do we want this in 4.3? I think so.

Comment 3 Petr Matyáš 2020-03-20 11:28:06 UTC
Verified on otopi-common-1.9.0-1.el8ev.noarch

Comment 4 Sandro Bonazzola 2020-05-20 19:59:50 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.