Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 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.