[Spacewalk-list] systems not registered by default?

Jason Welsh jason at monsterjam.org
Wed Sep 15 15:51:11 UTC 2010


  ok awesome.. I think thatll help, but how do I find out under which 
secret hex soup my rpms are under?

I looked under packages and see
File System Path: 
redhat/1/d68/libxml2-python/2.6.26-2.1.2.8/x86_64/d680cc6d783978c4f2cf75da6897c2e6/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm
(for instance), but cant seem to pull it up via
lynx 
http://127.0.0.1/download/package/d680cc6d783978c4f2cf75da6897c2e6/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm


regards,
Jason

On 09/14/10 19:59, Colin Coe wrote:
> Mike
>
> Yes, clients can access RPMs before activation/registration but not
> trivially.  Here's a snippet from the post script from a kickstart:
> ---
> mkdir -p /tmp/rhn_rpms/optional
> cd /tmp/rhn_rpms/optional
> wget -P /tmp/rhn_rpms/optional
> http://127.0.0.1/download/package/914a8ce4e6f7676172d0a4a7f676c27ec9a2a671/0/1/574/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm
> http://127.0.0.1/download/package/820777256524475e88b262c612dbac16af14ccc4/0/1/9831/rhnlib-2.5.26-1.el5.noarch.rpm
> http://127.0.0.1/download/package/3fd11ca62e5c2445fb825be90c6d180b6ff7a258/0/1/1433/pyOpenSSL-0.6-1.p24.7.2.2.x86_64.rpm
> rpm -Uvh --replacepkgs --replacefiles
> /tmp/rhn_rpms/optional/pyOpenSSL* /tmp/rhn_rpms/optional/rhnlib*
> /tmp/rhn_rpms/optional/libxml2-python*
> ---
>
> Notice the 'wget' followed by the 'rpm'.
>
> CC
>
> On Wed, Sep 15, 2010 at 1:32 AM, Mike Hanby<mhanby at uab.edu>  wrote:
>> Can a client actually access the RPMs before being activated? I would have thought the tools would need to come from another non-spacewalk repo, installed and then activated.
>>
>> -----Original Message-----
>> From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jason Welsh
>> Sent: Tuesday, September 14, 2010 9:24 AM
>> To: spacewalk-list at redhat.com
>> Subject: Re: [Spacewalk-list] systems not registered by default?
>>
>>   anyone? i also noticed in my logs, that the "tools rpms" arent getting
>> found for some reason.. im sure this is the main cause of the system not
>> registering.
>> but whats the right way to set this up?
>>
>>
>> --2010-09-13 16:02:56--
>> http://redhouse.mydomain.com/download/package/311a7f76de89f7771ca620b1d06d35aeea30bf14/0/1/2197/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm
>> Resolving redhouse.mydomain.com... 172.18.184.50
>> Connecting to redhouse.mydomain.com|172.18.184.50|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-09-13 16:02:56 ERROR 404: Not Found.
>>
>> --2010-09-13 16:02:56--
>> http://redhouse.mydomain.com/download/package/ca96cbca538ffba541943902c1c742d16347fe3a/0/1/3249/pyOpenSSL-0.6-1.p24.7.2.2.x86_64.rpm
>> Reusing existing connection to redhouse.mydomain.com:80.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-09-13 16:02:56 ERROR 404: Not Found.
>>
>> --2010-09-13 16:02:56--
>> http://redhouse.mydomain.com/download/package/96cbf812c34191c95aa3a4566933b8eb2226bd64/0/1/6659/rhnlib-2.5.23-1.fc11.noarch.rpm
>> Reusing existing connection to redhouse.mydomain.com:80.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-09-13 16:02:56 ERROR 404: Not Found.
>>
>> error: File not found by glob: /tmp/rhn_rpms/optional/pyOpenSSL*
>> error: File not found by glob: /tmp/rhn_rpms/optional/rhnlib*
>> error: File not found by glob: /tmp/rhn_rpms/optional/libxml2-python*
>> cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory
>>
>> regards,
>> Jason
>>
>>
>> On 09/13/10 13:53, Jason Welsh wrote:
>>>
>>> On 09/13/10 11:51, Stroehmann, James wrote:
>>>> My clients auto-register when kickstarting, you might be missing the
>>>> spacewalk client tools in your package list?
>>>>
>>>>
>>>> Also, one problem i was having originally was that new systems would
>>>> not have the correct time on them, so i have a script in my kickstart
>>>> to use rdate to update them.
>>>>
>>>>
>>>> look in the root's home directory for the installation log files,
>>>> post them here ... they might provide some clues.
>>>>
>>>> _______________
>>> well, ive tried using the setup at
>>> https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler (please
>>> correct me if this is not the right guide to follow)
>>> the doc says to set up the "tools" distro as a child of my mail
>>> rhel-server directory, and someone else stated that it should be this
>>> way.. i.e.
>>>
>>> rhel-server-5.5
>>>        |
>>>        |----VT
>>>        |----Cluster Server
>>>        |----Cluster Virtualization
>>>        |---- rhel-tools<-this has the 4 packages in it. (pyOpenSSL
>>> rhnlib libxml2-python # spacewalk-koan)
>>>
>>> BUT, when I goto the step that says
>>> Select "Systems|Kickstart|Distributions" and select "+ create new
>>> distribution"
>>>      "Base channel" should be "Fedora 9 with Tools"     (or rhel-tools
>>> in my case)
>>>
>>> I cannot select this because its not a base channel.. its a child
>>> channel..
>>>
>>> can someone please clear up how this is supposed to work?
>>>
>>>
>>> Jason
>>>
>>>
>>>
>>>
>>>> _________________________




More information about the Spacewalk-list mailing list