Bootdisk Template - Error

What is the following error: "There was an error rendering the Boot disk
iPXE - generic host template: undefined method `bootdisk_chain_url' for
#<#<Class:0x007f59f946dde0>:0x007f59fd4ae508>"
How can I solve it?

Which version of Foreman and foreman_bootdisk do you have installed?

··· On 12/01/15 12:26, Royee Tager wrote: > What is the following error: "There was an error rendering the Boot disk > iPXE - generic host template: undefined method `bootdisk_chain_url' for > #<#:0x007f59fd4ae508>" > How can I solve it?


Dominic Cleal
Red Hat Engineering

Foreman = 1.7.1
foreman_bootdisk = 4.0.2

בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic Cleal:

··· > > On 12/01/15 12:26, Royee Tager wrote: > > What is the following error: "There was an error rendering the Boot disk > > iPXE - generic host template: undefined method `bootdisk_chain_url' for > > #<#:0x007f59fd4ae508>" > > How can I solve it? > > Which version of Foreman and foreman_bootdisk do you have installed? > > -- > Dominic Cleal > Red Hat Engineering >

And how are you getting the error precisely? Or what are you doing when
you see it?

On the host edit page, under the OS tab is a Resolve button - if you can
click it, then paste which template kinds are associated to which
templates, that might be useful.

··· -- Dominic Cleal Red Hat Engineering

On 12/01/15 12:39, Royee Tager wrote:

Foreman = 1.7.1
foreman_bootdisk = 4.0.2

בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic Cleal:

On 12/01/15 12:26, Royee Tager wrote:
> What is the following error: "There was an error rendering the
Boot disk
> iPXE - generic host template: undefined method
`bootdisk_chain_url' for
> #<#<Class:0x007f59f946dde0>:0x007f59fd4ae508>"
> How can I solve it?

Which version of Foreman and foreman_bootdisk do you have installed?

-- 
Dominic Cleal
Red Hat Engineering


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto: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.

I get this error message if I click the "review" button of the "Bootdisk
Template" in the templates tabs.
When I click the "resolve" button, the following templates are associated:

Bootdisk Template
Boot disk iPXE - generic host
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/43-Boot%20disk%20iPXE%20-%20generic%20host/edit>
iPXE Template
Kickstart default iPXE
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/22-Kickstart%20default%20iPXE/edit>
provision Template
Kickstart default
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/18-Kickstart%20default/edit>

בתאריך יום שני, 12 בינואר 2015 בשעה 14:41:20 UTC+2, מאת Dominic Cleal:

··· > > And how are you getting the error precisely? Or what are you doing when > you see it? > > On the host edit page, under the OS tab is a Resolve button - if you can > click it, then paste which template kinds are associated to which > templates, that might be useful. > > -- > Dominic Cleal > Red Hat Engineering > > On 12/01/15 12:39, Royee Tager wrote: > > Foreman = 1.7.1 > > foreman_bootdisk = 4.0.2 > > > > בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic Cleal: > > > > On 12/01/15 12:26, Royee Tager wrote: > > > What is the following error: "There was an error rendering the > > Boot disk > > > iPXE - generic host template: undefined method > > `bootdisk_chain_url' for > > > #<#:0x007f59fd4ae508>" > > > How can I solve it? > > > > Which version of Foreman and foreman_bootdisk do you have installed? > > > > -- > > Dominic Cleal > > Red Hat Engineering > > > > -- > > 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-user...@googlegroups.com > > <mailto:foreman-users+unsubscribe@googlegroups.com >. > > To post to this group, send email to forema...@googlegroups.com > > > <mailto:forema...@googlegroups.com >. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > >

Fair enough, but it's not meant to be associated to an OS and previewed.
It's possible that could be fixed if you'd like to file a bug report:
http://projects.theforeman.org/projects/bootdisk/issues/new

I'd suggest just trying to download the ISO image from the host page.

··· -- Dominic Cleal Red Hat Engineering

On 12/01/15 12:49, Royee Tager wrote:

I get this error message if I click the “review” button of the “Bootdisk
Template” in the templates tabs.
When I click the “resolve” button, the following templates are associated:

Bootdisk Template
Boot disk iPXE - generic host
https://drm-foreman.xiodrm.lab.emc.com/config_templates/43-Boot%20disk%20iPXE%20-%20generic%20host/edit
iPXE Template
Kickstart default iPXE
https://drm-foreman.xiodrm.lab.emc.com/config_templates/22-Kickstart%20default%20iPXE/edit
provision Template
Kickstart default
https://drm-foreman.xiodrm.lab.emc.com/config_templates/18-Kickstart%20default/edit

