Bug 1743569 - missing stestr only stestr-3 available
Summary: missing stestr only stestr-3 available
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-08-20 08:50 UTC by Attila Fazekas
Modified: 2020-02-06 14:42 UTC (History)
1 user (show)

Fixed In Version: python-stestr-2.3.1-5.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:41:56 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:42:30 UTC

Description Attila Fazekas 2019-08-20 08:50:06 UTC
Description of problem:
/bin/stestr-3 was installed , but no sign for the version-less version 'stestr'.

py2 does not exists, so there is no reason to not have
unconditionally an stestr in the path pointing to the python3 version. 

Version-Release number of selected component (if applicable):
python3-stestr-2.1.0-3.el8ost.noarch


$ stestr run minim
bash: stestr: command not found


Additional info:

Make sure  the /usr/bin/python point to python3 before the stestr usage.

The scripts called by stestr RIGTFULLY expects an existing /usr/bin/python .
The called scripts expected to work with all python >=2.7 .

https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Languages/LSB-Languages/pylocation.html


$ stestr-3 run minim
/bin/sh: python: command not found

$ alternatives --set  python /usr/bin/python3
$ stestr-3 run minim # working ..

# not working, but expected to be working:
$ stestr run minim

Comment 6 Martin Kopec 2019-10-24 12:12:48 UTC
The issue is fixed in the 'Fixed in version'.

[stack@undercloud-0 ~]$ rpm -qa | grep stestr
python3-stestr-2.3.1-5.el8ost.noarch
[stack@undercloud-0 ~]$ stestr --version
stestr 2.3.1
[stack@undercloud-0 ~]$ stestr-3 --version
stestr-3 2.3.1

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

Comment 11 errata-xmlrpc 2020-02-06 14:41:56 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.