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:
The hammer in Satellite 6.7 removed the "--docker-digest" and "--docker-tag" parameters. User can no longer tag the docker image which manually uploaded to the Satellite.
# Satellite 6.6 and earlier versions have the parameters
# hammer repository update --help
Usage:
hammer repository update [OPTIONS]
Options:
--docker-digest DIGEST Container Image manifest digest
--docker-tag TAG Container Image tag
# Satellite 6.7
# hammer repository update --docker-tag latest --docker-digest sha256:<some_digest> --name repo_name --organization RedHat --product my_product
Could not update the repository:
Error: Unrecognised option '--docker-tag'.
The parameters were removed by the following pull request. Nothing mentioned in the pull request about why these parameters were removed.
https://github.com/Katello/hammer-cli-katello/pull/699/files#diff-e5e0e5d6b8dc7a2d91e2b54f479e2904L230
HOTFIX is available for Satellite 6.7.4
Installation Instructions:
1. Take a complete backup or snapshot of Satellite server before proceeding
2. Download the attached hotfix RPM and copy it to Satellite server
3. # yum install ./tfm-rubygem-hammer_cli_katello-0.20.2.3-2.HOTFIXRHBZ1873391.el7sat.noarch.rpm --disableplugin=foreman-protector
Since this is a patch to the hammer cli tool, the hotfix should take place immediately without requiring any service restart.
Comment 12Tasos Papaioannou
2021-03-08 15:26:42 UTC
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 (Moderate: Satellite 6.9 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/RHSA-2021:1313
Description of problem: The hammer in Satellite 6.7 removed the "--docker-digest" and "--docker-tag" parameters. User can no longer tag the docker image which manually uploaded to the Satellite. # Satellite 6.6 and earlier versions have the parameters # hammer repository update --help Usage: hammer repository update [OPTIONS] Options: --docker-digest DIGEST Container Image manifest digest --docker-tag TAG Container Image tag # Satellite 6.7 # hammer repository update --docker-tag latest --docker-digest sha256:<some_digest> --name repo_name --organization RedHat --product my_product Could not update the repository: Error: Unrecognised option '--docker-tag'. The parameters were removed by the following pull request. Nothing mentioned in the pull request about why these parameters were removed. https://github.com/Katello/hammer-cli-katello/pull/699/files#diff-e5e0e5d6b8dc7a2d91e2b54f479e2904L230