[Spacewalk-list] problem to sync repositories with channel - resolved

Berezovski, Vladimir Vberezovski at nds.com
Thu Feb 3 15:12:17 UTC 2011


Hi  ,

The problem  was in  multiple Java version .

Installing  the  RHEL  i386  as SW server and 32 bits java solve the issue .

Thanks .

Best regards  ,
Vladimir Berezovski
NDS IL , Unix group

Email:
 vberezovski at nds.com



-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka
Sent: Monday, January 31, 2011 11:04 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