Project

General

Profile

Actions

Bug #6381

open

TFTP orchestration checks applicability of medium to OS late

Added by Dominic Cleal almost 10 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Orchestration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 2 (1 open1 closed)

Related to Katello - Bug #6387: Rendering template fails due to Content Source not being allowed in SafeModeDuplicateStephen Benjamin06/25/2014Actions
Blocks Foreman - Bug #6379: 500 ISE on creating a new host: Operation FAILED: can't convert nil into StringNew06/25/2014Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Blocks Bug #6379: 500 ISE on creating a new host: Operation FAILED: can't convert nil into String added
Actions #2

Updated by Joseph Magen almost 10 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Stephen Benjamin almost 10 years ago

  • Related to Bug #6387: Rendering template fails due to Content Source not being allowed in SafeMode added
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Status changed from Assigned to New
Actions

Also available in: Atom PDF