Project

General

Profile

Actions

Bug #10314

open

Template not rendered when doing hostgroup provisioning

Added by Bryan Kearney about 9 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

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1179485
Description of problem:
When provisioning a system using hostgroup provisioning, comments in the partition table template are not rendered correctly resulting in provisioning failure.

Version-Release number of selected component (if applicable):
Satellite 6.0

How reproducible:
Always

Steps to Reproduce:
1. This is the partition table template:

Name: Kickstart default

<%#
kind: ptable
name: Kickstart default
oses:
- CentOS 5
- CentOS 6
- Fedora 16
- Fedora 17
- Fedora 18
- Fedora 19
- Fedora 20
- RedHat 5
- RedHat 6
%>
zerombr
clearpart --all --initlabel
autopart

2. Attempt to provision a host using hostgroup provisioning

Actual results:
Provisioning fails with the following error:

The following problem occurred on line 31 of the kickstart file:

Unknown kickstart section: %>

Expected results:
Comments from partition table template should be rendered correctly and provisioning should be successful.

Additional info:
The issue can be worked around by removing the comments from the partition table template

Actions #1

Updated by Dominic Cleal about 9 years ago

  • Subject changed from Partition comments in template not rendered properly when doing hostgroup provisioning to Template not rendered when doing hostgroup provisioning
  • Category set to Templates

Hostgroup#diskLayout doesn't render, but Host::Managed#diskLayout does.

Actions #2

Updated by Becky E. Lawrence over 8 years ago

Spam removed by admin

Actions

Also available in: Atom PDF