Bug 1402646
Summary: | [Bug] Hammer command won't accept specified organization name other than the default when .hammer/defaults.yml is configured | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | jalviso <jalviso> |
Component: | Hammer | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.2 | CC: | dhlavacd, ess-unisys, mhulan, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-04 17:59:52 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
jalviso
2016-12-08 03:10:06 UTC
The issue here is we treat options like --organization and --organization-id separately and "*-id" form takes precedence. Therefore when you save the default for organization_id it always overrides --organization. At the moment it works only with the same combinations: - you have organization_id in defaults and override with --organization-id - you have organization in defaults and override with --organization cross-combinations fail. We need to add a connection between the id and name options and properly detect the situations when one overrides the other. Created redmine issue http://projects.theforeman.org/issues/17673 from this bug Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you. |