[Spacewalk-list] problem to sync repositories with channel

Berezovski, Vladimir Vberezovski at nds.com
Tue Feb 1 07:37:50 UTC 2011


Hi Michael ,

any news on my question ?

Also when I  scheduled  update   package   task   on a client  it failed  with "Fatal error in Python code occurred  [[6]]"  error .

Can you remind me specifically for the SW  - what  are the log files for both server and client to trace  errors  messages ?

Thanks ,

/Vlad .

________________________________________
From: Berezovski, Vladimir
Sent: Monday, January 31, 2011 11:58 AM
To: spacewalk-list at redhat.com
Subject: RE: [Spacewalk-list] problem  to sync repositories with  channel

Thanks ,


1. Although  taskomatic  service was stopped ,  start it  but didn't help - the same scheduling service error while trying to sync via WebUI rhel5.3 channel with  its repo.

Almost  sure that pushing packages to that channel   via command line will succeeded .


2.  A client is  already subscribed for both parent and cild channel . I can see   subscribed channel list ( 2 items ) in a system properties .

Here is something  probably  indicates  root problem  - here is the  yum repolist  output :


#yum repolist
Error: Cannot retrive repository metadata ( repomd.xml) for repository rhel5.5 .

Can I check  repo list on the server ?  rhel5.5 is the label for the basic rhel5.5-64-server-core channel .
Will strace log help ?

3. Yes  ,  a  client was registered with rhnreg_ks  command .

I do not see repodata dir  under the /var/cache/rhn  - only reposync one .

Thanks .

/Vlad .



________________________________________
From: spacewalk-list-bounces at redhat.com [spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka [michael.mraka at redhat.com]
Sent: Monday, January 31, 2011 11:03 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] problem  to sync repositories with  channel

Berezovski, Vladimir wrote:
% Hi ,
%
% 1.  I'm  testing  SpaceWalk  1.2 server and clients  on RH5  platform .
%
% Following  the doc  https://fedorahosted.org/spacewalk/wiki/UploadFedoraContent  (Channels -> Manage Software Channels -> Choose the channel to be linked -> Repositories -> Select the repositories to be linked to the channel -> Update Repositories ->  Sync )  I'm trying to sync already  defined  repo  to a specific channel  but  receive  this  error :
%
%  *   The scheduling service appears down. Please contact your Satellite administrator.

Check that taskomatic service is running.
# service taskomatic status

% But , doing that in a command line I succeeded to upload packages  to the channel :
%
% spacewalk-repo-sync --channel  rhel5.5   --url http://path_to_server
%
% After that  I see all packages list  under the rhel5.5  channel . In the similar way I added   updates for the rhel5.5  child channel . Then moved to my clients in order to make them work with a server . But  there I stucked :
%
% 2. How to proceed with clients management/updates  - I found some threads that it is not required to define .repo file  on a client side under /etc/yum.repos.d/   ?

You have to subscribe client to child channel with updates. Either
manually in webUI or at registration time via activation key.

No .repo files for spacewalk channels are necessary. There is yum-rhn-plugin
which provides spacewalk channels to client. It knows which channels the client
is subscribed to and creates someting like virtual .repo entry on the
fly for them. You can check list of available repos on the client by
# yum repolist

%   At present neither management packages task from a server cannot be performed .
%
% Running  Software Updater from RH5 client  utility pops me up "Unable to retrieve software information"  message .In details  I see the following "Cannot retrieve repository metadata ( repomd.xml) for repository rhel5.5."

Is the client registered to spacewalk server?

% Corresponding  request was  written in   /var/log/httpd/access_log   od the server :
%
% 10.63.200.41 - - [31/Jan/2011:09:54:18 +0200] "GET /XMLRPC/GET-REQ/rhel5.5/repodata/repomd.xml HTTP/1.1" 404 9 "-" "rhn.rpclib.py/$Revision$"
%
% And I really  cannot see in /var/cache/rhn/reposync/rhel5.5/  repodata/repomd.xml  file .

Repo data cache is in /var/cache/rhn/repodata/rhel5.5/.


Regards,

--
Michael Mráka
Satellite Engineering, Red Hat

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

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com




More information about the Spacewalk-list mailing list