Bug #6381
TFTP 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.
Related issues
History
#1
Updated by Dominic Cleal about 8 years ago
- Blocks Bug #6379: 500 ISE on creating a new host: Operation FAILED: can't convert nil into String added
#2
Updated by Joseph Magen about 8 years ago
- Status changed from New to Assigned
#3
Updated by Stephen Benjamin almost 8 years ago
- Related to Bug #6387: Rendering template fails due to Content Source not being allowed in SafeMode added
#4
Updated by Dominic Cleal about 6 years ago
- Status changed from Assigned to New