Bug 1813624
| Summary: | Consistent use of unlimited-host argument throughout CLI | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Paul Armstrong <parmstro> |
| Component: | Activation Keys | Assignee: | Jeremy Lenz <jlenz> |
| Status: | CLOSED ERRATA | QA Contact: | Cole Higgins <chiggins> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6.0 | CC: | apatel, jlenz, kgaikwad, ofedoren, paji, pcreech, rabajaj, swadeley |
| Target Milestone: | 6.11.0 | Keywords: | Reopened, 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: | 2022-07-05 14:27:59 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
Paul Armstrong
2020-03-14 21:50:25 UTC
Created redmine issue https://projects.theforeman.org/issues/32868 from this bug Upstream bug assigned to jlenz Upstream bug assigned to jlenz Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32868 has been resolved. Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you. we actually did decide to fix this, moving back to POST Hi Jeremy Re this suggestion: > > Additional info: > my vote is to be ansible-ish and allow the user either pass a value or not > and default true yes 1 if a value is not provided. My $0.02CAD that sounds good to me, but what is the default behaviour for most flags at the moment? see also: Bug 2082241 - hammer host-collection create fails with "Too many arguments" when setting unlimited-hosts I think @paji will be more qualified to answer this.. Partha, recall the discussion at https://github.com/Katello/hammer-cli-katello/pull/809 It seemed like a good solution to me. But you're more familiar with hammer and consistency of different commands.. Stephen, Ideally all the boolean values in the API Doc translate to flags. For example `--composite` or `--import-only` in content views. Unfortunately its not consistent across the board. But as Jeremy mentioned I 'd argue `--unlimited-hosts` as a flag is consistent with what `hammer activation-key create --unlimited-hosts`. 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 (Moderate: Satellite 6.11 Release), 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-2022:5498 |