Bug 1693199
| Summary: | Use platform-python for bootstrap.py on RHEL8 hosts | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Stephen Wadeley <swadeley> |
| Component: | Bootstrap | Assignee: | Evgeni Golov <egolov> |
| Status: | CLOSED ERRATA | QA Contact: | Stephen Wadeley <swadeley> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5.0 | CC: | zhunting |
| Target Milestone: | Released | Keywords: | Triaged, UserExperience |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-05-14 19:57:46 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
Stephen Wadeley
2019-03-27 10:32:26 UTC
I agree this should be a docbug, as we cannot provide a version that detects all pythons easily (In reply to Evgeni Golov from comment #2) > I agree this should be a docbug, as we cannot provide a version that detects > all pythons easily OK, I have made a pull request on the linked issue and will clone this bug for the guides, leaving this one to track cherry-pick to downstream. Thank you (In reply to Stephen Wadeley from comment #3) > (In reply to Evgeni Golov from comment #2) > > I agree this should be a docbug, as we cannot provide a version that detects > > all pythons easily > > OK, I have made a pull request on the linked issue and will clone this bug > for the guides, leaving this one to track cherry-pick to downstream. > > Thank you sorry, forgot to add link to the bug for the guides (because the clone repo function has been removed, I had created one from scratch, then forgot to paste it back here) Bug 1693290 - Use platform-python for bootstrap.py on RHEL8 hosts upstream PR is merged → POST Hello Testing with latest snap On Satellite [root@sat-6-5-qa-rhel7 ~]# rpm -q katello-client-bootstrap katello-client-bootstrap-1.7.2-1.el7sat.noarch [root@sat-6-5-qa-rhel7 ~]# rpm -qd katello-client-bootstrap /usr/share/doc/katello-client-bootstrap-1.7.2/README.md /usr/share/doc/katello-client-bootstrap-1.7.2/bootstrap.yml [root@sat-6-5-qa-rhel7 ~]# grep -r -A4 "RHEL8" /usr/share/doc/katello-client-bootstrap-1.7.2/README.md On an EL8 (RHEL8, CentOS8, etc) host, there is no `/usr/bin/python` or `/usr/bin/python3` by default. The `bootstrap.py` script can be used with the `platform-python` as follows: ~~~ # /usr/libexec/platform-python bootstrap.py ~~~ When the `python36` module is installed, `/usr/bin/python3` can also be used. [root@sat-6-5-qa-rhel7 ~]# On a host with bootstrap.py downloaded [root@rhel8 ~]# grep -r RHEL8 bootstrap.py Use `/usr/libexec/platform-python bootstrap.py` on RHEL8 Thank you 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/RHSA-2019:1222 |