[Spacewalk-list] Unable to Download Packages from Spacewalk Server

Glennie, Jonathan - 0443 - MITLL jrglenni at ll.mit.edu
Tue Sep 27 13:24:57 UTC 2011


Is there a way to run the spacewalk-data-fsck command or something similar and tell it to remove packages listed in the DB that aren't in the file system?

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Glennie, Jonathan - 0443 - MITLL
Sent: Wednesday, September 21, 2011 12:13 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Unable to Download Packages from Spacewalk Server



-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Miroslav Suchy
Sent: Wednesday, September 21, 2011 1:49 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Unable to Download Packages from Spacewalk Server

Dne 20.9.2011 16:15, Glennie, Jonathan - 0443 - MITLL napsal(a):
> Hello All-
>
> I recently updated to 1.5 from 1.3 (upgraded to 1.4 in the middle) and 
> am now seeing some problems when downloading packages on clients, 
> although I don't necessarily think this is because of the upgrade. 
> While upgrading, I also cleaned out my channels and let them resync as 
> I have done in the past without issue, but I think it's causing 
> problems this time. I can do a yum update and the clients will see the 
> packages that they need to download, however when it actually attempts 
> to download them it fails on every package with errors like the one below:
>
> 2:vim-X11-7.0.109-7.el5.x86_64: failed to retrieve 
> getPackage/vim-X11-7.0.109-7.el5.x86_64.rpm from centos5-os-x86_64
>
> error was [Errno 14] HTTP Error 404: Not Found
>
> If I look on the server web ui, I can see the packages in question 
> with all of the proper information but the download link shows "Download:
> Missing File: vim-X11-7.0.109-7.el5.x86_64.rpm"
>
> In httpd error log I see the message
>
> "RHN 22481 2011/09/20 10:03:13 -04:00: ('Package not found',
>
'/var/satellite/redhat/1/df8/vim-enhanced/7.0.109-7.el5/x86_64/df818f5c6561f
ac037cd50ba0f39ec9a/vim-enhanced-7.0.109-7.el5.x86_64.rpm')"
>
>
> The file location is indeed different. The actual path is 
> "/var/satellite/redhat/1/df8/*2:*7.0.109-7.el5/." however on other 
> packages the reported path is correct but the Missing File message in 
> the download link still appears. I am really confused as to what's 
> going on here and this behavior persists even if I make new channels 
> and sync again. Any insight is appreciated, thanks.
>

Run:
spacewalk-data-fsck --remove

And sync missing packages again.

Mirek Suchy

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




Thanks for the suggestion, I gave it a try.  After the resync, behavior still presents itself.  I then removed all of the packages from all channels on the web UI, then I moved the /var/satellite directory aside.  I ran spacewalk-data-fsck again and I still see the files reported as missing.
It's almost as if the database is screwed up and the file lists aren't being removed/updated in there.  Shouldn't it be not seeing any files to remove since the channels aren't supposed to have anything in them?

Spacewalk-data-fsck -v
File missing:
/var/satellite/redhat/1/3b4/xulrunner/1.9.2.22-1.el5_7/x86_64/3b4a6a5a56ea9f
16015f1daaf77fc7a5/xulrunner-1.9.2.22-1.el5_7.x86_64.rpm
...
...
10621 files scanned
ERROR: 10621 files missing on disk
Checking if packages from filesystem are present in database






More information about the Spacewalk-list mailing list