Bug #28965
closed
Regression: Since #19389 boot image of debian is not updated and installation is broken
Added by Daniel Kraemer almost 5 years ago.
Updated almost 5 years ago.
Description
Hi,
since the filenames for bootimage/initrd are containing some hash based on the media, foreman will not download new bootimages when debian is releasing a minor version like today (10.2 -> 10.3).
While the repo is updated in background, the packages, which get downloaded during preseed, doesn't match the image anymore and the installtion fails with an error.
- Related to Feature #19389: Change TFTP filename pattern to include unique installation media ID added
- Related to Feature #26709: Rethink TFTP naming conventions for PXE files added
- Status changed from New to Duplicate
- Found in Releases 1.22.1 added
- Found in Releases deleted (
1.22.0)
- Is duplicate of Bug #25733: Media provider unique ID does not work for Debian-based distros added
- Is duplicate of deleted (Bug #25733: Media provider unique ID does not work for Debian-based distros)
- Status changed from Duplicate to New
changing back to new since this appears to be related but not quite a duplicate
Hello, I think it's still a bug. Help me to understand the problem. We currently calculate the unique ID from URL, however when Debian releases new version, the installation URL remains the same, therefore smart proxy has no reason to redownload the files (as we currently do not fetch ETAG/Last-Changed HTTP header). If we calculate the hash from the URL + minor/major version of the OS that would do it when new version is released.
WORKAROUND: Delete those PXE files and smart proxy will redownload them. PR in a minute.
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/7432 added
Lukas Zapletal wrote:
If we calculate the hash from the URL + minor/major version of the OS that would do it when new version is released.
I guess this should fix it.
Lukas Zapletal wrote:
WORKAROUND: Delete those PXE files and smart proxy will redownload them. PR in a minute.
Yep, we've done that, worked
- Related to Bug #25733: Media provider unique ID does not work for Debian-based distros added
- Fixed in Releases 2.0.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF