Bug #612
closedHost#configTemplate does not work as expected
Description
Maybe this is my misunderstanding but when I create a host with a hostgroup that does not have template with that hostgroup or hostgroup/environment combinations this method raises an exception.
If I set a configTemplate to use the hosts's hostgroup then the template is found.
Basically it does not lookup the os_default_template correctly and then tries to perform nil.template.
Updated by Ohad Levy almost 14 years ago
I'm not sure i follow.. if you define the template in any of these places it should work:
1. os default template (in the os edit page)
2. in the template itself (by selecting the environment, hostgroup or both).
selecting which os's are valid per template does not mean they are rendered by default (as you might have a combination many templates that support certain oss).
Updated by Ohad Levy almost 14 years ago
pxe template might be missing, therefore we need to print the correct error message.
Updated by Ohad Levy almost 14 years ago
- Category set to Host creation
- Assignee set to Ohad Levy
- Target version set to 0.2
Updated by Ohad Levy almost 14 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset cb624bf0e2bdac0eed5e4b1bb3955705d2dd6671.
Updated by Ohad Levy almost 14 years ago
- Status changed from Ready For Testing to Closed
Updated by Lukas Zapletal over 8 years ago
- Related to Bug #14521: TFTP orchestration fails for OS with iPXE w/o PXELinux associated added