[Spacewalk-list] Kickstart Auto Client Registaration

Net Warrior netwarrior863 at gmail.com
Thu Nov 14 11:33:53 UTC 2013


I can see the GPG asociated to the ks,
>>Did you enable the logging of your ks?

How do I do that? Under System Details I have, Enable Spacewlk
Configuration Management, Enable Spacewalk Remote Command,  those options
are unchecked , and in Spacewalk Profile  I checked Delete the existing
system profile and create a new system profile  are those the  related
options?


Thanks for your time and support.
Regards.


2013/11/13 Lupin Deterd <lupindeterd at gmail.com>

> Did you enable the logging of your ks? Did you link the gpg keys of your
> child channel to your ks profile? It will not install packages if you
> didn't add it there.
>
>
> On Thu, Nov 14, 2013 at 2:25 AM, Net Warrior <netwarrior863 at gmail.com>wrote:
>
>> Hi Lupin.
>>
>> During install I get the same error, packages does not exist, I includes
>> as you suggested those packages in the package profile and also under
>> operating system, checked the spacewalk-repository and epe-l as well.
>>
>> Any way, in the profile package section it read:
>> Note: only packages available in your Enterprise Linux install tree
>> should be specified here. To install packages available in Spacewalk
>> software channels, please associate an appropriate activation key with this
>> kickstart profile in the Activation Keys tab.
>>
>> I give it a try also, created an activation key and asociated to the
>> profile, and same error, package do not exists.
>>
>> Thanks for your time and support
>> Regards.
>>
>>
>>
>> 2013/11/13 Lupin Deterd <lupindeterd at gmail.com>
>>
>>> I have the following packages on my ks profile.
>>>
>>>
>>> @Base
>>> rhn-setup
>>> osad
>>> rhncfg
>>> rhncfg-actions
>>> rhncfg-client
>>> wget
>>> perl
>>>
>>> with spacewalk-client and epel as child channels to solve the deps.
>>>
>>> Hth,
>>>
>>> Lupin
>>>
>>>
>>> On Wed, Nov 13, 2013 at 12:19 AM, Net Warrior <netwarrior863 at gmail.com>wrote:
>>>
>>>> That's what I did, still getting the same  error.
>>>>
>>>> In the profile, under operating system I check the spacewalk repository
>>>> only which is a child channel of the main Centos-x64 channel, left
>>>> unchecked  the other child channels,  to the profile there  is also
>>>> associated the activation key which has te rest of the channels like
>>>> centos-update and epel, under profile also, in the  profile software
>>>> properties I also have
>>>>
>>>> @ Base ( added by default )
>>>> postfix
>>>> nfs-utils
>>>> ksh
>>>> (Adding the rhn-setup or spacewalk-client group  in here gives a
>>>> package / group not found )
>>>>
>>>> I'm I missing something else?
>>>> Thanks for your time and support.
>>>>
>>>>
>>>> 2013/11/10 Lupin Deterd <lupindeterd at gmail.com>
>>>>
>>>>> 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
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Spacewalk-list mailing list
>>>>> Spacewalk-list at redhat.com
>>>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> 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
>>
>
>
> _______________________________________________
> 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/20131114/3aa195c6/attachment.htm>


More information about the Spacewalk-list mailing list