Project

General

Profile

Actions

Feature #11643

closed

Allow through API methods to render templates without configuring a host in build mode

Added by Bryan Kearney over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1207044
Description of problem:
If a host isn't in build mode, you cannot check if the kickstart template is rendered properly. Either you enable build mode and use http://sat6host/unattended/provision or you get an authentication cookie and use https://sat6host/unattended/provision?spoof=<hostname>. Both ways are tricky.

How reproducible:
Always

Steps to Reproduce:
1. Access to http://sat6host/unattended/provision from a host which is not in build mode and you won't get the template
2. Access to https://sat6.host/unattended/provision/?spoof=>hostname> and you will be redirected to login pages
3. No more methods to get it rendered

Expected results:
At least [1] should work, no matter the build status. Or it would be even better to have any API method to get it rendered.


Related issues 2 (1 open1 closed)

Related to Foreman - Refactor #12529: Use load_template_vars in TFTP orchestration's PXE menu generationNew11/19/2015Actions
Related to Foreman - Bug #12621: Excessive TemplateKind DB queries when retrieving API docsClosedTom Caspy11/27/2015Actions
Actions

Also available in: Atom PDF