Skip to content

namespace collision on url kernel arg results in downloading iso multiple times #3893

@ubuntu-server-builder

Description

@ubuntu-server-builder

This bug was originally filed in Launchpad as LP: #1937319

Launchpad details
affected_projects = ['casper (Ubuntu)']
assignee = aciba
assignee_name = Alberto Contreras
date_closed = 2022-08-19T16:37:08.840776+00:00
date_created = 2021-07-22T22:03:17.816933+00:00
date_fix_committed = 2022-08-05T05:08:53.179767+00:00
date_fix_released = 2022-08-19T16:37:08.840776+00:00
id = 1937319
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1937319
milestone = None
owner = dbungert
owner_name = Dan Bungert
private = False
status = fix_released
submitter = dbungert
submitter_name = Dan Bungert
tags = []
duplicates = [1970595]

Launchpad user Dan Bungert(dbungert) wrote on 2021-07-22T22:03:17.816933+00:00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    launchpadMigrated from Launchpad

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions