Bug 2184122

Summary: wrong metadata if uploaded rpm have different name than name in rpm
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: high Docs Contact:
Priority: high    
Version: 6.12.0CC: ahumbe, amiagarw, dalley, dkliban, ggainey, hyu, iballou, jlenz, kkinge, mjia, momran, rchan, rdonca, redhatbugs, sadas, shwsingh
Target Milestone: 6.12.4Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-rpm-3.18.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2161993 Environment:
Last Closed: 2023-04-27 14:30:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Shweta Singh 2023-04-20 06:41:35 UTC
Verified.

Version Tested: Satellite 6.12.4 Snap 1.0

Verification Steps:
1. Register a client to satellite.
2. Create a custom repo on satellite and upload an rpm into it which will have different name from the name in its metadata.
3. Create CV, add the repo into it and publish it.
4. Make the content available to the client and install the rpm on it.

Result:
rpm will be installed on client successfully even the name of the rpm is different from the name in its metadata.
pulp-rpm: 
python39-pulp-rpm-3.18.13-1.el8pc.noarch

Comment 10 errata-xmlrpc 2023-04-27 14:30:36 UTC
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 (Satellite 6.12.4 Async Update), 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/RHBA-2023:2052