[Spacewalk-list] Kickstart Auto Client Registaration

Lupin Deterd lupindeterd at gmail.com
Sun Nov 10 10:28:07 UTC 2013


Don't put your registration packages(rhn-setup) on activation key, add in
ks profile portion.

On Sunday, November 10, 2013, Net Warrior wrote:

> El 09/11/13 16:29, Lupin Deterd escribió:
>
>> hello,
>>
>> you need rhn-setup packages on your ks profile packages.
>>
>> Make sure it is able to resolve all the dependecies of the packages that
>> you install for registtion.
>>
>> I have the same issue and was resolve by adding epel and spacewalk-client
>> channel on my ks profile.
>>
>> cheers
>> lupin
>>
>> On Saturday, November 9, 2013, Net Warrior wrote:
>>
>>     Hi guys.
>>
>>     I'm   having some issues while trying to register a client over
>>     kickstart methood, the client is not registered, and I do not know why
>>     is complaining about a package depenency when the package was
>>     dowloaded already.
>>
>>     I tryied include the package a part of the software, tried include
>>     both, libxml-python and libxlm but same error, the last error says
>>     "rhnreg_ks not found" that's part of the code that is generated
>>     automatically ( the kickstart ) where I can see how the registration
>>     is preformed, but I do not see the package that contain the command is
>>     downloaded somewhere. I only see that the only package that's is want
>>     to be installed is rhnlib.
>>
>>     Any hints on this will really appreciated, maybe I not following the
>>     right procedure and of course I'm missing something.
>>
>>
>>     Connecting to spacewalk|128.2.101.107|:80... connected.
>>     HTTP request sent, awaiting response... 200 OK
>>     Length: 328816 (321K) [application/octet-stream]
>>     Saving to:
>>     `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'
>>
>>          0K .......... .......... .......... .......... .......... 15%
>>     11.8M 0s
>>         50K .......... .......... .......... .......... .......... 31%
>>     11.0M 0s
>>        100K .......... .......... .......... .......... .......... 46%
>>     10.3M 0s
>>        150K .......... .......... .......... .......... .......... 62%
>>     11.3M 0s
>>        200K .......... .......... .......... .......... .......... 77%
>>     10.9M 0s
>>        250K .......... .......... .......... .......... .......... 93%
>>     11.3M 0s
>>        300K .......... .......... .   100% 10.9M=0.03s
>>
>>     2013-11-07 18:26:11 (11.1 MB/s) -
>>     `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'
>>     saved [328816/328816]
>>
>>     --2013-11-07 18:26:11--
>>     http://spacewalk/download/package/47afc36f888ddfc2450660e6ee490c
>> 8700928b5e/0/1/17834/rhnlib-2.5.65-1.el6.noarch.rpm
>>     Reusing existing connection to spacewalk:80.
>>     HTTP request sent, awaiting response... 200 OK
>>     Length: 65208 (64K) [application/octet-stream]
>>     Saving to: `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm'
>>
>>          0K .......... .......... .......... .......... .......... 78%
>>     11.6M 0s
>>         50K .......... ...  100% 11.4M=0.005s
>>
>>     2013-11-07 18:26:11 (11.6 MB/s) -
>>     `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm' saved
>>     [65208/65208]
>>
>>     --2013-11-07 18:26:11--
>>     http://spacewalk/download/package/2c1c80089288e8f2ef90ed729d798f
>> e0bd67b980/0/1/7256/pyOpenSSL-0.10-2.el6.x86_64.rpm
>>     Reusing existing connection to spacewalk:80.
>>     HTTP request sent, awaiting response... 200 OK
>>     Length: 216752 (212K) [application/octet-stream]
>>     Saving to: `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm'
>>
>>          0K .......... .......... .......... .......... .......... 23%
>>     11.6M 0s
>>         50K .......... .......... .......... .......... .......... 47%
>>     10.9M 0s
>>        100K .......... .......... .......... .......... .......... 70%
>>     10.2M 0s
>>        150K .......... .......... .......... .......... .......... 94%
>>     11.2M 0s
>>        200K .......... .  100% 11.3M=0.02s
>>
>>     2013-11-07 18:26:11 (11.0 MB/s) -
>>     `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' saved
>>     [216752/216752]
>>
>>     FINISHED --2013-11-07 18:26:11--
>>     Downloaded: 3 files, 596K in 0.05s (11.1 MB/s)
>>     warning: /tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm:
>>     Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
>>     warning: /tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm:
>> Header
>>     V4 DSA/SHA1 Signature, key ID 863a853d: NOKEY
>>     error: Failed dependencies:
>>             libxml2 = 2.7.6-12.el6_4.1 is needed by
>>     libxml2-python-2.7.6-12.el6_4.1.x86_64
>>     Can't op     Spacewalk-list at redhat.com <javascript:;>
>>     https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
> I did that, maybe I'm missing somthing else, I found similar cases on the
> list, I tried most of theirs suggestions but still having the same error.
> I have the activation key asociated to the child channels including the
> centos updates , epel and spacewalk client, I also checked under operating
> system options those channels eventhough I found that are overrriden by the
> activation key but I did it anyway just to give it a try.
> I also added the packages in the ks packages section, where I also install
> for example nfs-utils package which I use to copy some config files during
> the ks process over nfs, that goes fine, the package is installed and I can
> make the copy.
>
> If I add the @space walk group I get that the group does not exist, If I
> add the individuals packages, like rhn-clients and the like, ( also found
> that suggestion on the list )  during the installation I get the error that
> the packages cannot be found.
>
> So, I'm lost, maybe I'm missing something else.
>
> Thanks for your time and support.
> Regards
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131110/1e416f67/attachment.htm>


More information about the Spacewalk-list mailing list