Bug #33469
TFTP Unable to download Flatcar OS
Pull request:
Fixed in Releases:
Found in Releases:
Description
Hi
I can't get foreman to download Flatcar since the download URL is wrong
I want to use "current" as Major Version, but it requires a number and max 5 characters.
Flatcar uses longer numbers and wants you to use "current" as default version, I tried with just putting "1" in but got this error
2021-09-13T11:52:51 8422632b [I] Started POST /tftp/fetch_boot_file
2021-09-13T11:52:51 8422632b [I] Finished POST /tftp/fetch_boot_file with 200 (0.94 ms)
2021-09-13T11:52:51 8422632b [I] [4017770] Started task ["/usr/bin/wget", "--connect-timeout=10", "--dns-timeout=10", "--read-timeout=60", "--tries=3", "--no-check-certificate", "-nv", "-c", "http://stable.release.flatcar-linux.net/amd64-usr/1/flatcar_production_pxe_image.cpio.gz", "-O", "/var/lib/tftpboot/boot/flatcar-mirror-b9cf0j4aWvIS-flatcar_production_pxe_image.cpio.gz"]
2021-09-13T11:52:51 8422632b [W] [4017770] http://stable.release.flatcar-linux.net/amd64-usr/1/flatcar_production_pxe_image.cpio.gz:
2021-09-13T11:52:51 8422632b [W] [4017770] 2021-09-13 11:52:51 ERROR 404: Not Found.
This is the corret download url
https://stable.release.flatcar-linux.net/amd64-usr/current/
but Foreman uses this one
https://stable.release.flatcar-linux.net/amd64-usr/[$version]/
Associated revisions
History
#1
Updated by Lukas Zapletal 11 months ago
I am creating a small patch that will allow to enter 0.0 version that will render the URL to "current". Try it out and get back to me in the github PR, cheers!
#2
Updated by The Foreman Bot 11 months ago
- Assignee set to Lukas Zapletal
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8777 added
#3
Updated by The Foreman Bot 10 months ago
- Fixed in Releases 3.1.0 added
#4
Updated by Lukas Zapletal 10 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|0eaa01ad84fb433619889dda42171c5b36abb7fd.
Fixes #33469 - current stream for Flatcar