[Spacewalk-list] no cache rebuild after cleanup from /var/cache/rhn
Pradeep Kilambi
pkilambi at redhat.com
Thu Apr 9 14:05:34 UTC 2009
Cliff wrote:
> Thomas von Steiger wrote:
>> Hi,
>>
>> I have stopped spacewalk and removed everthing from /var/cache/rhn.
>> After restart from spacewalk 0.5 there is no rebuild of the cache.
>>
>> From the cent5 clients i get by yum check-update:
>>
>> Error: Cannot retrieve repository metadata (repomd.xml)
>>
>> The only errors i can found in the log's are from osad/jabberd:
>>
>> 2009/04/08 23:37:52 +02:00 17861 0.0.0.0: osad/jabber_lib.__init__
>> 2009/04/08 23:37:52 +02:00 17861 0.0.0.0:
>> osad/jabber_lib.print_message('socket error',)
>> 2009/04/08 23:37:52 +02:00 17861 0.0.0.0:
>> osad/jabber_lib.print_message('Could not connect to jabber server',
>> 'spacewalk2.dom.local')
>> 2009/04/08 23:37:52 +02:00 17861 0.0.0.0:
>> osad/jabber_lib.setup_connection('Could not connect to any jabber
>> server',)
>> 2009/04/08 23:37:52 +02:00 17861 0.0.0.0:
>> osad/jabber_lib.main('Unable to connect to jabber servers, sleeping
>> 10 seconds',)
>>
>> [root at spacewalk2 log]# grep cache /etc/rhn/rhn.conf
>> repomd_cache_mount_point = /var/cache
>>
>> What can i do?
>>
>> Thomas
>>
>>
Just restarting spacewalk will not rebuild the cache. The cache
regenration should have started when you're centos client checked in.
check your /var/cache/rhn/repodata and the cache should be generated in
a bit. The cache generation for repodata is triggered only when
there is a change to the channel state(through means like rhnpush,
satsync, api or ui) or when a client checks in and cache is missing.
Check back in a bit and cache should be there,
~ Prad
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> taskomatic is tasked with generation/re-generation of cache for yum.
>
> Prad - did your bugfix (where taskomatic was not doing the
> re-generation) get pushed into the Spacewalk 0.5 repos?
>
> Cliff
Nop those changes are not yet in 0.5 repo. But the concern Thomas had is
different, as I mentioned above.
~ Prad
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
--
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554
More information about the Spacewalk-list
mailing list