Have you changed the template PXELinux global default? Compare against https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/PXELinux/pxelinux_global_default.erb
LZ On Wed, Mar 22, 2017 at 12:42 PM, Johannes Kastl <[email protected]> wrote: > Hi guys, > > I have foreman with auto-discovery running fine, but am now running into > problems when trying to provision the discovered host. > > When hitting the SUBMIT button in the Provision-Step, I get some errors > regarding the templates, that seems to be cause by an error with the > interface: > > "Some of the interfaces are invalid. Please check the table below." > > I do not find any error in the settings, and no error is shown/marked. > > I get no direct error in the logs, just lots of tracebacks. Seems to be > after a DHCP reservation is/should be made. I can provide the full log, > if necessary. > >> 2017-03-22 12:34:48 34998ab8 [app] [I] Create DHCP reservation for >> mac5254006a460b.kvm-52:54:00:6a:46:0b/192.168.125.22 >> 2017-03-22 12:34:48 34998ab8 [app] [I] Add DNS A record for >> mac5254006a460b.kvm/192.168.125.22 >> 2017-03-22 12:34:48 34998ab8 [app] [I] Add DNS PTR record for >> 192.168.125.22/mac5254006a460b.kvm >> 2017-03-22 12:34:49 34998ab8 [templates] [I] Rendering template 'PXELinux >> global default' >> 2017-03-22 12:34:49 34998ab8 [templates] [I] Rendering template >> 'pxelinux_chainload' >> 2017-03-22 12:34:49 34998ab8 [templates] [I] Rendering template >> 'pxelinux_discovery' >> 2017-03-22 12:34:49 34998ab8 [app] [W] Unable to render PXELinux template >> 'PXELinux global default': undefined method `each' for nil:NilClass >> | NoMethodError: undefined method `each' for nil:NilClass >> | >> /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.2.4/lib/safemode.rb:58:in >> `bind' >> | >> /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.2.4/lib/safemode.rb:51:in >> `eval' >> | >> /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.2.4/lib/safemode.rb:51:in >> `eval' >> [...] > > Is this a known error in 1.14.2? Anything I can do to debug this? Any > information I can supply to help look for the root cause? > > Thanks in advance. > > Johannes > > -- > Johannes Kastl > Linux Consultant & Trainer > Tel.: +49 (0) 151 2372 5802 > Mail: [email protected] > > B1 Systems GmbH > Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de > GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
