[katello] on-demand repo 404s

Katello users,

I'm pretty new to Katello, Foreman, and Puppet. I'm using Katello 3.0 rc
7, but this issue started before rc 7. I believe I noticed it around rc5,
but I've been trying to find the problem since then.

I'm having an issue when I try to install/update RPMs from a product repo
that is set as on-demand download.

If the RPM needs to be downloaded from the upstream repo, I get back a
404. For example:
…libndp-1.2-6.el7_2.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on
https://bugs.centos.org/

Error downloading packages:
libndp-1.2-6.el7_2.x86_64: [Errno 256] No more mirrors to try.

I have confirmed the package is shown in the packages list in katello and
that the RPM exists in the upstream repo.

I've checked the log files in /var/log/foreman, /var/log/pulp (empty),
/var/log/squid and the only errors I can find are in the syslog. They are
listed below.

Jun 07 16:47:39 server-name pulp_streamer[988]: pulp.streamer.server:ERROR:
Failed to find a catalog entry with path
"/var/lib/pulp/content/units/rpm/47/6d75b29d74b996f39f46f9eb7577314fb7baa4a144b488e037cba13ac79239/libndp-1.2-6.el7_2.x86_64.rpm".

Jun 07 16:47:39 server-name pulp_streamer[988]: [-] 127.0.0.1 - -
[07/Jun/2016:21:47:38 +0000] "GET
/var/lib/pulp/content/units/rpm/47/6d75b29d74b996f39f46f9eb7577314fb7baa4a144b488e037cba13ac79239/libndp-1.2-6.el7_2.x86_64.rpm
HTTP/1.1" 404 - "-" "urlgrabber/3.10 yum/3.4.3"

I'm at a loss for what to try next. Any pointers would be greatly
appreciated.

Thank you,
Peter
<http://www.objectstream.com/>

Was this repository created before rc7? If so, it may be a consequence of
this bug which has since been fixed:

https://pulp.plan.io/issues/1771

··· On Tuesday, June 7, 2016 at 6:05:52 PM UTC-4, Peter Kirby wrote: > > Katello users, > > I'm pretty new to Katello, Foreman, and Puppet. I'm using Katello 3.0 rc > 7, but this issue started before rc 7. I believe I noticed it around rc5, > but I've been trying to find the problem since then. > > I'm having an issue when I try to install/update RPMs from a product repo > that is set as on-demand download. > > If the RPM needs to be downloaded from the upstream repo, I get back a > 404. For example: > ......libndp-1.2-6.el7_2.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found > Trying other mirror. > To address this issue please refer to the below knowledge base article > > https://access.redhat.com/articles/1320623 > > If above article doesn't help to resolve this issue please create a bug on > https://bugs.centos.org/ > > > > Error downloading packages: > libndp-1.2-6.el7_2.x86_64: [Errno 256] No more mirrors to try. > > > I have confirmed the package is shown in the packages list in katello and > that the RPM exists in the upstream repo. > > I've checked the log files in /var/log/foreman, /var/log/pulp (empty), > /var/log/squid and the only errors I can find are in the syslog. They are > listed below. > > Jun 07 16:47:39 server-name pulp_streamer[988]: > pulp.streamer.server:ERROR: Failed to find a catalog entry with path > "/var/lib/pulp/content/units/rpm/47/6d75b29d74b996f39f46f9eb7577314fb7baa4a144b488e037cba13ac79239/libndp-1.2-6.el7_2.x86_64.rpm". > > Jun 07 16:47:39 server-name pulp_streamer[988]: [-] 127.0.0.1 - - > [07/Jun/2016:21:47:38 +0000] "GET > /var/lib/pulp/content/units/rpm/47/6d75b29d74b996f39f46f9eb7577314fb7baa4a144b488e037cba13ac79239/libndp-1.2-6.el7_2.x86_64.rpm > HTTP/1.1" 404 - "-" "urlgrabber/3.10 yum/3.4.3" > > I'm at a loss for what to try next. Any pointers would be greatly > appreciated. > > Thank you, > Peter > >