Bug 2217695 - [RFE] accept different manifest name files of file repository
Summary: [RFE] accept different manifest name files of file repository
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.12.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-26 22:55 UTC by Amar Ganbat
Modified: 2023-07-17 18:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-17 18:23:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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