[Spacewalk-list] Bare Metal Provision Through Proxy

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Tue Mar 13 14:38:52 UTC 2012


It does work directly from the spacewalk server.

I probably should have been more clear in my previous email about what I'm
perceiving the problem to be.

The repo name in the URL is having the 'spacewalk' replaced as well.  In
this case, the repo is called spacewalk-client.  I'm guessing that since
my spacewalk server is simply called 'spacewalk', there's some sort of
regex going on that replaces all occurrences of 'spacewalk' with my proxy
name instead of just the domain portion of the URL.  So 'spacewalk-client'
is becoming 'proxy.fqdn.tld-client' within the URL string.

I apologize if I'm restating what I already told you, but I wanted to make
sure I was accurately reporting what I was seeing.  My last email was a
bit ambiguous unless you were really paying close attention to the URL. :)

Greg

On 2012-03-13 9:51 AM, "Jan Pazdziora" <jpazdziora at redhat.com> wrote:

>On Tue, Mar 13, 2012 at 01:28:34PM +0000, Wojtak, Greg (Superfly) wrote:
>> That makes sense.  I've given it another try and I get to the point in
>>the
>> kickstart where the filesystems are created, then it pulls down the repo
>> information.
>> 
>> I get the following error (have to hit Ctrl+Alt+F3 to see it):
>> 
>> WARNING : Failed to get
>> 
>>http://proxy.fqdn.tld/ks/dist/child/centos-6-x86_64-proxy.fqdn.tld-client
>>/C
>> entOS_6_x86_64-bit/repodata/repomd.xml from mirror 1/1, or downloaded
>>file
>> is corrupt.
>> 
>> Apparently here's what's happening - the spacewalk host's name, which
>> happens to be 'spacewalk,' is being replaced in that entire string with
>> proxy.fqdn.tld in all instances.  I have verified I can download the
>> repomd.xml by browsing to
>> 
>>http://proxy.fqdn.tld/ks/dist/child/centos-6-x86_64-spacewalk-client/Cent
>>OS
>> _6_x86_64-64-bit/repodata/repomd.xml
>> 
>> I'm not really sure what to do in this case.  Do I need to rename the
>> spacewalk-client channel/repo?  Is this a bug or expected behavior with
>> the spacewalk server name called spacewalk?
>
>So, does wgetting
>
>	http://spacewalk.fqdn.tld/ks/dist/child/centos-6-x86_64-spacewalk-client/
>CentOS_6_x86_64-64-bit/repodata/repomd.xml
>
>(as opposed to proxy.fqdn.tld) actually work?
>
>-- 
>Jan Pazdziora
>Principal Software Engineer, Satellite Engineering, Red Hat
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list