-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle latest iso's not being immutable #1334
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
A little more investigation... The current latest Ubuntu release is available at:
With curl:
The previous Ubuntu release can be fetched using:
But this actually returns a HTTP 302 redirect to With curl:
I'm going to check if Packer correctly follows these redirects. If so, this should be resolved as long as we use the full version in the URL. If that doesn't work, I have discovered that at least some Packer builders support a |
I just confirmed that this works by using the following vars with
So as long as we use the |
It seems this is only true of the recent LTS releases and doesn't apply to |
😩 So, the patch version URLs are only available from the first patch version. The initial release of Ubuntu 24.04 (e.g. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
Is your feature request related to a problem? Please describe.
For our providers that build based on top of an iso image we've seen a problem several times now with Ubuntu (maybe others?) where the latest release is only available as a non-specific URL that is updated as new releases are made.
For example, Ubuntu 23.04 is currently (at time of writing) only available at the following location:
When a new release of Ubuntu 23.04 is made, this image is replaced but the URL remains the same. There isn't a location to get the specific patch version of the release that we've been able to find.
This causes the following problems:
image-builder
without there being any changes made toimage-builder
or the provided variables. This means image-builder can't guarentee reproducible builds.Describe the solution you'd like
Ideally there would be a location where we can get the patch versions of Ubuntu images but I'm not aware of such a place existing.
Describe alternatives you've considered
We could fetch the checksum on the fly from the https://releases.ubuntu.com/23.04/SHA256SUMS file but this doesn't solve the reproducibility issue.
Additional context
For old releases, they become available at a different URL (e.g.
https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.2-live-server-amd64.iso
) but the same doesn't seem to be possible with the latest patch release./kind feature
The text was updated successfully, but these errors were encountered: