Just getting my Foreman installation bootstrapped. Trying to get
unattended provisioning working, but am hitting a snag. I have not
seen any discussion around this, and this is a default install of
Foreman 0.3 + Passenger. I added a host, and then hit the build
button. When the server connects for Foreman to download it's
settings, I receive a 500 error message. Any advice?
Contents of pxe boot
···
----
default linux
label linux
kernel boot/CentOS-6.0-x86_64-vmlinuz
append initrd=boot/CentOS-6.0-x86_64-initrd.img ks=http://
foreman1.colo.company.com/unattended/provision ksdevice=bootif network
kssendmac
500 Error message in production.log
http://pastebin.com/Up2fWweW
>
> Just getting my Foreman installation bootstrapped. Trying to get
> unattended provisioning working, but am hitting a snag. I have not
> seen any discussion around this, and this is a default install of
> Foreman 0.3 + Passenger. I added a host, and then hit the build
> button. When the server connects for Foreman to download it's
> settings, I receive a 500 error message. Any advice?
My guess is that there is no provision template associated with that
os/hostgroup/env.
Make sure you have a default template in your os settings.
Ohad
>
> Contents of pxe boot
> ----
> default linux
> label linux
> kernel boot/CentOS-6.0-x86_64-vmlinuz
> append initrd=boot/CentOS-6.0-x86_64-initrd.img ks=http://
> foreman1.colo.company.com/unattended/provision ksdevice=bootif network
> kssendmac
>
> 500 Error message in production.log
> -----
> http://pastebin.com/Up2fWweW
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To post to this group, send email to foreman-users@googlegroups.com.
> To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
···
On 2011 7 11 06:26, "Jeremy Carroll" wrote:
>
This is exactly the issue. I changed the template from provision, to
pxelinux and added the associated template.
Thanks!
···
On Jul 10, 10:40 pm, Ohad Levy wrote:
> On 2011 7 11 06:26, "Jeremy Carroll" wrote:
>
>
>
> > Just getting my Foreman installation bootstrapped. Trying to get
> > unattended provisioning working, but am hitting a snag. I have not
> > seen any discussion around this, and this is a default install of
> > Foreman 0.3 + Passenger. I added a host, and then hit the build
> > button. When the server connects for Foreman to download it's
> > settings, I receive a 500 error message. Any advice?
>
> My guess is that there is no provision template associated with that
> os/hostgroup/env.
>
> Make sure you have a default template in your os settings.
>
> Ohad
>
>
>
>
>
>
>
>
>
> > Contents of pxe boot
> > ----
> > default linux
> > label linux
> > kernel boot/CentOS-6.0-x86_64-vmlinuz
> > append initrd=boot/CentOS-6.0-x86_64-initrd.img ks=http://
> > foreman1.colo.company.com/unattended/provision ksdevice=bootif network
> > kssendmac
>
> > 500 Error message in production.log
> > -----
> >http://pastebin.com/Up2fWweW
>
> > --
> > You received this message because you are subscribed to the Google Groups
>
> "Foreman users" group.> To post to this group, send email to foreman-users@googlegroups.com.
> > To unsubscribe from this group, send email to
>
> foreman-users+unsubscribe@googlegroups.com.> For more options, visit this group at
>
> http://groups.google.com/group/foreman-users?hl=en.
>
>
>
>
>
>
>
>
> This is exactly the issue. I changed the template from provision, to
> pxelinux and added the associated template.
Great - would you mind opening a bug? we should have a more useful error
message than 500 
thanks!
Ohad
···
On Mon, 2011-07-11 at 14:39 -0700, Jeremy Carroll wrote:
>
> Thanks!
>
> On Jul 10, 10:40 pm, Ohad Levy wrote:
> > On 2011 7 11 06:26, "Jeremy Carroll" wrote:
> >
> >
> >
> > > Just getting my Foreman installation bootstrapped. Trying to get
> > > unattended provisioning working, but am hitting a snag. I have not
> > > seen any discussion around this, and this is a default install of
> > > Foreman 0.3 + Passenger. I added a host, and then hit the build
> > > button. When the server connects for Foreman to download it's
> > > settings, I receive a 500 error message. Any advice?
> >
> > My guess is that there is no provision template associated with that
> > os/hostgroup/env.
> >
> > Make sure you have a default template in your os settings.
> >
> > Ohad
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > Contents of pxe boot
> > > ----
> > > default linux
> > > label linux
> > > kernel boot/CentOS-6.0-x86_64-vmlinuz
> > > append initrd=boot/CentOS-6.0-x86_64-initrd.img ks=http://
> > > foreman1.colo.company.com/unattended/provision ksdevice=bootif network
> > > kssendmac
> >
> > > 500 Error message in production.log
> > > -----
> > >http://pastebin.com/Up2fWweW
> >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> >
> > "Foreman users" group.> To post to this group, send email to foreman-users@googlegroups.com.
> > > To unsubscribe from this group, send email to
> >
> > foreman-users+unsubscribe@googlegroups.com.> For more options, visit this group at
> >
> > http://groups.google.com/group/foreman-users?hl=en.
> >
> >
> >
> >
> >
> >
> >
> >
>