Project

General

Profile

Bug #5069

TFTP automatic boot file download does not track updates

Added by Lucas Yamanishi over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
TFTP
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

My colleague and I ran into a bug in the Ubuntu 12.04.4 netboot kernel. A fix is available in a newer version, but the Smart-proxy does not check for changes in the boot files if they already exist in the tftp directory.

A workaround for most systems is to delete the local files from the TFTP directory before a build, allowing the Smart-proxy to download the new files. On Debian-based systems this does not work, though. The problem there is that Operatingsystem::Debian#boot_files_uri builds the download URI based on the release name, but most distros place fixes and updates in codename-updates and/or codename-security. Changing the release name to something like codename-updates causes other URIs to fail, so the workaround for Debian-based operating systems is to delete the local files and replace them with current files by hand.

Due to a lack of reliable metadata, staying up-to-date is probably not entirely feasible. The files could be downloaded at an interval, like every 5th build or the first build of each week. Cron scripts could also be generated, or just suggested in the documentation.

Debian systems might also be brought into parity with others via a custom URI option or some exception logic (once #3034 is resolved).


Related issues

Related to Foreman - Refactor #5121: Download kernel and image during OS creation rather than prior buildNew2014-04-09
Related to Foreman - Bug #12474: tftpboot files are not deleted when OS name is changedNew2015-11-13
Related to Smart Proxy - Feature #3034: TFTP file download should be synchronous and handle errorsNew

History

#1 Updated by Dominic Cleal over 5 years ago

  • Project changed from Foreman to Smart Proxy
  • Category set to TFTP

#2 Updated by Dominic Cleal over 5 years ago

  • Related to Refactor #5121: Download kernel and image during OS creation rather than prior build added

#3 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #12474: tftpboot files are not deleted when OS name is changed added

#4 Updated by Michael Moll over 2 years ago

  • Related to Feature #3034: TFTP file download should be synchronous and handle errors added

Also available in: Atom PDF