Bug 1768777 - python3 stestr trying to use /usr/bin/python2
Summary: python3 stestr trying to use /usr/bin/python2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-stestr
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 16.0 (Train on RHEL 8.1)
Assignee: Chandan Kumar
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-05 09:02 UTC by Attila Fazekas
Modified: 2020-02-06 14:43 UTC (History)
0 users

Fixed In Version: python-stestr-2.3.1-5.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:42:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:43:22 UTC

Description Attila Fazekas 2019-11-05 09:02:41 UTC
Description of problem:
/usr/bin/stestr starts with:
#!/usr/bin/python2

it MUST be 
#!/usr/bin/python3


python3-stestr-2.1.0-4.el8ost.noarch

(undercloud) [stack@undercloud-0 ~]$ stestr
Traceback (most recent call last):
  File "/usr/bin/stestr", line 6, in <module>
    from stestr.cli import main
ImportError: No module named stestr.cli

We do not have py2 modules.

Comment 4 Martin Kopec 2019-12-09 15:09:41 UTC
The mentioned issues are fixed in python-stestr-2.3.1-5.el8ost package, moving to VERIFIED.

Comment 6 errata-xmlrpc 2020-02-06 14:42:51 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/RHEA-2020:0283


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