בתאריך יום שני, 12 בינואר 2015 בשעה 14:41:20 UTC+2, מאת Dominic Cleal:

And how are you getting the error precisely?  Or what are you doing
when
you see it?

On the host edit page, under the OS tab is a Resolve button - if you
can
click it, then paste which template kinds are associated to which
templates, that might be useful.

-- 
Dominic Cleal
Red Hat Engineering

On 12/01/15 12:39, Royee Tager wrote:
> Foreman = 1.7.1
> foreman_bootdisk = 4.0.2
>
> בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic
Cleal:
>
>     On 12/01/15 12:26, Royee Tager wrote:
>     > What is the following error: "There was an error rendering the
>     Boot disk
>     > iPXE - generic host template: undefined method
>     `bootdisk_chain_url' for
>     > #<#<Class:0x007f59f946dde0>:0x007f59fd4ae508>"
>     > How can I solve it?
>
>     Which version of Foreman and foreman_bootdisk do you have
installed?
>
>     --
>     Dominic Cleal
>     Red Hat Engineering
>
> --
> 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-user...@googlegroups.com <javascript:>
> <mailto:foreman-users+unsubscribe@googlegroups.com <javascript:>>.
> To post to this group, send email to forema...@googlegroups.com
<javascript:>
> <mailto:forema...@googlegroups.com <javascript:>>.
> Visit this group at http://groups.google.com/group/foreman-users
<http://groups.google.com/group/foreman-users>.
> For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto: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.

Hi Dominic,

I filed a bug report: Bug #8906: Error when previewing associated bootdisk template - Boot disk - Foreman
I'm trying to provision my hosts via bootdisk since the company which I
work for uses Infoblox for DHCP & DNS services.
I don't understand how to use the plugin?
If I choose to download the ISO image from the host page it downloads the
image.
What do I need to do from this step?

בתאריך יום שני, 12 בינואר 2015 בשעה 15:07:33 UTC+2, מאת Dominic Cleal:

··· > > Fair enough, but it's not meant to be associated to an OS and previewed. > It's possible that could be fixed if you'd like to file a bug report: > http://projects.theforeman.org/projects/bootdisk/issues/new > > I'd suggest just trying to download the ISO image from the host page. > > -- > Dominic Cleal > Red Hat Engineering > > On 12/01/15 12:49, Royee Tager wrote: > > I get this error message if I click the "review" button of the "Bootdisk > > Template" in the templates tabs. > > When I click the "resolve" button, the following templates are > associated: > > > > Bootdisk Template > > Boot disk iPXE - generic host > > < > https://drm-foreman.xiodrm.lab.emc.com/config_templates/43-Boot%20disk%20iPXE%20-%20generic%20host/edit> > > > iPXE Template > > Kickstart default iPXE > > < > https://drm-foreman.xiodrm.lab.emc.com/config_templates/22-Kickstart%20default%20iPXE/edit> > > > provision Template > > Kickstart default > > < > https://drm-foreman.xiodrm.lab.emc.com/config_templates/18-Kickstart%20default/edit> > > > > > > > > > בתאריך יום שני, 12 בינואר 2015 בשעה 14:41:20 UTC+2, מאת Dominic Cleal: > > > > And how are you getting the error precisely? Or what are you doing > > when > > you see it? > > > > On the host edit page, under the OS tab is a Resolve button - if you > > can > > click it, then paste which template kinds are associated to which > > templates, that might be useful. > > > > -- > > Dominic Cleal > > Red Hat Engineering > > > > On 12/01/15 12:39, Royee Tager wrote: > > > Foreman = 1.7.1 > > > foreman_bootdisk = 4.0.2 > > > > > > בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic > > Cleal: > > > > > > On 12/01/15 12:26, Royee Tager wrote: > > > > What is the following error: "There was an error rendering > the > > > Boot disk > > > > iPXE - generic host template: undefined method > > > `bootdisk_chain_url' for > > > > #<#:0x007f59fd4ae508>" > > > > How can I solve it? > > > > > > Which version of Foreman and foreman_bootdisk do you have > > installed? > > > > > > -- > > > Dominic Cleal > > > Red Hat Engineering > > > > > > -- > > > 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-user...@googlegroups.com > > > <mailto:foreman-users+unsubscribe@googlegroups.com > >. > > > To post to this group, send email to forema...@googlegroups.com > > > > > <mailto:forema...@googlegroups.com >. > > > Visit this group at http://groups.google.com/group/foreman-users > > . > > > For more options, visit https://groups.google.com/d/optout > > . > > > > -- > > 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-user...@googlegroups.com > > <mailto:foreman-users+unsubscribe@googlegroups.com >. > > To post to this group, send email to forema...@googlegroups.com > > > <mailto:forema...@googlegroups.com >. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > >

