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
Created redmine issue http://projects.theforeman.org/issues/30825 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30825 has been resolved.
Created attachment 1720790 [details] HOTFIX RPM for Satellite 6.7.4
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.
Verified on 6.9.0 snap 16.0.
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