Feature #38422
closed
Host Orchestration - Renderability checks for templates
Added by Leos Stejskal about 1 year ago.
Updated 9 months ago.
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
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/10540 added
- Related to Refactor #38423: Create Host Form - Improvements for templates resolve added
- Fixed in Releases 3.16.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman/pull/10637 added
- Related to Bug #38681: Rename methods in Orchestration::Templates added
- Pull request https://github.com/theforeman/foreman/pull/10656 added
- Pull request https://github.com/theforeman/foreman/pull/10658 added
- Pull request https://github.com/theforeman/foreman/pull/10695 added
- Related to Bug #38939: Fix host_param macro to include transient parameters for new hosts added
Also available in: Atom
PDF