[Spacewalk-list] problem to sync repositories with channel
Michael Mraka
michael.mraka at redhat.com
Mon Jan 31 09:03:53 UTC 2011
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
More information about the Spacewalk-list
mailing list