[Katello] lazy sync on-demand does not work

Hi

I have configured yum repo with on-demand sync policy, but it seems that it
does not work. Here is what I get when trying to install package:

yum install python-pip -y

Loaded plugins: product-id, ps, rhnplugin, search-disabled-repos,
subscription-manager, versionlock
This system is receiving updates from RHN Classic or Red Hat Satellite.
EPEL_epel7-x86_64

                                                     > 2.1 kB  00:00:00

rhel-7-server-eus-rpms

                                                           > 2.1 kB  00:

00:00
rhel-7-server-rpms

                                                           > 2.1 kB  00:

00:00
rhel-ha-for-rhel-7-server-eus-rpms

                                                           > 2.1 kB  00:

00:00
rhel-rs-for-rhel-7-server-eus-rpms

                                                           > 2.1 kB  00:

00:00
Resolving Dependencies
–> Running transaction check
—> Package python-pip.noarch 0:7.1.0-1.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

··· ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: python-pip noarch 7.1.0-1.el7 EPEL_epel7-x86_64 1.5 M

Transaction Summary

Install 1 Package

Total download size: 1.5 M
Installed size: 6.6 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
python-pip-7.1.0-1.el7.noarch. FAILED
https://katello.local/pulp/repos/corp/Library/custom/EPEL/epel7-x86_64/python-pip-7.1.0-1.el7.noarch.rpm:
[Errno 14] HTTPS Error 404 - Not Found
] 0.0 B/s | 0 B --:–:-- ETA
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 open a ticket
with Red Hat Support.

Error downloading packages:
python-pip-7.1.0-1.el7.noarch: [Errno 256] No more mirrors to try.

Here is log from squid:

1470311091.398 1659 127.0.0.1 TCP_MISS/404 317 GET http://127.0.0.1:3128/var/lib/pulp/content/units/rpm/77/cc33b318419f617ed6352bc6e3eebeced96ed5a6ffbf1b989fc65b1be9ab2b/python-pip-7.1.0-1.el7.noarch.rpm

  • FIRSTUP_PARENT/127.0.0.1 text/html

Any idea what is wrong?

Edgars

Here is log from pulp streamer:

Aug 04 15:16:24 katello.local pulp_streamer[1758]: pulp.streamer.server:
ERROR: Failed to find a catalog entry with path
"/var/lib/pulp/content/units/rpm/77/cc33b318419f617ed6352bc6e3eebeced96ed5a6ffbf1b989fc65b1be9ab2b/python-pip-7.1.0-1.el7.noarch.rpm"
.
Aug 04 15:16:24 katello.local pulp_streamer[1758]: [-] 127.0.0.1 - - [04/Aug
/2016:13:16:24 +0000] "GET
/var/lib/pulp/content/units/rpm/77/cc33b318419f617ed6352bc6e3eebeced96ed5a6ffbf1b989fc65b1be9ab2b/python-pip-7.1.0-1.el7.noarch.rpm
HTTP/1.1" 404 - "-" "urlgrabber/3.10 yum/3.4.3"

ceturtdiena, 2016. gada 4. augusts 14:02:29 UTC+2, Edgars M. rakstīja:

··· > > Hi > > I have configured yum repo with on-demand sync policy, but it seems that > it does not work. Here is what I get when trying to install package: > > yum install python-pip -y > > Loaded plugins: product-id, ps, rhnplugin, search-disabled-repos, > subscription-manager, versionlock > This system is receiving updates from RHN Classic or Red Hat Satellite. > EPEL_epel7-x86_64 > > > 2.1 kB 00:00 > :00 > rhel-7-server-eus-rpms > > > 2.1 kB > 00:00:00 > rhel-7-server-rpms > > > 2.1 kB > 00:00:00 > rhel-ha-for-rhel-7-server-eus-rpms > > > 2.1 kB > 00:00:00 > rhel-rs-for-rhel-7-server-eus-rpms > > > 2.1 kB > 00:00:00 > Resolving Dependencies > --> Running transaction check > ---> Package python-pip.noarch 0:7.1.0-1.el7 will be installed > --> Finished Dependency Resolution > > > Dependencies Resolved > > > > ============================================================================================================================================================================================================================================= > Package Arch > Version > Repository > Size > > ============================================================================================================================================================================================================================================= > Installing: > python-pip noarch > 7.1.0-1.el7 > EPEL_epel7-x86_64 > 1.5 M > > > Transaction Summary > > ============================================================================================================================================================================================================================================= > Install 1 Package > > > Total download size: 1.5 M > Installed size: 6.6 M > Downloading packages: > Delta RPMs disabled because /usr/bin/applydeltarpm not installed. > python-pip-7.1.0-1.el7.noarch. FAILED > https://katello.local/pulp/repos/corp/Library/custom/EPEL/epel7-x86_64/python-pip-7.1.0-1.el7.noarch.rpm: > [Errno 14] HTTPS Error 404 - Not Found > ] 0.0 B/s | 0 B --:--:-- ETA > 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 open a ticket > with Red Hat Support. > > > > > > > Error downloading packages: > python-pip-7.1.0-1.el7.noarch: [Errno 256] No more mirrors to try. > > Here is log from squid: > > 1470311091.398 1659 127.0.0.1 TCP_MISS/404 317 GET http:// > 127.0.0.1:3128/var/lib/pulp/content/units/rpm/77/cc33b318419f617ed6352bc6e3eebeced96ed5a6ffbf1b989fc65b1be9ab2b/python-pip-7.1.0-1.el7.noarch.rpm > - FIRSTUP_PARENT/127.0.0.1 text/html > > > Any idea what is wrong? > > Edgars >