That’s the result I’m getting with that command… I’ve disabled the 
subscription-manager repo:

[root@nw-vp-001 yum.repos.d]# cat sub-man.repo
[subscription-manager]
name=An open source entitlement management system.
baseurl=http://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-6/i386
enabled=0
gpgcheck=0

That’s the frustrating part of this.. where is that coming from??

Here is the spacewalk client repo:

[root@nw-vp-001 yum.repos.d]# cat spacewalk-client.repo
[spacewalk-client]
name=Spacewalk Client Tools
baseurl=http://yum.spacewalkproject.org/2.2-client/RHEL/5/$basearch/
gpgkey=http://yum.spacewalkproject.org/RPM-GPG-KEY-spacewalk-2012
enabled=1
gpgcheck=1




From: [email protected] 
[mailto:[email protected]] On Behalf Of Kevin Sandy
Sent: Monday, November 24, 2014 2:38 PM
To: [email protected]
Subject: Re: [Spacewalk-list] Management of baselines

You’re getting an error for a subscription-manager repository, but pasted the 
config of your spacewalk-client repository.  Unless I’m missing something 
you’re trying to do, you shouldn’t need the subscription-manager repo.



-- kevin



On Nov 24, 2014, at 2:19 PM, Szabo, Marc 
<[email protected]<mailto:[email protected]>> wrote:

Hi Waldirio,

I’m moving along on this implementation.   I’ve successfully created Base 
Channels for CentOS5, CentOS6 for both the Base and Update Channels!   I was 
also able to sync the errata using Steve’s script, but the erratas seem to be 
low (only 60 errata for CentOS6 32-bit,  Just 6 for CentOS5 64-bit, 0 for 
CentOS5 32-bit and 318 for CentOS6 64-bit) does this sound correct?

The reason for this post has to do with my next objective… to register clients 
to the spacewalk server channels!  I’ve created the activation keys per 
channel, but when I attempt to install the spacewalk client, per the 
instructions I found here: 
https://fedorahosted.org/spacewalk/wiki/RegisteringClients
I get the following problems.

On a CentOS5 32-bit client server, I installed the yum repository, but when I 
try to install the clients I get the following error messages:

[root@nw-vp-001 CentOS5]#  yum install rhn-client-tools rhn-check rhn-setup 
rhnsd m2crypto yum-rhn-plugin
             (NOTE:  fails the same with or without 
--enablerepo=spacewalk-client.repo)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
http://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-6/i386/repodata/repomd.xml:
 [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: 
subscription-manager. Please verify its path and try again

Here is the content of the repository:

[root@nw-vp-001 CentOS5]# cat /etc/yum.repos.d/spacewalk-client.repo
[spacewalk-client]
name=Spacewalk Client Tools
baseurl=http://yum.spacewalkproject.org/2.2-client/RHEL/5/$basearch/
gpgkey=http://yum.spacewalkproject.org/RPM-GPG-KEY-spacewalk-2012
enabled=1
gpgcheck=1
proxy=http://nw-iwsva.corp.pcln.com:8080<http://nw-iwsva.corp.pcln.com:8080/>   
   <--  I attempted to use our proxy setting, but it fails with or without this 
entry.

Any thoughts on what I’m doing wrong now?

Thanks again.

Marc.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to