Bug 2166404
| Summary: | [RFE] Mention the list of possible providers in "explain_proxy_selection" rake task of Satellite 6.13 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sayan Das <saydas> |
| Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.13.0 | CC: | aruzicka, pcreech |
| Target Milestone: | 6.14.0 | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_remote_execution-10.0.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 14:18:18 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
Sayan Das
2023-02-01 17:49:22 UTC
I'm afraid that listing it in help (foreman-rake -D) is borderline impossible. The list is dynamic, depends on the loaded code and when printing the descriptions, rake does not load the application code. In other words, the description for the rake task has to be more or less static string, while we would need to have its contents generated dynamically. The second option (showing the possibilities when none is given by the user), is doable and actually an easy thing to do. Would that be enough? Ah yes.. Even that works fine for me. The idea is to not leave it blank and give something for the user to work with. Verified on Sat 6.14 snap 1. The list of providers is now returned in the described scenario: Environment variable PROVIDER has to be set to one of SSH, Script, Ansible. Note provider aliases SSH = Script. 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818 |