[Spacewalk-list] Repos listed multiple times

Anoop Bhat ABhat at trustwave.com
Wed May 12 23:55:37 UTC 2010


I did some research and found where the cache data lives.

/var/cache/rhn/repodata

The repo I'm looking at has this

total 660
drwxr-xr-x  2 root root   4096 Apr 23 17:04 .
drwxr-xr-x 21 root root   4096 Sep 29  2009 ..
-rw-r--r--  1 root root 415557 Apr 23 16:48 filelists.xml.gz
-rw-r--r--  1 root root 177295 Apr 23 16:48 other.xml.gz
-rw-r--r--  1 root root  50465 Apr 23 16:48 primary.xml.gz
-rw-r--r--  1 root root    877 Apr 23 16:48 repomd.xml

I uploaded a file as recently as today into that repo but I'm not seeing the cache rebuilt.

Anything I can do to force it?

Is a service stuck perhaps or hung that needs to be restarted?

Thanks!

Anoop

Anoop Bhat
Systems Administrator
Trustwave
70 W. Madison
Chicago, IL, 60602
O: 312.873.7446
C: 312.925.3271



________________________________
From: Anoop Bhat <ABhat at trustwave.com>
Reply-To: <spacewalk-list at redhat.com>
Date: Wed, 12 May 2010 14:54:53 -0500
To: <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Repos listed multiple times

Hi,

Something peculiar is going on with all the clients I've tested.

Yum repolist shows each repo only once (base + some custom ones)

Yum makecache seems to build the cache for each of the repos at least three times.

centos5-centosplus-x86_64                                      78/78
centos5-extras-x86_64                                          246/246
spacewalk-client-tools-x86_64                                  63/63
centos5-updates-x86_64                                         739/739
centos5-base-x86_64                                            4367/4367
custom-software-x86_64                               280/280
common-x86_64                                        54/54
centos5-centosplus-x86_64                                      78/78
centos5-extras-x86_64                                          246/246
spacewalk-client-tools-x86_64                                  63/63
centos5-updates-x86_64                                         739/739
centos5-base-x86_64                                            4367/4367
custom-software-x86_64                               280/280
common-x86_64                                        54/54
centos5-centosplus-x86_64                                      78/78
centos5-extras-x86_64                                          246/246
spacewalk-client-tools-x86_64                                  63/63
centos5-updates-x86_64                                         739/739
centos5-base-x86_64                                            4367/4367
custom-software-x86_64                               280/280
common-x86_64                                        54/54
Metadata Cache Created

We're running spacewalk 0.8 and the clients are mostly centos 5.2/3

Lastly, the "custom-software" repo in spacewalk shows as having 323 packages but I'm only ever able to list 280. This used to work fine in the past but something goofy happened and I'm not sure how to go about resolving it.

Any ideas?

Thanks!

Anoop


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list







More information about the Spacewalk-list mailing list