Bug #28965
closedRegression: Since #19389 boot image of debian is not updated and installation is broken
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.
Updated by Daniel Kraemer almost 5 years ago
- Related to Feature #19389: Change TFTP filename pattern to include unique installation media ID added
Updated by Daniel Kraemer almost 5 years ago
- Related to Feature #26709: Rethink TFTP naming conventions for PXE files added
Updated by Daniel Kraemer almost 5 years ago
- Status changed from New to Duplicate
- Found in Releases 1.22.1 added
- Found in Releases deleted (
1.22.0)
Updated by Daniel Kraemer almost 5 years ago
Actually this looks like a duplicate of https://projects.theforeman.org/issues/25733
but #25733 should already be fixed and we still suffer from this bug
Updated by Tomer Brisker almost 5 years ago
- Is duplicate of Bug #25733: Media provider unique ID does not work for Debian-based distros added
Updated by Tomer Brisker almost 5 years ago
- Is duplicate of deleted (Bug #25733: Media provider unique ID does not work for Debian-based distros)
Updated by Tomer Brisker almost 5 years ago
- Status changed from Duplicate to New
changing back to new since this appears to be related but not quite a duplicate
Updated by Lukas Zapletal almost 5 years ago
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.
Updated by Lukas Zapletal almost 5 years ago
WORKAROUND: Delete those PXE files and smart proxy will redownload them. PR in a minute.
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/7432 added
Updated by Daniel Kraemer almost 5 years ago
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
Updated by Tomer Brisker almost 5 years ago
- Related to Bug #25733: Media provider unique ID does not work for Debian-based distros added
Updated by Lukas Zapletal almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c95dc3473105aa523c11cde777bdcd85961c9c6e.