Project

General

Profile

Actions

Bug #2792

open

If you delete "PXE Localboot Default" cancel build fails

Added by Florian Rosenegger almost 11 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

i deleted the Provisioning template "PXE Localboot Default" and after that it was no longer possible to cancel a build for a host.

The error i got was:
Failed to save: Failed to generate PXELinux template: undefined method `template' for nil:NilClass

Via finish.sh script i also tried to call https://foreman/unattended/built but i only got a 409.

So maybe it would be good to make the Template undeleteable.

Thanks,
Florian


Related issues 4 (1 open3 closed)

Related to Foreman - Feature #3103: Read only provisioning/config templates for pluginsClosedStephen Benjamin09/17/2013Actions
Related to Foreman - Feature #7484: Per-subnet PXELinux global default filesNew09/17/2014Actions
Has duplicate Foreman - Bug #2215: When PXE Localboot Default is deleted, causes nil error when cancelling buildDuplicate02/17/2013Actions
Has duplicate Foreman - Bug #4008: Disable 'build mode' unsuccessfulDuplicate01/14/2014Actions
Actions

Also available in: Atom PDF