[Bug 1937319] Re: namespace collision on url kernel arg results in downloading iso multiple times
Michael Hudson-Doyle
1937319 at bugs.launchpad.net
Fri Jul 30 03:32:23 UTC 2021
I had a look at the code that does this download and the structure of
the APIs used looks to make this kind of sniffing a bit awkward :(
Nothing impossible of course but it's not going to be completely trivial
either.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1937319
Title:
namespace collision on url kernel arg results in downloading iso
multiple times
Status in cloud-init:
Triaged
Status in casper package in Ubuntu:
New
Bug description:
As listed at https://discourse.ubuntu.com/t/netbooting-the-live-
server-installer/14510/135
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1937319/+subscriptions
More information about the foundations-bugs
mailing list