Project

General

Profile

Actions

Bug #6363

open

Kickstart template doesn't work for host group provisioning: undefined method 'info' for Hostgroup::Jail

Added by Dominic Cleal almost 10 years ago. Updated over 8 years ago.

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

Description

(from https://bugzilla.redhat.com/show_bug.cgi?id=1098183#c9)

1. Created a host group with a dot in the name [new.host]
2. Created a kickstart with a dot in the name [Satellite Kickstart Default for RHEL.v2] which has content same as "Satellite Kickstart Default for RHEL"
3. Associated the kickstart template with the host group, via "provision templates" -> <template name> -> Association -> "Add Combination".
4. Generated the PXE default menu by clicking the 'Build PXE Default' button
5. Moved to /var/lib/tftpboot/pxelinux.cfg on the smartproxy and opened the default file.
6. Tried accessing the link via the browser, https://dhcp201-170.englab.pnq.redhat.com/unattended/template/Satellite%20Kickstart%20Default%20for%20RHEL.v2/new.host

But get the below messsage,

"There was an error rendering the template: undefined method 'info' for Hostgroup::Jail (Hostgroup)"


Related issues 1 (1 open0 closed)

Related to Foreman - Feature #11628: Check templates when associating with hostgroupNew09/01/2015Actions
Actions

Also available in: Atom PDF