Bug 2217695

Summary: [RFE] accept different manifest name files of file repository
Product: Red Hat Satellite Reporter: Amar Ganbat <aganbat>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.4CC: ahumbe, dalley, rlavi
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-17 18:23:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Ganbat 2023-06-26 22:55:43 UTC
Description of problem:

It's not a bug but just RFE. 

When syncing file repository satellite expects to see manifest only named 
'PULP_MANIFEST'. Is it possible to expand the name variation? 
At least search for anything like '*manifest*'? 

For example, this repo has the manifest name. 

http://download.rockylinux.org/pub/rocky/9.2/isos/x86_64/

Rocky-9-latest-x86_64-boot.iso.CHECKSUM            12-May-2023 16:00                 157
Rocky-9-latest-x86_64-boot.iso.manifest            12-May-2023 00:24                 559


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

Satellite 6.12 pulp3 

How reproducible:
Try to sync http://download.rockylinux.org/pub/rocky/9.2/isos/x86_64/

Steps to Reproduce:
Create a custom file repo and sync using the above link.


Actual results:

404, message='Not Found', url=URL('https://download.rockylinux.org/pub/rocky/9.2/isos/x86_64//PULP_MANIFEST')

Expected results:

This file clearly looks like a manifest 'Rocky-9-latest-x86_64-boot.iso.manifest            12-May-2023 00:24', but the satellite was not able to recognize it. 

Additional info:

Comment 1 Daniel Alley 2023-07-17 17:43:48 UTC
This could be a valid RFE, but the specific example provided isn't unfortunately.

http://download.rockylinux.org/pub/rocky/9.2/isos/x86_64/Rocky-9-latest-x86_64-boot.iso.manifest is not formatted in such a way that Pulp would ever recognize it as being a valid Pulp manifest.  It's just a list of files inside the ISO, as opposed to a list of files in the directory along with their sizes and checksums.  Even if the formatting was correct the files listed in the manifest don't actually exist, they're inside the ISO, not outside of it.

Comment 2 Daniel Alley 2023-07-17 17:45:13 UTC
What you would want instead is for them to provide a PULP_MANIFEST file in the directory where that file is hosted.  I don't know that they will do that, though.

Comment 3 Daniel Alley 2023-07-17 18:23:23 UTC
Closing this - from pulp's perspective this is already possible, but not with this particular file.