Bug 1768777
| Summary: | python3 stestr trying to use /usr/bin/python2 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> | 
| Component: | python-stestr | Assignee: | Chandan Kumar <chkumar> | 
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> | 
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.0 (Train) | Keywords: | Triaged | 
| Target Milestone: | beta | ||
| Target Release: | 16.0 (Train on RHEL 8.1) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-stestr-2.3.1-5.el8ost | Doc Type: | No Doc Update | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-02-06 14:42:51 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: | |||
| The mentioned issues are fixed in python-stestr-2.3.1-5.el8ost package, moving to VERIFIED. 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 | 
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.