Bug #18547

rpms not being retained after product repo syncs

Added by Chuck Farlie over 5 years ago. Updated almost 4 years ago.

Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


I have this issue where I can successfully sync a product repository but the rpms do not actually exist after the fact. Foreman is recognizing the content but the repository is empty aside from the repodata and the symbolic links on the filesystem are broken. This happens with every repo I sync. Any help would be appreciated. This is for both http and https. I a running on CentOS7 updated 2-10 and Katello 3.2 updated on the same date. Selinux is in permissive mode.

Name Type Sync Status Content
CentOS7-OS yum Success 41 minutes ago 12500 Packages

[root@katello1 CentOS7-OS]# pwd
[root@katello1 CentOS7-OS]# ll
total 8
lrwxrwxrwx. 1 apache apache 107 Feb 16 21:42 CentOS7-OS > /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-CentOS7-OS-CentOS7-OS/1487299228.08
. 1 apache apache 10 Feb 16 21:42 listing
[root@katello1 CentOS7-OS]# ls CentOS7-OS/ | wc -l

[root@katello1 CentOS7-OS]# cd CentOS7-OS/
[root@katello1 CentOS7-OS]# pwd

[root@katello1 CentOS7-OS]# ll /var/lib/pulp/published/yum/http/repos/Default_Organization/Library/custom/CentOS7-OS/CentOS7-OS/
lrwxrwxrwx. 1 apache apache 130 Feb 16 21:42 zziplib-0.13.62-5.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/1a/421c82e2213d23dfa0ccd426b8f1254d51edac5a8b9758da1094d8d7d5dda5/zziplib-0.13.62-5.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 134 Feb 16 21:42 zziplib-devel-0.13.62-5.el7.i686.rpm -> /var/lib/pulp/content/units/rpm/b1/e818a1f2df6ec97ae9f6b00bb7344ded9eb21666ccbe38e09434e0c043dd22/zziplib-devel-0.13.62-5.el7.i686.rpm
lrwxrwxrwx. 1 apache apache 136 Feb 16 21:42 zziplib-devel-0.13.62-5.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/6d/33f3bba50a90a99aa622d421d9ebdfe6e81c2059d409114077226ef0d25453/zziplib-devel-0.13.62-5.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 136 Feb 16 21:42 zziplib-utils-0.13.62-5.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/61/f17cb0fbdef335f671c36db5e15391b9a023e531b3ff057823c05162038551/zziplib-utils-0.13.62-5.el7.x86_64.rpm

[root@katello1 CentOS7-OS]# ls /var/lib/pulp/content/units/rpm/61/f17cb0fbdef335f671c36db5e15391b9a023e531b3ff057823c05162038551/zziplib-utils-0.13.62-5.el7.x86_64.rpm
ls: cannot access /var/lib/pulp/content/units/rpm/61/f17cb0fbdef335f671c36db5e15391b9a023e531b3ff057823c05162038551/zziplib-utils-0.13.62-5.el7.x86_64.rpm: No such file or directory


#1 Updated by Chuck Farlie over 5 years ago

  • Status changed from New to Resolved

I figured out what the issue was. My syncs were set to the default on demand policy, thereby only downloading the package from the repo on an as needed basis. I set it to immediate and the links are now actual files.

#2 Updated by Dominic Cleal over 5 years ago

  • Project changed from Foreman to Katello

#3 Updated by Justin Sherrill over 5 years ago

  • Tracker changed from Support to Bug
  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF