On Red Hat Satellite 6.3 '/var/log/messages' shows errors: 'pulp.streamer.server:ERROR: No catalog entry found. path=/var/lib/pulp/content/units/rpm/'
Environment
- Red Hat Satellite 6.3.x
Issue
/var/log/messagesshows errors:pulp.streamer.server:ERROR: No catalog entry found. path=/var/lib/pulp/content/units/rpm/.- Client system
Custom product/repository yum transaction failswith[Errno 14] HTTPS Error 404 - Not Found.
Resolution
- Re-sync custom repository as below:
On GUI:
Sync repo: Content => Product => Click on Custom product => Click on Custom repo => Right side on Top corner 'Select Action' => Advance Sync => Click on 'Validate Content Sync'
=> Sync
Note: Validate Content Sync would download all packages and that only purpose to avoid the scenario where package get removed later on from upstream/custom location.
Publishnew version ofcontent viewin order reflect the new changes andpromoteit .
For more KB articles/solutions related to Red Hat Satellite 6.x Pulp 2.0 Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Pulp 2.0-related Issues
Root Cause
-
By default on Red Hat Satellite 6.3.x package download policy is
on Demand. -
Package has been removed from upstream/Custom location due to which
pulpunable to retrieve the package as per client demand.
Diagnostic Steps
- Check
/var/log/messagesfor following:
e.g.
May 29 17:50:46 satellite63 pulp_streamer: pulp.streamer.server:ERROR: No catalog entry found. path=/var/lib/pulp/content/units/rpm/1c/2621ba76f36b6d3d59d336d8e6b61f7e29f30f7e39449b936ccaa16558bf27/ansible-2.5.2-1.el7.noarch.rpm
May 29 17:50:46 satellite63 pulp_streamer: [-] 127.0.0.1 - - [29/May/2018:22:50:45 +0000] "GET /var/lib/pulp/content/units/rpm/1c/2621ba76f36b6d3d59d336d8e6b61f7e29f30f7e39449b936ccaa16558bf27/ansible-2.5.2-1.el7.noarch.rpm HTTP/1.1" 404 - "-" "urlgrabber/3.10 yum/3.4.3"
May 30 06:57:30 satellite63 pulp_streamer: pulp.streamer.server:ERROR: No catalog entry found. path=/var/lib/pulp/content/units/rpm/1c/2621ba76f36b6d3d59d336d8e6b61f7e29f30f7e39449b936ccaa16558bf27/ansible-2.5.2-1.el7.noarch.rpm
- Client systems fails with following:
e.g.
https://satellite63.example.com/pulp/repos/Com_CV/Test/cv-all-repos/custom/EPEL/epel-7-x86_64/Packages/a/ansible-2.5.2-1.el7.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.