Actions
Bug #14521
closedTFTP orchestration fails for OS with iPXE w/o PXELinux associated
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
For a host with OS with iPXE template but no PXELinux template, we still attempt to render PXELinux template which leads to "Failed to generate PXELinux template: undefined method `encoding' for nil:NilClass" orchestration error.
We should give nicer error instead.
Updated by Lukas Zapletal over 8 years ago
We already have a check but that does not trigger when there is an iPXE template associated, that is the case:
if host.provisioning_template({:kind => host.operatingsystem.template_kind}).nil? && host.provisioning_template({:kind => "iPXE"}).nil? failure _("No %{template_kind} templates were found for this host, make sure you define at least one in your %{os} settings") % { :template_kind => host.operatingsystem.template_kind, :os => host.operatingsystem } end
Updated by Lukas Zapletal over 8 years ago
- Related to Bug #612: Host#configTemplate does not work as expected added
Updated by Lukas Zapletal over 8 years ago
- Related to Feature #1294: Build should not require TFTP if using gPXE added
Updated by Lukas Zapletal over 8 years ago
- Subject changed from Queue TFTP orchestration only when there is PXELinux associated to TFTP orchestration fails for OS with iPXE w/o PXELinux associated
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3402 added
Updated by Lukas Zapletal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset c7bb92a96c0ce8f8a9f6a3c4f2ce0bf95a73f459.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release set to 136
Actions