Error downloading kickstart file

Hi,

Having trouble deploying Centos 6.5. I keep getting an error "Error
downloading kickstart file".

But when I use the url
(https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417)
manually in my browser, it works ok.

What can this be? I'm using self signed certificates and followed these
instructions: Foreman :: Manual

Kind regards,

Jorick Astrego
Netbulae

Can you verify that in your network your Foreman server is available
under the foreman.domain.ext name? If you see this in Anaconda, switch
over to shell and try to reach foreman.

LZ

··· On Tue, Jul 15, 2014 at 10:12:55AM +0200, Jorick Astrego wrote: > Hi, > > Having trouble deploying Centos 6.5. I keep getting an error "Error > downloading kickstart file". > > But when I use the url (https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417) > manually in my browser, it works ok. > > What can this be? I'm using self signed certificates and followed these > instructions: http://theforeman.org/manuals/1.5/index.html#4.3.7SSL > > Kind regards, > > Jorick Astrego > Netbulae > > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

> Can you verify that in your network your Foreman server is available
> under the foreman.domain.ext name? If you see this in Anaconda, switch
> over to shell and try to reach foreman.
>
> LZ
>
> > Hi,
> >
> > Having trouble deploying Centos 6.5. I keep getting an error "Error
> > downloading kickstart file".
> >
> > But when I use the url (
> https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417
> )
>

anaconda does not support https… how did you end up having https ?

Ohad

··· On Tue, Jul 15, 2014 at 1:01 PM, Lukas Zapletal wrote: > On Tue, Jul 15, 2014 at 10:12:55AM +0200, Jorick Astrego wrote:

manually in my browser, it works ok.

What can this be? I’m using self signed certificates and followed these
instructions: Foreman :: Manual

Kind regards,

Jorick Astrego
Netbulae


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Ah ok then it won't work, I think I enabled SSL on foreman proxy when
running the installer so I will run it again without setting SSL = true.

Thanks!

Kind regards,
Jorick Astrego

··· On 07/15/2014 12:25 PM, Ohad Levy wrote: > > On Tue, Jul 15, 2014 at 1:01 PM, Lukas Zapletal > wrote: > > Can you verify that in your network your Foreman server is available > under the foreman.domain.ext name? If you see this in Anaconda, switch > over to shell and try to reach foreman. > > LZ > > On Tue, Jul 15, 2014 at 10:12:55AM +0200, Jorick Astrego wrote: > > Hi, > > > > Having trouble deploying Centos 6.5. I keep getting an error "Error > > downloading kickstart file". > > > > But when I use the url > (https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417) > > > anaconda does not support https.... how did you end up having https ? > > Ohad >

You don't need to disable SSL on Foreman as a whole - it accepts http
requests for provisioning even when enforcing https everywhere else.
Just make sure your :unattended_url: setting is http.

Greg

I wasn't able to get things working properly anymore so I removed
everything and re-install.

When I run "foreman-installer -i" , I see SSL enabled on foreman-proxy:

"4. Set registered_proxy_url, current value:
https://foreman.domain.ext:8443"
"68. Set ssl, current value: true"

So if anaconda doesn't support SSL shouldn't the default be "ssl=false"
and "registered_proxy_url = http://" ???

Kind regards,

Jorick Astrego
Netbulae

··· On 07/15/2014 12:53 PM, Jorick Astrego wrote: > > On 07/15/2014 12:25 PM, Ohad Levy wrote: >> >> On Tue, Jul 15, 2014 at 1:01 PM, Lukas Zapletal > > wrote: >> >> Can you verify that in your network your Foreman server is available >> under the foreman.domain.ext name? If you see this in Anaconda, >> switch >> over to shell and try to reach foreman. >> >> LZ >> >> On Tue, Jul 15, 2014 at 10:12:55AM +0200, Jorick Astrego wrote: >> > Hi, >> > >> > Having trouble deploying Centos 6.5. I keep getting an error "Error >> > downloading kickstart file". >> > >> > But when I use the url >> (https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417) >> >> >> anaconda does not support https.... how did you end up having https ? >> >> Ohad >> > Ah ok then it won't work, I think I enabled SSL on foreman proxy when > running the installer so I will run it again without setting SSL = true. > > Thanks! > > Kind regards, > Jorick Astrego

Leave it as it is. Just make sure that you unattend_url isn't https then
everything should work. I have a 1.5.1 default install, with ssl, and
VMs can find the kickstartfile fine.

Joop

··· On 17-7-2014 14:03, Jorick Astrego wrote: > > On 07/15/2014 12:53 PM, Jorick Astrego wrote: >> >> On 07/15/2014 12:25 PM, Ohad Levy wrote: >>> >>> On Tue, Jul 15, 2014 at 1:01 PM, Lukas Zapletal >> > wrote: >>> >>> Can you verify that in your network your Foreman server is available >>> under the foreman.domain.ext name? If you see this in Anaconda, >>> switch >>> over to shell and try to reach foreman. >>> >>> LZ >>> >>> On Tue, Jul 15, 2014 at 10:12:55AM +0200, Jorick Astrego wrote: >>> > Hi, >>> > >>> > Having trouble deploying Centos 6.5. I keep getting an error >>> "Error >>> > downloading kickstart file". >>> > >>> > But when I use the url >>> (https://foreman.domain.ext:443/unattended/provision?token=2dabde3e-21f7-4c10-97bb-7fbe23daf417) >>> >>> >>> anaconda does not support https.... how did you end up having https ? >>> >>> Ohad >>> >> Ah ok then it won't work, I think I enabled SSL on foreman proxy when >> running the installer so I will run it again without setting SSL = true. >> >> Thanks! >> >> Kind regards, >> Jorick Astrego > > I wasn't able to get things working properly anymore so I removed > everything and re-install. > > When I run "foreman-installer -i" , I see SSL enabled on foreman-proxy: > > "4. Set registered_proxy_url, current value: > https://foreman.domain.ext:8443" > "68. Set ssl, current value: true" > > So if anaconda doesn't support SSL shouldn't the default be > "ssl=false" and "registered_proxy_url = http://" ???