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.
Bug 2173634 - The "hammer CLI" does not allows performing the Validate Content\Verify Checksum action on docker type repos but Satellite GUI
Summary: The "hammer CLI" does not allows performing the Validate Content\Verify Check...
Keywords:
Status: CLOSED DUPLICATE of bug 2161209
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.13.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-27 14:54 UTC by Sayan Das
Modified: 2023-08-03 17:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-12 19:25:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sayan Das 2023-02-27 14:54:17 UTC
Description of problem:

The "hammer CLI" does not allows performing the Validate Content\Verify Checksum action on docker type repos but Satellite GUI allows doing so.


Version-Release number of selected component (if applicable):

satellite-6.13.0-6.el8sat.noarch
katello-4.7.0-1.el8sat.noarch
rubygem-hammer_cli_katello-1.7.2-1.el8sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install a Satellite 6.13 and import a manifest with some valid subs
2. Use the repo_discovery feature to discover the "ubi8/toolbox" repo and create it inside the Containers product
3. Sync the repo from Satellite UI
4. Use hammer command to run "Validate Content\Verify Checksum" on the repo
5. Go to Satellite UI Content --> Products --> Containers --> Repositories --> ubi8/toolbox --> Select Action dropdown --> Verify Content Checksum


Actual results:

Step 4:

# hammer repository list --fields Id,Name
---|--------------------------------------------------
ID | NAME                                             
---|--------------------------------------------------
1  | Red Hat Satellite Client 6 for RHEL 8 x86_64 RPMs
2  | ubi8/toolbox                                     
---|--------------------------------------------------

# hammer repository synchronize --id 2 --validate-contents true
Could not synchronize the repository:
  Cannot validate contents on non-yum/deb repositories.
  

Step 5: Success i.e. UI allows to perform the action on the same repo and initiates the task ( it does not matter for now if it fails )


Expected results:

hammer and UI behavior should remain consistent with each other. 


Additional info:

NA

Comment 2 Ian Ballou 2023-06-12 19:25:51 UTC
Marking as a duplicate.

*** This bug has been marked as a duplicate of bug 2161209 ***


Note You need to log in before you can comment on or make changes to this bug.