Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
[RFE] - Hammer command to list errata for a particular content-view
Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch
It would be really helpful, if we incorporate the below API query into the hammer commands.
GET katello/api/errata?content_view_version_id=<ID>
We don't have any additional options when running "hammer erratum" or "hammer content-view version"
# hammer content-view version info --help
Usage:
hammer content-view version info [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--environment ENVIRONMENT_NAME Name to search by
--environment-id ENVIRONMENT_ID
--id ID Content view version identifier
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--version VERSION Content view version number
-h, --help print help
# hammer erratum --help
Usage:
hammer erratum [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
info Show an erratum
list List errata
Options:
-h, --help print help
Hi Nagoor,
The following hammer cli should provide what you are looking for:
erratum list --content-view-version-id 5
The above results in the following API call to the server:
GET katello/api/errata?content_view_version_id=5
Based on this, we can probably close this request. Do you agree?
[RFE] - Hammer command to list errata for a particular content-view Version-Release number of selected component (if applicable): tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch It would be really helpful, if we incorporate the below API query into the hammer commands. GET katello/api/errata?content_view_version_id=<ID> We don't have any additional options when running "hammer erratum" or "hammer content-view version" # hammer content-view version info --help Usage: hammer content-view version info [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --environment ENVIRONMENT_NAME Name to search by --environment-id ENVIRONMENT_ID --id ID Content view version identifier --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --version VERSION Content view version number -h, --help print help # hammer erratum --help Usage: hammer erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: info Show an erratum list List errata Options: -h, --help print help