Bug #39186
closedRepository update ID parameter in hammer command in docker repos is failing.
Description
Description of problem:
Hammer command is failing in the container repository for uploading tags.
How reproducible:
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Login to your Satellite cli -:
2. Tried command below -:
~~~
hammer repository list | grep -i 195
195 | rhosp-rhel9/openstack-octavia-worker | container | docker | RedHat_container_rhosp-rhel9_openstack-octavia-worker | https://registry.redhat.io
hammer repository update --id 195 --product container --docker-tag latest -docker-digest latest -organization-id 1
Failed to upload tag 'latest' to repository.
Could not update the repository:
Missing arguments for '–id'.
~~~
Actual behavior:
Not uploading tags in container repos via hammer command
Expected behavior:
It should upload tags with mentioned command
Business Impact / Additional info:
Testing Steps:
Verify that uploading docker tag works and does not throw error through hammer.
hammer repository update --id <id> --product <product-name> --docker-tag latest --docker-digest <sha256> --organization-id 1
Verify that uploading docker imagine through hammer is blocked
Updated by The Foreman Bot 4 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11688 added
Updated by Anonymous 3 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|184a8ec198d323e6e51481297871eadeddc112c1.
Updated by Ian Ballou 3 months ago
- Category changed from Hammer to Container
- Target version changed from Katello 4.21.0 to Katello 4.20.1
- Triaged changed from No to Yes
Updated by The Foreman Bot about 2 months ago
- Fixed in Releases Katello 4.20.1 added