Actions
Bug #6381
openTFTP orchestration checks applicability of medium to OS late
Status:
New
Priority:
Normal
Assignee:
-
Category:
Orchestration
Target version:
-
Description
The TFTP orchestration can fail at runtime when mediums are mismatched to an OS and somehow a host is created with them:
Fetch TFTP boot files for shost.katellolabs.org task failed with the following error: invalid medium for RedHat 6.5 /usr/share/foreman/app/models/operatingsystem.rb:239:in `boot_files_uri' /usr/share/foreman/app/models/operatingsystem.rb:160:in `pxe_files' /usr/share/foreman/app/models/concerns/orchestration/tftp.rb:39:in `setTFTPBootFiles'
This should really be caught during validate_tftp so we haven't gone to the effort of creating VMs, DNS and DHCP records before finding an elementary error.
Actions