[Spacewalk-list] Subscribe CentOS 5 to a Software Channel

dmitry.lozitskiy at asparona.com dmitry.lozitskiy at asparona.com
Fri Jan 9 03:03:01 UTC 2015


I'm trying to take centos 5 under spacewalk control,
Below is a procedure I follow.

Doing the same steps with centos 6 I don't face any issues, but with centos
5 I don't see any channels assigned to the server, even the channels exist
and synced with centos repo and assigned to the activation key.

Server side:

1. Create repository:

Channels -> Manage Software Channels -> Manage Repositories -> create new
repository

Repository Label* centos5_x86_channel
Repository URL* http://mirror.centos.org/centos/5/updates/i386/

2. Channels -> Manage Software Channels -> Create New Channel
Channel Name*: CentOS5 x86 Channel
Channel Label*: centos5_x86_channel

3. Sync channel to ULN

Channels -> Manage Software Channels -> OEL5 x86 channel -> Repositories ->
Sync

4. Create a key

Systems -> Activation Keys -> Create new key 
Description centos5-x86-key
Key: 2-centos5-x86-key
Base Channels: CentOS5 x86 Channel

Client Side:

[root at client /]# uname -a
Linux client 2.6.18-308.16.1.el5 #1 SMP Tue Oct 2 22:01:37 EDT 2012 i686
i686 i386 GNU/Linux 
[root at client ~]# cat /etc/redhat-release 
CentOS release 5.10 (Final)

[root at client /]# yum install  rhn-client-tools rhn-check rhn-setup rhnsd
m2crypto
[root at client /]# rhnreg_ks --serverUrl=http://server/XMLRPC
--activationkey=2-oel5-x86-key

Checking in Spacewalk:

Systems -> client -> Subscribed Channels (Alter Channel Subscriptions) ->
http://postimg.org/image/5xmjl70bd/

The question is why I see "(none, disable service)" in Base Software channel
for centos 5 instead if the list of configured channels?

Just to compare, following the same steps I see for centos 6 system:
http://postimg.org/image/ff8favx77/

Thanks.


-- 
Disclaimer:  Asparona is part of the Deloitte group of companies. Deloitte
refers to the New Zealand member firm of Deloitte Touche Tohmatsu Limited.

The information contained in this document is confidential to the
addressee(s) and may be legally privileged. Any view or opinions expressed
are those of the author and may not be those of the organisation to which
the author belongs. No guarantee or representation is made that this
communication is free of errors, viruses or interference. If you have
received this e-mail message in error please delete it and notify me. 




More information about the Spacewalk-list mailing list