[Spacewalk-list] how do I clear spacewalk's repo-sync cache?

Andy Ingham andy.ingham at duke.edu
Fri Aug 23 12:51:29 UTC 2013


Robert --

My issue had been that the HTTP proxy cache had stale content (in that
repodata had been updated at archive.linux.duke.edu but was not yet
reflected in the squid cache).

Two options, one or both of which worked for me (I can't remember at this
point):
	* Bypass the proxy and go directly to the repo.  (If that is a networking
possibility, anyway).
	* Force a restart of the squid proxy (as the best (only?) way of forcing
a full cleaning of its cache)

FWIW,
Andy

Andy Ingham
IT Infrastructure
Fuqua School of Business
Duke University





On 8/21/13 6:21 PM, "Boyd, Robert" <Robert.Boyd at peoplefluent.com> wrote:

Andy or anyone,

What did you do to clear the problem?  Did it clear up by virtue the stale
mirror(s) eventually catching up?  Or did you change the URL you were
using for the repository?

I found I had the same problem today and changed the URL to point to
dl.fedora.org instead of download.fedora.org and got it to work.   I'm
sure in the long run it would be better to switch it back to the one that
points to the mirrors.


Robert Boyd
Senior Systems Engineer | Peoplefluent
p. 919-645-2972 | c. 919-306-4681
e. Robert.Boyd at peoplefluent.com
Visit: www.peoplefluent.com | Read: Peoplefluent Blog
Follow: @peoplefluent | Download: iPad App





-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Andy Ingham
Sent: Monday, April 29, 2013 11:56 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] how do I clear spacewalk's repo-sync cache?

Jan --

That appears to have been the issue.

Many thanks!

Andy


On 4/29/13 11:04 AM, "Jan Pazdziora" <jpazdziora at redhat.com> wrote:

...

Is it possible you use a caching HTTP proxy (possibly a transparent
one) that gives you the stale data?

If you do

	GET 'http://archive.linux.duke.edu/pub/epel/6/x86_64/repodata/repomd.xml'
| grep primary.sqlite

do you see the correct content?

--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat


_______________________________________________
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