Bug 1718856
Summary: | "hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
Component: | Ansible - Configuration Management | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | oprazak, pcreech |
Target Milestone: | 6.6.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_ansible-3.0.3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 19:52:27 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: |
Created redmine issue https://projects.theforeman.org/issues/27033 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak VERIFIED.
@Satellite-6.6.0 Snap9
tfm-rubygem-foreman_ansible-3.0.3-3.el7sat.noarch
by following command:
# hammer ansible roles import
Could not import roles:
Missing arguments for 'proxy_id'
>>> correctly hinting user to provide --proxy-id param
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:3172 |
Description of problem: "hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id This can be very confusing for users. Other Version-Release number of selected component (if applicable): @satellite-6.6.0-5.beta.el7sat.noarch tfm-rubygem-hammer_cli_foreman_ansible-0.3.0-2.el7sat.noarch ansible-2.8.0-1.el7ae.noarch How reproducible: deterministic Steps to Reproduce: 1. Run "hammer ansible roles import" without --proxy-id option # hammer ansible roles import Could not import roles: Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs. # hammer ansible roles fetch Could not fetch roles: Missing arguments for 'proxy_id' >>> fetch subcommand shows us expected result Actual results: misleading message to the user Expected results: correct message to the user Missing arguments for 'proxy_id'