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.
DescriptionSergei Petrosian
2020-05-04 14:46:03 UTC
Description of problem:
At the output of the `hammer full-help --md` command, some hammer commands have the note `Unfortunately the server does not support such operation.`
The note is misleading because the commands are supported.
There are 8 of such commands:
hammer content-view purge
hammer host errata
hammer host package
hammer host package-group
hammer host subscription
hammer host-collection erratum
hammer host-collection package
hammer host-collection package-group
Version-Release number of selected component (if applicable):
6.7
How reproducible:
Always
Steps to Reproduce:
1. hammer full-help --md
2. In the output, locate "Unfortunately the server does not support such operation."
Actual results:
The note should note be displayed for the commands.
Expected results:
The note is displayed and is misleading
Additional information:
At the same time, running these individual commands with `--help` does not show this message in the output. For example:
~~~
[root@dell-r430-7 ~]# hammer content-view purge --help
Usage:
hammer content-view purge [OPTIONS]
Options:
--async Do not wait for the task
--count COUNT Count of unused versions to keep
Default: 3
--id ID Content View numeric identifier
--name NAME Content View name
--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
-h, --help Print help
~~~
Verified.
Version Tested: Satellite-6.8.0 Snap 3.0
Steps followed:
1. hammer full-help --md > /dev/null (To check stderr)
2. hammer full-help --md | sed -n '/Unfortunately the server does not support such operation/p'
Observation:
Both commands resulted in warnings for command deprecation only
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 (Satellite 6.8 Satellite Tools 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/RHBA-2020:4367
Description of problem: At the output of the `hammer full-help --md` command, some hammer commands have the note `Unfortunately the server does not support such operation.` The note is misleading because the commands are supported. There are 8 of such commands: hammer content-view purge hammer host errata hammer host package hammer host package-group hammer host subscription hammer host-collection erratum hammer host-collection package hammer host-collection package-group Version-Release number of selected component (if applicable): 6.7 How reproducible: Always Steps to Reproduce: 1. hammer full-help --md 2. In the output, locate "Unfortunately the server does not support such operation." Actual results: The note should note be displayed for the commands. Expected results: The note is displayed and is misleading Additional information: At the same time, running these individual commands with `--help` does not show this message in the output. For example: ~~~ [root@dell-r430-7 ~]# hammer content-view purge --help Usage: hammer content-view purge [OPTIONS] Options: --async Do not wait for the task --count COUNT Count of unused versions to keep Default: 3 --id ID Content View numeric identifier --name NAME Content View name --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 -h, --help Print help ~~~