Bug 1649699
| Summary: | host list --order is a guessing game | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Peter Ondrejka <pondrejk> |
| Component: | Hammer | Assignee: | Shira Maximov <mshira> |
| Status: | CLOSED ERRATA | QA Contact: | Peter Dragun <pdragun> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5.0 | CC: | apatel, dhlavacd, egolov, ehelms, kgaikwad, mbacovsk, mhulan, mmccune, mshira, ofedoren, rabajaj, zhunting |
| Target Milestone: | 6.6.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-hammer_cli_foreman-0.16.0,rubygem-hammer_cli_foreman-0.17.0.8-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 19:48:57 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
Peter Ondrejka
2018-11-14 09:29:18 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/11431 has been resolved. I checked with Satellite 6.6 snap 6, the `Search fields` section has been added to the output of `hammer host list -h` and also to the help of list commands for other entities, but at many places it is still missing (organization, location, product, job template, etc.). It is not clear why this pattern emerges. Also I would change the help for the --order subcommand to refer to the search fields, something like: --order ORDER Sort field and order, eg. ‘name DESC’. See "Search fields" below for the list of valid fields Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/11431 has been resolved. It's not a Hammer issue anymore, since Hammer relies on the API documentation provided by the server, which apparently lacks some documented resources and thus should be updated. I've created an upstream issue: https://projects.theforeman.org/issues/27098 Upstream bug assigned to mshira Upstream bug assigned to mshira The last missing patch was merged upstream: https://github.com/theforeman/hammer-cli-foreman/pull/438 Comment #3 still persist. Issue https://projects.theforeman.org/issues/27098 is not resolved. This should not be on QA. Comment #3 is greatly expanding the scope of this bugzilla beyond just 'hammer host list' Can we verify this for *just* the host list and file new bugs for comprehensive update for other commands? Going to move this back ON_QA for verification that you can order by the "Search fields:" in the host list which appeared to work for me Hi Mike, the fix also spans beyond 'hammer host list'. I understand the request, though filing bugs separately per subcommand sounds like an overhead, so I suggest just one bug for covering the subcommands that were omitted here. Verified on Satellite 6.6 snap 20. Host list in help shows possible arguments for search and order. Creating another bug for other commands as requested. 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 |