namespace collision on url kernel arg results in downloading iso multiple times
Bug #1937319 reported by
Dan Bungert
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Alberto Contreras | ||
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As listed at https:/
When attempting a netboot, we can end up in a situation where cloud-init downloads a full iso, only to decide that the first few bytes aren't the expected header and to ignore it.
I suggest an enhancement where a small amount of data is downloaded at first, we check this data for the required #cloud-config, and then use that info to decide to continue to download the file or not.
Related branches
~mwhudson/casper:additional-iso-url
- Dan Bungert (community): Approve
- Ubuntu Installer Team: Pending requested
-
Diff: 30 lines (+5/-2)2 files modifieddebian/manpage/casper.7 (+2/-2)
scripts/casper (+3/-0)
summary: |
- cloud-init can attempt to download an iso from kernel arg url + namespace collision on url kernel arg results in downloading iso + multiple times |
Changed in casper (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in cloud-init: | |
status: | Triaged → In Progress |
assignee: | nobody → Alberto Contreras (aciba) |
To post a comment you must log in.
How is cloud-init getting pointed to an iso? Is there a way this can happen that isn't the result of a simple misconfiguration?