Description of problem: Sync of a kickstart repo to the external capsule fails with 404 error, missing vmlinuz and initrd.img Version-Release number of selected component (if applicable): 6.10.0 snap 12 How reproducible: always Steps to Reproduce: 1. Have a Satellite and an external Capsule (immediate policy, Library LCE) 2. Enable and sync a kickstart repo to the Satellite (I used `Red Hat Enterprise Linux 7 Server Kickstart x86_64 7.9` and `Red Hat Enterprise Linux 8 for x86_64 - BaseOS Kickstart 8.4`) The sync succeeds, but you can see these warnings in the production.log: 2021-08-10T16:12:21 [W|app|a4b83d72] Exception -> #<RestClient::NotFound: 404 Not Found> when retrieving http://satellite.redhat.com/pulp/content/Default_Organization/Library/content/dist/rhel/server/7/7.9/x86_64/kickstart//images/pxeboot/vmlinuz 2021-08-10T16:12:21 [W|app|a4b83d72] Exception -> #<RestClient::NotFound: 404 Not Found> when retrieving http://satellite.redhat.com/pulp/content/Default_Organization/Library/content/dist/rhel/server/7/7.9/x86_64/kickstart//images/pxeboot/initrd.img (Are the double slashes in path ok?) 3. Try to sync the repos to the external capsule. Actual results: The sync task ends with error, missing the two files from step 2. 404, message='Not Found', url=URL('https://satellite.redhat.com/pulp/content/Default_Organization/Library/content/dist/rhel/server/7/7.9/x86_64/kickstart/images/pxeboot/vmlinuz') Expected results: successful sync
Workaround is to set 'Mirror on Sync' to 'No' for the kickstart repo and resync it (then the missing files are synced properly). Consequential Capsule sync succeeds.
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
>(Are the double slashes in path ok?) It's a bug that shouldn't be there, but the paths seem to resolve OK despite them. I would still recommend we hunt that down, as a lower-priority issue.
There is now an upstream PR
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Verified on 6.10.0 snap 15 - kickstart repos are synced to the capsule successfully.
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 (Moderate: Satellite 6.10 Release), 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/RHSA-2021:4702