Project

General

Profile

Actions

Bug #39186

closed

Repository update ID parameter in hammer command in docker repos is failing.

Added by Aiden Fine 4 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

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
Actions #2

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.21.0 added
Actions #3

Updated by Anonymous 3 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

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
Actions #5

Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases Katello 4.20.1 added
Actions

Also available in: Atom PDF