Failed to generate PXELinux template: undefined method 'each' for nil:NilClass

When trying to add a new hosts I am having issues with the UI
reporting the following 2 messages:

Unable to save
Failed to generate PXELinux template: undefined method each' for nil:NilClass Failed to perform rollback on DHCP Settings for foreman- test.sys.test.net - undefined methoddestroy' for nil:NilClass

However the log file seems to indicate that is (or it should be
successful)

D, [2012-01-12T21:41:31.569871 #30457] DEBUG – : Loading subnets for
127.0.0.1
D, [2012-01-12T21:41:31.570021 #30457] DEBUG – : Added
192.168.1.0/255.255.255.0 to 127.0.0.1
D, [2012-01-12T21:41:31.575652 #30457] DEBUG – : Loading subnet data
for 192.168.1.0/255.255.255.0
I, [2012-01-12T21:41:31.575790 #30457] INFO – : Enumerated hosts on
192.168.1.0
D, [2012-01-12T21:41:31.575824 #30457] DEBUG – : Lazy loaded
192.168.1.0/255.255.255.0 records
D, [2012-01-12T21:41:31.575868 #30457] DEBUG – : Searching for free
ip - pinging 192.168.1.1
I, [2012-01-12T21:41:31.576167 #30457] INFO – : Found a pingable
IP(192.168.1.1) address which does not have a Proxy::DHCP record
D, [2012-01-12T21:41:31.576204 #30457] DEBUG – : Searching for free
ip - pinging 192.168.1.2
D, [2012-01-12T21:41:33.614482 #30457] DEBUG – : Found free ip
192.168.1.2 out of a total of 254 free ips
D, [2012-01-12T21:41:53.827477 #30457] DEBUG – : Loading subnets for
127.0.0.1
D, [2012-01-12T21:41:53.827559 #30457] DEBUG – : Added
192.168.1.0/255.255.255.0 to 127.0.0.1
D, [2012-01-12T21:41:53.827733 #30457] DEBUG – : Loading subnet data
for 192.168.1.0/255.255.255.0
I, [2012-01-12T21:41:53.827850 #30457] INFO – : Enumerated hosts on
192.168.1.0
D, [2012-01-12T21:41:53.827882 #30457] DEBUG – : Lazy loaded
192.168.1.0/255.255.255.0 records
D, [2012-01-12T21:41:53.827956 #30457] DEBUG – : Added foreman-
test.sys.test.net (192.168.1.2 / 00:50:56:8c:72:33) to
192.168.1.0/255.255.255.0
D, [2012-01-12T21:41:53.828862 #30457] DEBUG – : omshell: executed -
set name = "foreman-test.sys.test.net"
D, [2012-01-12T21:41:53.828934 #30457] DEBUG – : true
D, [2012-01-12T21:41:53.828977 #30457] DEBUG – : omshell: executed -
set ip-address = 192.168.1.2
D, [2012-01-12T21:41:53.829003 #30457] DEBUG – : true
D, [2012-01-12T21:41:53.829037 #30457] DEBUG – : omshell: executed -
set hardware-address = 00:50:56:8c:72:33
D, [2012-01-12T21:41:53.829064 #30457] DEBUG – : true
D, [2012-01-12T21:41:53.829116 #30457] DEBUG – : omshell: executed -
set hardware-type = 1
D, [2012-01-12T21:41:53.829145 #30457] DEBUG – : true
D, [2012-01-12T21:41:53.829446 #30457] DEBUG – : omshell: executed -
set statements = "filename = "pxelinux.0"; next-server = ac:
14:4d:f3; option host-name = "foreman-test.sys.test.net";"
D, [2012-01-12T21:41:53.829478 #30457] DEBUG – : true
D, [2012-01-12T21:41:53.829516 #30457] DEBUG – : omshell: executed -
create
D, [2012-01-12T21:41:53.829541 #30457] DEBUG – : true
I, [2012-01-12T21:41:53.834681 #30457] INFO – : Added DHCP
reservation for foreman-test.sys.test.net (192.168.1.2 / 00:50:56:8c:
72:33)
I, [2012-01-12T21:41:53.855104 #30457] INFO – : TFTP: entry for
00:50:56:8c:72:33 created successfully
D, [2012-01-12T21:41:53.858916 #30457] DEBUG – : Starting task
(total: 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c
http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//images/pxeboot/initrd.img
-O "/tftpboot/boot/CentOS-5.7-x86_64-initrd.img"
D, [2012-01-12T21:41:53.864047 #30457] DEBUG – : Starting task
(total: 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c
http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//images/pxeboot/vmlinuz
-O "/tftpboot/boot/CentOS-5.7-x86_64-vmlinuz"
D, [2012-01-12T21:41:53.869619 #30457] DEBUG – : TFTP: entry for
00:50:56:8c:72:33 removed successfully
E, [2012-01-12T21:41:53.934668 #30457] ERROR – : [7786] 2012-01-12
21:41:53 URL:http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//
images/pxeboot/vmlinuz [2106172/2106172] -> "/tftpboot/boot/CentOS-5.7-
x86_64-vmlinuz" [1]

E, [2012-01-12T21:41:54.047121 #30457] ERROR – : [7356] 2012-01-12
21:41:54 URL:http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//
images/pxeboot/initrd.img [11370374/11370374] -> "/tftpboot/boot/
CentOS-5.7-x86_64-initrd.img" [1]

The files are downloaded to /tftpboot/

sh-3.2# ls -la /tftpboot/boot/
total 13196
drwx------ 2 foreman-proxy root 4096 Jan 12 21:34 .
drwxr-xr-x 6 root root 4096 Jan 12 21:26 …
-rw-r–r-- 1 foreman-proxy foreman-proxy 11370374 Jan 12 21:41
CentOS-5.7-x86_64-initrd.img
-rw-r–r-- 1 foreman-proxy foreman-proxy 2106172 Jan 12 21:41
CentOS-5.7-x86_64-vmlinuz
sh-3.2#

Can someone point me in the right direction as to what am I missing?

Thank!

I realized I am missing a lot of info useful to debug the issue:

The version of foreman is foreman-4-stable git branch (I just checked out a
fresh one)
The version of foreman-proxy is foreman-proxy-0.3.1-0.1.noarch.rpm

Output in production.log:
Processing HostsController#create (for 68.87.23.77 at 2012-01-13 14:26:21)
[POST]
Parameters: {"commit"=>"Submit", "action"=>"create",
"authenticity_token"=>"RH9HUWGqcZZMYkgFlAoHUet52GdMihu75i2VsQx8z0Y=",
"controller"=>"hosts", "host"=>{"comment"=>"test hosts for provisioning",
"architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"true",
"puppetproxy_id"=>"", "name"=>"foreman-test",
"host_parameters_attributes"=>{"0"=>{"name"=>"", "nested"=>"", "value"=>"",
"_destroy"=>""}}, "sp_mac"=>"", "puppetmaster_name"=>"
dcavm-nb-18p.sys.test.net", "sp_name"=>"", "mac"=>"00:50:56:8C:72:33",
"domain_id"=>"1", "enabled"=>"1", "root_pass"=>"[FILTERED]", "build"=>"1",
"medium_id"=>"5", "hostgroup_id"=>"1", "ptable_id"=>"1",
"sp_subnet_id"=>"", "ip"=>"192.168.1.2", "environment_id"=>"1",
"model_id"=>"1", "disk"=>"", "sp_ip"=>"", "puppetclass_ids"=>[""],
"operatingsystem_id"=>"2"}}
Create DHCP reservation for foreman-test.sys.test.net-00:50:56:8c:72:33/
192.168.1.2
Add the TFTP configuration for foreman-test.sys.test.net
Failed to generate PXELinux template: undefined method each' for nil:NilClass Fetching required TFTP boot files for foreman-test.sys.test.net Rolling back due to a problem: Delete the TFTP configuration for foreman-test.sys.test.net Failed to perform rollback on DHCP Settings for foreman-test.sys.test.net- undefined methoddestroy' for nil:NilClass
Failed to save: Failed to generate PXELinux template: undefined method
each' for nil:NilClass, Failed to perform rollback on DHCP Settings for foreman-test.sys.test.net - undefined methoddestroy' for nil:NilClass
Rendering template within layouts/application
Rendering hosts/new

Foreman-proxy (sinatra) console output is:
::ffff:172.20.77.243 - - [13/Jan/2012 14:25:18] "GET /dhcp/
192.168.1.0/unused_ip HTTP/1.1" 200 20 2.0411
dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:25:16 UTC] "GET /dhcp/
192.168.1.0/unused_ip HTTP/1.1" 200 20

  • -> /dhcp/192.168.1.0/unused_ip
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "GET /tftp/serverName
    HTTP/1.1" 200 17 0.0004
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "GET
    /tftp/serverName HTTP/1.1" 200 17
  • -> /tftp/serverName
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "POST
    /dhcp/192.168.1.0HTTP/1.1" 200 - 0.0065
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "POST /dhcp/
    192.168.1.0 HTTP/1.1" 200 0
  • -> /dhcp/192.168.1.0
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "POST
    /tftp/syslinux/00:50:56:8c:72:33 HTTP/1.1" 200 - 0.0009
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "POST
    /tftp/syslinux/00:50:56:8c:72:33 HTTP/1.1" 200 0
  • -> /tftp/syslinux/00:50:56:8c:72:33
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "POST /tftp/fetch_boot_file
    HTTP/1.1" 200 - 0.0028
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "POST
    /tftp/fetch_boot_file HTTP/1.1" 200 0
  • -> /tftp/fetch_boot_file
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "POST /tftp/fetch_boot_file
    HTTP/1.1" 200 - 0.0025
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "POST
    /tftp/fetch_boot_file HTTP/1.1" 200 0
  • -> /tftp/fetch_boot_file
    ::ffff:172.20.77.243 - - [13/Jan/2012 14:26:21] "DELETE
    /tftp/syslinux/00:50:56:8c:72:33 HTTP/1.1" 200 - 0.0006
    dcavm-nb-18p.sys.test.net - - [13/Jan/2012:14:26:21 UTC] "DELETE
    /tftp/syslinux/00:50:56:8c:72:33 HTTP/1.1" 200 0

The proxy log is:

D, [2012-01-13T14:25:16.355366 #30457] DEBUG – : Loading subnets for
127.0.0.1
D, [2012-01-13T14:25:16.355523 #30457] DEBUG – : Added
192.168.1.0/255.255.255.0 to 127.0.0.1
D, [2012-01-13T14:25:16.360448 #30457] DEBUG – : Loading subnet data for
192.168.1.0/255.255.255.0
I, [2012-01-13T14:25:16.360585 #30457] INFO – : Enumerated hosts on
192.168.1.0
D, [2012-01-13T14:25:16.360623 #30457] DEBUG – : Lazy loaded
192.168.1.0/255.255.255.0 records
D, [2012-01-13T14:25:16.360674 #30457] DEBUG – : Searching for free ip -
pinging 192.168.1.1
I, [2012-01-13T14:25:16.361054 #30457] INFO – : Found a pingable
IP(192.168.1.1) address which does not have a Proxy::DHCP record
D, [2012-01-13T14:25:16.361094 #30457] DEBUG – : Searching for free ip -
pinging 192.168.1.2
D, [2012-01-13T14:25:18.395080 #30457] DEBUG – : Found free ip 192.168.1.2
out of a total of 254 free ips
D, [2012-01-13T14:26:21.808569 #30457] DEBUG – : Loading subnets for
127.0.0.1
D, [2012-01-13T14:26:21.808658 #30457] DEBUG – : Added
192.168.1.0/255.255.255.0 to 127.0.0.1
D, [2012-01-13T14:26:21.808823 #30457] DEBUG – : Loading subnet data for
192.168.1.0/255.255.255.0
I, [2012-01-13T14:26:21.808950 #30457] INFO – : Enumerated hosts on
192.168.1.0
D, [2012-01-13T14:26:21.808988 #30457] DEBUG – : Lazy loaded
192.168.1.0/255.255.255.0 records
D, [2012-01-13T14:26:21.809061 #30457] DEBUG – : Added
foreman-test.sys.test.net (192.168.1.2 / 00:50:56:8c:72:33) to
192.168.1.0/255.255.255.0
D, [2012-01-13T14:26:21.810026 #30457] DEBUG – : omshell: executed - set
name = "foreman-test.sys.test.net"
D, [2012-01-13T14:26:21.810094 #30457] DEBUG – : true
D, [2012-01-13T14:26:21.810180 #30457] DEBUG – : omshell: executed - set
ip-address = 192.168.1.2
D, [2012-01-13T14:26:21.810214 #30457] DEBUG – : true
D, [2012-01-13T14:26:21.810257 #30457] DEBUG – : omshell: executed - set
hardware-address = 00:50:56:8c:72:33
D, [2012-01-13T14:26:21.810285 #30457] DEBUG – : true
D, [2012-01-13T14:26:21.810323 #30457] DEBUG – : omshell: executed - set
hardware-type = 1
D, [2012-01-13T14:26:21.810354 #30457] DEBUG – : true
D, [2012-01-13T14:26:21.810461 #30457] DEBUG – : omshell: executed - set
statements = "filename = "pxelinux.0"; next-server = ac:14:4d:f3; option
host-name = "foreman-test.sys.test.net";"
D, [2012-01-13T14:26:21.810499 #30457] DEBUG – : true
D, [2012-01-13T14:26:21.810537 #30457] DEBUG – : omshell: executed - create
D, [2012-01-13T14:26:21.810569 #30457] DEBUG – : true
I, [2012-01-13T14:26:21.814510 #30457] INFO – : Added DHCP reservation
for foreman-test.sys.test.net (192.168.1.2 / 00:50:56:8c:72:33)
I, [2012-01-13T14:26:21.903233 #30457] INFO – : TFTP: entry for
00:50:56:8c:72:33 created successfully
D, [2012-01-13T14:26:21.906843 #30457] DEBUG – : Starting task (total: 0):
wget --timeout=10 --tries=3 --no-check-certificate -nv -c
http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//images/pxeboot/initrd.img-O
"/tftpboot/boot/CentOS-5.7-x86_64-initrd.img"
D, [2012-01-13T14:26:21.912511 #30457] DEBUG – : Starting task (total: 0):
wget --timeout=10 --tries=3 --no-check-certificate -nv -c
http://dcavm-nb-18p.sys.test.net/centos/x86_64/5/7//images/pxeboot/vmlinuz-O
"/tftpboot/boot/CentOS-5.7-x86_64-vmlinuz"
D, [2012-01-13T14:26:21.917459 #30457] DEBUG – : TFTP: entry for
00:50:56:8c:72:33 removed successfully

Telmo.

it sounds like your pxe template is somehow invalid?

Ohad

··· On Fri, Jan 13, 2012 at 4:39 PM, Telmo X wrote: > I realized I am missing a lot of info useful to debug the issue: > > The version of foreman is foreman-4-stable git branch (I just checked out a > fresh one) > The version of foreman-proxy is foreman-proxy-0.3.1-0.1.noarch.rpm > > Output in production.log: > Processing HostsController#create (for 68.87.23.77 at 2012-01-13 14:26:21) > [POST] > Parameters: {"commit"=>"Submit", "action"=>"create", > "authenticity_token"=>"RH9HUWGqcZZMYkgFlAoHUet52GdMihu75i2VsQx8z0Y=", > "controller"=>"hosts", "host"=>{"comment"=>"test hosts for provisioning", > "architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"true", > "puppetproxy_id"=>"", "name"=>"foreman-test", > "host_parameters_attributes"=>{"0"=>{"name"=>"", "nested"=>"", "value"=>"", > "_destroy"=>""}}, "sp_mac"=>"", > "puppetmaster_name"=>"dcavm-nb-18p.sys.test.net", "sp_name"=>"", > "mac"=>"00:50:56:8C:72:33", "domain_id"=>"1", "enabled"=>"1", > "root_pass"=>"[FILTERED]", "build"=>"1", "medium_id"=>"5", > "hostgroup_id"=>"1", "ptable_id"=>"1", "sp_subnet_id"=>"", > "ip"=>"192.168.1.2", "environment_id"=>"1", "model_id"=>"1", "disk"=>"", > "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"2"}} > Create DHCP reservation for > foreman-test.sys.test.net-00:50:56:8c:72:33/192.168.1.2 > Add the TFTP configuration for foreman-test.sys.test.net > Failed to generate PXELinux template: undefined method `each' for > nil:NilClass

I've found that problem is in the @profiles var in the PXE Default
template. I think it doesn't exist (@profile obj). I've tried to use
another pxe template (Preseed default PXE for ubuntu) and I can launch
builds.

It would be nice if the error could log the name of the file with the
error.

Regards
Jorge Moratilla

··· On 13 ene, 20:56, Ohad Levy wrote: > On Fri, Jan 13, 2012 at 4:39 PM, Telmo X wrote: > > I realized I am missing a lot of info useful to debug the issue: > > > The version of foreman is foreman-4-stable git branch (I just checked out a > > fresh one) > > The version of foreman-proxy is foreman-proxy-0.3.1-0.1.noarch.rpm > > > Output in production.log: > > Processing HostsController#create (for 68.87.23.77 at 2012-01-13 14:26:21) > > [POST] > > Parameters: {"commit"=>"Submit", "action"=>"create", > > "authenticity_token"=>"RH9HUWGqcZZMYkgFlAoHUet52GdMihu75i2VsQx8z0Y=", > > "controller"=>"hosts", "host"=>{"comment"=>"test hosts for provisioning", > > "architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"true", > > "puppetproxy_id"=>"", "name"=>"foreman-test", > > "host_parameters_attributes"=>{"0"=>{"name"=>"", "nested"=>"", "value"=>"", > > "_destroy"=>""}}, "sp_mac"=>"", > > "puppetmaster_name"=>"dcavm-nb-18p.sys.test.net", "sp_name"=>"", > > "mac"=>"00:50:56:8C:72:33", "domain_id"=>"1", "enabled"=>"1", > > "root_pass"=>"[FILTERED]", "build"=>"1", "medium_id"=>"5", > > "hostgroup_id"=>"1", "ptable_id"=>"1", "sp_subnet_id"=>"", > > "ip"=>"192.168.1.2", "environment_id"=>"1", "model_id"=>"1", "disk"=>"", > > "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"2"}} > > Create DHCP reservation for > > foreman-test.sys.test.net-00:50:56:8c:72:33/192.168.1.2 > > Add the TFTP configuration for foreman-test.sys.test.net > > Failed to generate PXELinux template: undefined method `each' for > > nil:NilClass > > it sounds like your pxe template is somehow invalid? > > Ohad

humm… I am using the default one… and I don't see an each method in
the erb.

default linux
label linux
kernel <%= @kernel %>
append initrd=<%= @initrd %> ks=<%= foreman_url("provision")%>
ksdevice=bootif network kssendmac

thanks for the pointer Ohad, for some reason the template "PXE Default
File" doesn't work, I had to use the "Kickstart default PXELinux"

··· On Jan 13, 2:56 pm, Ohad Levy wrote: > On Fri, Jan 13, 2012 at 4:39 PM, Telmo X wrote: > > I realized I am missing a lot of info useful to debug the issue: > > > The version of foreman is foreman-4-stable git branch (I just checked out a > > fresh one) > > The version of foreman-proxy is foreman-proxy-0.3.1-0.1.noarch.rpm > > > Output in production.log: > > Processing HostsController#create (for 68.87.23.77 at 2012-01-13 14:26:21) > > [POST] > > Parameters: {"commit"=>"Submit", "action"=>"create", > > "authenticity_token"=>"RH9HUWGqcZZMYkgFlAoHUet52GdMihu75i2VsQx8z0Y=", > > "controller"=>"hosts", "host"=>{"comment"=>"test hosts for provisioning", > > "architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"true", > > "puppetproxy_id"=>"", "name"=>"foreman-test", > > "host_parameters_attributes"=>{"0"=>{"name"=>"", "nested"=>"", "value"=>"", > > "_destroy"=>""}}, "sp_mac"=>"", > > "puppetmaster_name"=>"dcavm-nb-18p.sys.test.net", "sp_name"=>"", > > "mac"=>"00:50:56:8C:72:33", "domain_id"=>"1", "enabled"=>"1", > > "root_pass"=>"[FILTERED]", "build"=>"1", "medium_id"=>"5", > > "hostgroup_id"=>"1", "ptable_id"=>"1", "sp_subnet_id"=>"", > > "ip"=>"192.168.1.2", "environment_id"=>"1", "model_id"=>"1", "disk"=>"", > > "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"2"}} > > Create DHCP reservation for > > foreman-test.sys.test.net-00:50:56:8c:72:33/192.168.1.2 > > Add the TFTP configuration for foreman-test.sys.test.net > > Failed to generate PXELinux template: undefined method `each' for > > nil:NilClass > > it sounds like your pxe template is somehow invalid? > > Ohad

> thanks for the pointer Ohad, for some reason the template "PXE Default
> File" doesn't work, I had to use the "Kickstart default PXELinux"

Yeah, the default tftp is for when there is no match, e.g. if you want
to add a menu or something like that.

I guess we should really not allow to save that entry for an operating
system, as its more confusing for people.

thanks,
Ohad

··· On Sat, Jan 14, 2012 at 5:00 PM, Telmo wrote: > > > > On Jan 13, 2:56 pm, Ohad Levy wrote: >> On Fri, Jan 13, 2012 at 4:39 PM, Telmo X wrote: >> > I realized I am missing a lot of info useful to debug the issue: >> >> > The version of foreman is foreman-4-stable git branch (I just checked out a >> > fresh one) >> > The version of foreman-proxy is foreman-proxy-0.3.1-0.1.noarch.rpm >> >> > Output in production.log: >> > Processing HostsController#create (for 68.87.23.77 at 2012-01-13 14:26:21) >> > [POST] >> > Parameters: {"commit"=>"Submit", "action"=>"create", >> > "authenticity_token"=>"RH9HUWGqcZZMYkgFlAoHUet52GdMihu75i2VsQx8z0Y=", >> > "controller"=>"hosts", "host"=>{"comment"=>"test hosts for provisioning", >> > "architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"true", >> > "puppetproxy_id"=>"", "name"=>"foreman-test", >> > "host_parameters_attributes"=>{"0"=>{"name"=>"", "nested"=>"", "value"=>"", >> > "_destroy"=>""}}, "sp_mac"=>"", >> > "puppetmaster_name"=>"dcavm-nb-18p.sys.test.net", "sp_name"=>"", >> > "mac"=>"00:50:56:8C:72:33", "domain_id"=>"1", "enabled"=>"1", >> > "root_pass"=>"[FILTERED]", "build"=>"1", "medium_id"=>"5", >> > "hostgroup_id"=>"1", "ptable_id"=>"1", "sp_subnet_id"=>"", >> > "ip"=>"192.168.1.2", "environment_id"=>"1", "model_id"=>"1", "disk"=>"", >> > "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"2"}} >> > Create DHCP reservation for >> > foreman-test.sys.test.net-00:50:56:8c:72:33/192.168.1.2 >> > Add the TFTP configuration for foreman-test.sys.test.net >> > Failed to generate PXELinux template: undefined method `each' for >> > nil:NilClass >> >> it sounds like your pxe template is somehow invalid? >> >> Ohad > > -- > 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. >