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.
Description of problem:
Between 6.1.9 and 6.2 there is loss of hammer sub command for content-host to list installable errata.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1.
At satellite 6.2.2
hammer content-host list --organization-id 1 --help
Usage:
hammer content-host list [OPTIONS]
Options:
--by BY Field to sort the results on
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--full-results FULL_RESULTS Whether or not to show all results
One of true/false, yes/no, 1/0.
--lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Name to search by
--lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
--name NAME Filter content host by name
--order ORDER Sort field and order, eg. 'name DESC'
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--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
--pool-id POOL_ID Filter content host by subscribed pool
--search SEARCH Search string
--uuid UUID Filter content host by uuid
-h, --help print help
2. At satellite 6.1
hammer content-host list --organization-id 1 --help
Usage:
hammer content-host list [OPTIONS]
Options:
--by BY Field to sort the results on
--content-view CONTENT_VIEW_NAME Content view name
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--errata-ids ERRATA_IDS Filter by systems that need any one of multiple Errata by uuid
Comma separated list of values.
--erratum-id ERRATUM_ID Filter by systems that need an Erratum by uuid
--erratum-restrict-installable ERRATUM_RESTRICT_INSTALLABLE Return only systems where the Erratum specified by erratum_id or errata_ids
is available to systems (default False)
--erratum-restrict-non-installable ERRATUM_RESTRICT_NON_INSTALLABLE Return only systems where the Erratum specified by erratum_id or errata_ids
is unavailable to systems (default False)
--full-results FULL_RESULTS Whether or not to show all results
One of true/false, yes/no, 1/0.
--host-collection HOST_COLLECTION_NAME Host collection name to search by
--host-collection-id HOST_COLLECTION_ID Id of the host collection
--lifecycle-environment, --environment LIFECYCLE_ENVIRONMENT_NAME Name to search by
--lifecycle-environment-id, --environment-id LIFECYCLE_ENVIRONMENT_ID
--name NAME Filter content host by name
--order ORDER Sort field and order, eg. 'name DESC'
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--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
--pool-id POOL_ID Filter content host by subscribed pool
--search SEARCH Search string
--uuid UUID Filter content host by uuid
-h, --help print help
3.
Actual results:
functionality lost with new version
Expected results:
Get the options from 6.1.9 back
Additional info:
Yes, this was moved to the host command:
hammer host errata list --host=myclient.example.com
The content-host command will be completely removed in 6.3.
Description of problem: Between 6.1.9 and 6.2 there is loss of hammer sub command for content-host to list installable errata. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. At satellite 6.2.2 hammer content-host list --organization-id 1 --help Usage: hammer content-host list [OPTIONS] Options: --by BY Field to sort the results on --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --full-results FULL_RESULTS Whether or not to show all results One of true/false, yes/no, 1/0. --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Name to search by --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID --name NAME Filter content host by name --order ORDER Sort field and order, eg. 'name DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --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 --pool-id POOL_ID Filter content host by subscribed pool --search SEARCH Search string --uuid UUID Filter content host by uuid -h, --help print help 2. At satellite 6.1 hammer content-host list --organization-id 1 --help Usage: hammer content-host list [OPTIONS] Options: --by BY Field to sort the results on --content-view CONTENT_VIEW_NAME Content view name --content-view-id CONTENT_VIEW_ID content view numeric identifier --errata-ids ERRATA_IDS Filter by systems that need any one of multiple Errata by uuid Comma separated list of values. --erratum-id ERRATUM_ID Filter by systems that need an Erratum by uuid --erratum-restrict-installable ERRATUM_RESTRICT_INSTALLABLE Return only systems where the Erratum specified by erratum_id or errata_ids is available to systems (default False) --erratum-restrict-non-installable ERRATUM_RESTRICT_NON_INSTALLABLE Return only systems where the Erratum specified by erratum_id or errata_ids is unavailable to systems (default False) --full-results FULL_RESULTS Whether or not to show all results One of true/false, yes/no, 1/0. --host-collection HOST_COLLECTION_NAME Host collection name to search by --host-collection-id HOST_COLLECTION_ID Id of the host collection --lifecycle-environment, --environment LIFECYCLE_ENVIRONMENT_NAME Name to search by --lifecycle-environment-id, --environment-id LIFECYCLE_ENVIRONMENT_ID --name NAME Filter content host by name --order ORDER Sort field and order, eg. 'name DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --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 --pool-id POOL_ID Filter content host by subscribed pool --search SEARCH Search string --uuid UUID Filter content host by uuid -h, --help print help 3. Actual results: functionality lost with new version Expected results: Get the options from 6.1.9 back Additional info: