Project

General

Profile

Actions

Feature #38422

closed

Host Orchestration - Renderability checks for templates

Added by Leos Stejskal about 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
-

Description

The new `Orchestration::Templates` class verifies the host's readiness for the provisioning process and checks that all default os templates are renderable.

The `Orchestration::TFTP` was handling this use case partially, only for ['PXELinux', 'PXEGrub2', 'PXEGrub', 'iPXE'] kinds, leaving other template kinds from the list.

How to reproduce the issue
  • Foreman + Smart Proxy, provisioning setup
  • Assign PXELinux, PXEGrub2, and Kickstart Default templates to OS
  • Ensure the Kickstart Default cannot be rendered (for example, with invalid Ruby syntax).
  • Provision a host

Related issues 3 (1 open2 closed)

Related to Foreman - Refactor #38423: Create Host Form - Improvements for templates resolveClosedLeos StejskalActions
Related to Foreman - Bug #38681: Rename methods in Orchestration::TemplatesReady For TestingLeos StejskalActions
Related to Foreman - Bug #38939: Fix host_param macro to include transient parameters for new hostsClosedLeos StejskalActions
Actions

Also available in: Atom PDF