Bug 1640644
Summary: | [RFE] Add switch to hammer CLI to disable the defaults | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Martin Bacovsky <mbacovsk> |
Component: | Hammer | Assignee: | Martin Bacovsky <mbacovsk> |
Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | akarsale, apatel, bkearney, dhlavacd, ehelms, kgaikwad, mbacovsk, mhulan, mshira, nkathole, rabajaj, rjerrido |
Target Milestone: | 6.5.0 | Keywords: | FutureFeature, Triaged |
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 12:38:16 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
Martin Bacovsky
2018-10-18 13:30:25 UTC
Created redmine issue https://projects.theforeman.org/issues/25307 from this bug Bryan, yes, it most probably will go to hammer 0.15.1 which will be in Foreman 1.20 Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25307 has been resolved. The fix for this one is already in the 6.5 SNAP. Hi, Can you please provide following information 1. Significance and expected behaviour of no-default flag. 2. Does default here implies to default user or also to other default setting of hammer. 3. Exact steps to reproduce/verify this. Hi Suraj, first of all I should have explained what I mean by the "defaults". The defaults is a feature of Hammer CLI allowing user to set default values for certain CLI options. E.g. If I use only a single organization in Satellite i can do hammer defaults add --param-name organization-id --param-value 1 and from now on hammer automatically adds --organization-id=1 to each command that has the option. Sometimes this behavior is not wanted and --no-use-defaults will make hammer to ignore the set defaults. You can also turn off the defaults in cli config (permanent -no-use-defaults) in which case you may use --use-defaults on CLI to temporarily override and enable defaults. HTH, Martin Hi Martin, Thanks for information I am able to verify this with snap 8. Verified build: satellite-6.5.0 snap 8 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 |