Bug 1845779

Summary: Install 'qemu-kvm-tests' failed as nothing provides /usr/libexec/platform-python3 - virt module 6972
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Yanan Fu <yfu>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
qemu-kvm sub component: General QA Contact: Yanan Fu <yfu>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: urgent CC: astepano, ddepaula, jen, juzhang, mrezanin, nanliu, ovoshcha, qzhang, torsava, virt-maint, xfu, yfu, yihyu, ymankad, yuhuang, zhenyzha
Version: 8.2Keywords: TestBlocker
Target Milestone: rc   
Target Release: 8.2   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-4.2.0-27.module+el8.2.1+7092+9d345e72 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 07:13:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yanan Fu 2020-06-10 03:05:17 UTC
Description of problem:
As the subject, for virt module 6972, install 'qemu-kvm-tests' failed as:

Error: 
 Problem: conflicting requests
  - nothing provides /usr/libexec/platform-python3 needed by qemu-kvm-tests-15:4.2.0-25.module+el8.2.1+6972+1d0c04b6.x86_64


Version-Release number of selected component (if applicable):
virt-module: 6972
BaseOS: RHEL8.2.0 release version + system upgrade to "RHEL-8.2.1-20200609.n.0"

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Install package success

Additional info:

Comment 1 Yanan Fu 2020-06-11 02:27:02 UTC
RHEL-8.3.0 slow train module 6986 have the same issue now.

Comment 2 Tomas Orsava 2020-06-11 09:29:49 UTC
Python maintainer here.

*Nothing* should provide `/usr/libexec/platform-python3`, that is not a path that was ever used.

Please use `/usr/libexec/platform-python` instead.

Comment 3 Yanan Fu 2020-06-11 09:40:59 UTC
(In reply to Tomas Orsava from comment #2)
> Python maintainer here.
> 
> *Nothing* should provide `/usr/libexec/platform-python3`, that is not a path
> that was ever used.
> 
> Please use `/usr/libexec/platform-python` instead.

Thanks!

I think the virt module/qemu-kvm maintainer is the right person to check this issue:

Hi Danilo,
You may already know this issue, could you help check it? thanks a lot!


Best regards
Yanan Fu

Comment 4 Yanan Fu 2020-06-16 08:19:13 UTC
*** Bug 1847319 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Rezanina 2020-06-16 10:12:25 UTC
(In reply to Yanan Fu from comment #3)
> (In reply to Tomas Orsava from comment #2)
> > Python maintainer here.
> > 
> > *Nothing* should provide `/usr/libexec/platform-python3`, that is not a path
> > that was ever used.
> > 
> > Please use `/usr/libexec/platform-python` instead.
> 
> Thanks!
> 
> I think the virt module/qemu-kvm maintainer is the right person to check
> this issue:
> 
> Hi Danilo,
> You may already know this issue, could you help check it? thanks a lot!
> 
> 
> Best regards
> Yanan Fu

Problem is in qemu-iotests 274, that uses /usr/bin/python3 instead of /usr/bin/python we expect. This is new shell line used by upstream so we have to update our scripts to deal with it. Taking the bz as I'm already working on it.

Comment 11 Yanan Fu 2020-06-19 05:49:58 UTC
Install qemu-kvm-tests with build qemu-kvm-4.2.0-27.module+el8.2.1+7092+9d345e72 successfully

# rpm -qa | grep qemu-kvm-tests
qemu-kvm-tests-debuginfo-4.2.0-27.module+el8.2.1+7092+9d345e72.x86_64
qemu-kvm-tests-4.2.0-27.module+el8.2.1+7092+9d345e72.x86_64

Move it to VERIFIED accordingly, thanks!

Comment 13 errata-xmlrpc 2020-07-28 07:13:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3172