Boot the host with the ISO image you downloaded… if it's virtual you
probably have a way to upload an ISO, if it's physical you might be able
to use it via a lights-out mechanism, or burn it to physical CD or USB
media.

··· -- Dominic Cleal Red Hat Engineering

On 12/01/15 13:18, Royee Tager wrote:

Hi Dominic,

I filed a bug report: Bug #8906: Error when previewing associated bootdisk template - Boot disk - Foreman
I’m trying to provision my hosts via bootdisk since the company which I
work for uses Infoblox for DHCP & DNS services.
I don’t understand how to use the plugin?
If I choose to download the ISO image from the host page it downloads
the image.
What do I need to do from this step?

בתאריך יום שני, 12 בינואר 2015 בשעה 15:07:33 UTC+2, מאת Dominic Cleal:

Fair enough, but it's not meant to be associated to an OS and
previewed.
 It's possible that could be fixed if you'd like to file a bug report:
http://projects.theforeman.org/projects/bootdisk/issues/new
<http://projects.theforeman.org/projects/bootdisk/issues/new>

I'd suggest just trying to download the ISO image from the host page.

-- 
Dominic Cleal
Red Hat Engineering

On 12/01/15 12:49, Royee Tager wrote:
> I get this error message if I click the "review" button of the
"Bootdisk
> Template" in the templates tabs.
> When I click the "resolve" button, the following templates are
associated:
>
> Bootdisk Template
> Boot disk iPXE - generic host
>
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/43-Boot%20disk%20iPXE%20-%20generic%20host/edit
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/43-Boot%20disk%20iPXE%20-%20generic%20host/edit>>

> iPXE Template
> Kickstart default iPXE
>
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/22-Kickstart%20default%20iPXE/edit
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/22-Kickstart%20default%20iPXE/edit>>

> provision Template
> Kickstart default
>
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/18-Kickstart%20default/edit
<https://drm-foreman.xiodrm.lab.emc.com/config_templates/18-Kickstart%20default/edit>>

>
>
>
> בתאריך יום שני, 12 בינואר 2015 בשעה 14:41:20 UTC+2, מאת Dominic
Cleal:
>
>     And how are you getting the error precisely?  Or what are you
doing
>     when
>     you see it?
>
>     On the host edit page, under the OS tab is a Resolve button -
if you
>     can
>     click it, then paste which template kinds are associated to which
>     templates, that might be useful.
>
>     --
>     Dominic Cleal
>     Red Hat Engineering
>
>     On 12/01/15 12:39, Royee Tager wrote:
>     > Foreman = 1.7.1
>     > foreman_bootdisk = 4.0.2
>     >
>     > בתאריך יום שני, 12 בינואר 2015 בשעה 14:34:15 UTC+2, מאת Dominic
>     Cleal:
>     >
>     >     On 12/01/15 12:26, Royee Tager wrote:
>     >     > What is the following error: "There was an error
rendering the
>     >     Boot disk
>     >     > iPXE - generic host template: undefined method
>     >     `bootdisk_chain_url' for
>     >     > #<#<Class:0x007f59f946dde0>:0x007f59fd4ae508>"
>     >     > How can I solve it?
>     >
>     >     Which version of Foreman and foreman_bootdisk do you have
>     installed?
>     >
>     >     --
>     >     Dominic Cleal
>     >     Red Hat Engineering
>     >
>     > --
>     > 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-user...@googlegroups.com <javascript:>
>     > <mailto:foreman-users+unsubscribe@googlegroups.com
<javascript:> <javascript:>>.
>     > To post to this group, send email to forema...@googlegroups.com
>     <javascript:>
>     > <mailto:forema...@googlegroups.com <javascript:>>.
>     > Visit this group at
http://groups.google.com/group/foreman-users
<http://groups.google.com/group/foreman-users>
>     <http://groups.google.com/group/foreman-users
<http://groups.google.com/group/foreman-users>>.
>     > For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>
>     <https://groups.google.com/d/optout
<https://groups.google.com/d/optout>>.
>
> --
> 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-user...@googlegroups.com <javascript:>
> <mailto:foreman-users+unsubscribe@googlegroups.com <javascript:>>.
> To post to this group, send email to forema...@googlegroups.com
<javascript:>
> <mailto:forema...@googlegroups.com <javascript:>>.
> Visit this group at http://groups.google.com/group/foreman-users
<http://groups.google.com/group/foreman-users>.
> For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto: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.