[Spacewalk-list] Problem on first installation

Michael Mraka michael.mraka at redhat.com
Tue Jan 3 14:00:24 UTC 2012


Carlo Filippetto wrote:
% Hi all,
% I'm new with Spacewalk.
% I'm able to install and make the first configuration on Centos 5.7,
% and version Spacewalk 1.6 + Postgress
% 
% I follow these guides:
% https://fedorahosted.org/spacewalk/wiki/UserDocs#Introduction
% http://wiki.centos.org/HowTos/PackageManagement/Spacewalk#head-e04eadc5ed664bd79068564af7d84662c3081b22
% 
% 
% 
% Now I'm tring to add channel but I receive always the same error when
% try to use
% 
% spacewalk-repo-sync
% -----------------------------
% /usr/bin/spacewalk-repo-sync --channel centos5-updates-i386 \
% >                              --url http://mirror.centos.org/centos/5/updates/i386/ \
% >
% Traceback (most recent call last):
...
%   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1395,
% in _getRepoXML
%     raise Errors.RepoError, msg
% yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml)
% for repository: centos5-updates-i386. Please verify its path and try
% again
% ------------------

Your server can't access mirror.centos.org, most likely it's just temporarily
outage.

BTW howto on wiki.centos.org is slightly outdated so please cross check
information with our official wiki https://fedorahosted.org/spacewalk/wiki.


% If I reboot the service I receive:
% 
% Starting Monitoring ...
%         Starting InstallSoftwareConfig ...  [ OK ]
% [ OK ]
% Starting MonitoringScout ...
%         Starting NPBootstrap ...  2012-01-03 12:33:16 NPBootstrap:
%  !! ERROR FROM SHELL COMMAND:
% 2012-01-03 12:33:16 NPBootstrap:        !! STDOUT: Failed to get scout
% shared key data for this node.
% 
% 2012-01-03 12:33:16 NPBootstrap:        !! STDERR:
% 2012-01-03 12:33:16 NPBootstrap:        !! EXIT: 256
% [ FAIL ]
% 2012-01-03 12:33:16 NPBootstrap: WARNING: STARTED BUT *NOT* RUNNING
% 2012-01-03 12:33:16 NPBootstrap: ERRORS ENCOUNTERED DURING LAST ACTION:
% 2012-01-03 12:33:16 NPBootstrap:        !! ERROR FROM SHELL COMMAND:
% 2012-01-03 12:33:16 NPBootstrap:        !! STDOUT: Failed to get scout
% shared key data for this node.
% 
% 2012-01-03 12:33:16 NPBootstrap:        !! STDERR:
% 2012-01-03 12:33:16 NPBootstrap:        !! EXIT: 256
%         Starting SputLite ...  [ OK ]
%         Starting Dequeuer ...  [ OK ]
%         Starting Dispatcher ...  [ OK ]
% [ OK ]
% --------------------------
% 

This is looks like enabled but not configured Monitoring. If you do not
use it, disable it in webUI (Admin > Spacewalk Configuration ).

Reegards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list