Project

General

Profile

Actions

Bug #28762

closed

PXE templates do not render when IPv4 subnet is nil

Added by Lukas Zapletal almost 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In case of IPv6 provisioning when IPv4 is unset, templates fail to render: Unable to render PXELinux template 'Kickstart default PXELinux': undefined method '#dhcp_boot_mode?' for NilClass::Jail (NilClass), Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': undefined method '#dhcp_boot_mode?' for NilClass::Jail (NilClass), Unable to render PXEGrub template 'Kickstart default PXEGrub': undefined method '#dhcp_boot_mode?' for NilClass::Jail (NilClass), and Unable to render iPXE template 'Kickstart default iPXE': undefined method '#nic_delay' for NilClass::Jail (NilClass)


Related issues 3 (2 open1 closed)

Related to Foreman - Tracker #28683: IPv6 only supportNew

Actions
Related to Foreman - Feature #32321: Allow dual-stack provisioning via parameterReady For TestingLukas ZapletalActions
Related to Foreman - Feature #28883: Update kickstart templates for IPv6 provisioningClosedLukas ZapletalActions
Actions #1

Updated by Lukas Zapletal almost 5 years ago

Actions #2

Updated by Lukas Zapletal over 3 years ago

  • Related to Feature #32321: Allow dual-stack provisioning via parameter added
Actions #3

Updated by Lukas Zapletal over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Lukas Zapletal
  • Triaged changed from No to Yes

Unable to reproduce anymore with Foreman 2.6 nightly, we have vastly improved this in the last year and templates (at least kickstart + pxe) now render fine on IPv6 only hosts.

Actions #4

Updated by Lukas Zapletal over 3 years ago

  • Related to Feature #28883: Update kickstart templates for IPv6 provisioning added
Actions

Also available in: Atom PDF