[Spacewalk-list] Spacewalk mystery and misery

Abhishek Lahiri Abhishek_Lahiri at symantec.com
Thu Sep 25 08:40:46 UTC 2014


Well the only way I found out that this beast can be tamed is to simply keep grep'ing the taskomatic log for metadata generation finish notification.

grep finished rhn_taskomatic_daemon.log | grep metadata

If you tail the logs you will probably see taskomatic jvm process kicking of metadata generation on one or more channels, then after a while the JVM crashes, then restart on its own and  reschedule the metadata generation again and ultimately completes it.

Once it is completed a yum clean all followed by yum list —showduplicates <packaganame> should show up the version you are expecting.

Sometimes it may be a good idea to just stop the spacewalk services, the database and restart them again .

Hope this helps someone.


From: Abhishek Lahiri <abhishek_lahiri at symantec.com<mailto:abhishek_lahiri at symantec.com>>
Date: Wednesday, September 24, 2014 at 7:45 PM
To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Spacewalk mystery and misery

Hi,

I have inherited a Spacewalk server that we use to pull down latest rpms. Recently for the bash zero day vulnerability I ran the following command to get the latest bash rpm and I see them added to the continuous release channels through the Web UI.

I go ahead and add it the package to other cloned channels (we maintain a bunch of cloned channel , cloned at different points in time) and don’t get an error in the Web UI.

However from the client side when I do a yum list —showduplicates bash , I don’t see the latest rpm.

Also using the RHN python API when I do a packages.search() I see only the old versions of the rpm, not the latest one.

It seems to me there is some disconnect between the Web UI and what is actually there.. I am not even sure what is wrong here. My predecessor had often complained about how he had to wait for infinity for tasknomotic to finish whatever it is doing. But neither he or myself have any idea what tasknomotic is doing, how we can speed up the process, and how we can quickly get a latest rpm to all the channels as we want to .. It is a big and frustrating mystery about how all the components work. I was hoping someone can shed some light on this and deliver us from this misery …


Thanks & Regards
AL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140925/25329226/attachment.htm>


More information about the Spacewalk-list mailing list