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.