Bug 1711929
| Summary: | 'uuid' option removed from command "hammer content-view puppet-module list" | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jameer Pathan <jpathan> |
| Component: | Content Views | Assignee: | John Mitsch <jomitsch> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.6.0 | CC: | jomitsch, jsherril, mzalewsk, pondrejk, zhunting |
| Target Milestone: | 6.6.0 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-katello-3.12.0.1-11 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 19:51:03 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: | |||
This looks like it was an intentional change: https://github.com/Katello/katello/commit/0d5a1ebe7d722113d16146d6f98b6d2a39c351c0#diff-b3f64de16869054a88473910f7fef5cf It looks like it is deprecated for the POST action in the commit above. I'm guessing it was removed for the GET action as it doesn't serve a purpose, the puppet module isn't being associated with anything when you list the puppet modules for a content view. cc'ing jsherril who may be able to clarify better seems related to https://bugzilla.redhat.com/show_bug.cgi?id=1709915 as well Created redmine issue https://projects.theforeman.org/issues/26902 from this bug Talking with jsherril off-thread, we are going to add the option back, but deprecate it. *** Bug 1709915 has been marked as a duplicate of this bug. *** Upstream bug assigned to jomitsch Upstream bug assigned to jomitsch Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26902 has been resolved. Verified
@Satellite 6.6.0 snap 6
Steps:
1.Run # hammer content-view puppet-module list --help
Observation:
- 'uuid' option is added back in command "hammer content-view puppet-module list"
# hammer content-view puppet-module list --help
Usage:
hammer content-view puppet-module list [OPTIONS]
Options:
--author AUTHOR Author of the puppet module
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID Content view numeric identifier
--full-result FULL_RESULT Whether or not to show all results
One of true/false, yes/no, 1/0.
--name NAME Name of the puppet module
--order ORDER Sort field and order, eg. 'id DESC'
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
--page PAGE Page number, starting at 1
--per-page PER_PAGE Number of results per page to return
--search SEARCH Search string
--uuid UUID Uuid of the puppet module
-h, --help Print help
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: 'uuid' option removed from command "hammer content-view puppet-module list --help" Version-Release number of selected component (if applicable): @satellite 6.6.0 snap 3 How reproducible: always Steps to Reproduce: 1.Run # hammer content-view puppet-module list --help Actual results: # hammer content-view puppet-module list --help Usage: hammer content-view puppet-module list [OPTIONS] Options: --author AUTHOR Author of the puppet module --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID Content view numeric identifier --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --name NAME Name of the puppet module --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID to search by --organization-label ORGANIZATION_LABEL Organization label to search by --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --search SEARCH Search string -h, --help Print help Expected results: # hammer content-view puppet-module list --help Usage: hammer content-view puppet-module list [OPTIONS] Options: --author AUTHOR Author of the puppet module --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID Content view numeric identifier --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --name NAME Name of the puppet module --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID to search by --organization-label ORGANIZATION_LABEL Organization label to search by --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --search SEARCH Search string --uuid UUID The uuid of the puppet module to associate -h, --help Print help Additional info: