Skip to content

cloud-init searches for ec2 mirrors regardless of what cloud its on #2549

@ubuntu-server-builder

Description

@ubuntu-server-builder

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

Launchpad details
affected_projects = ['cloud-init (Ubuntu)']
assignee = lamoura
assignee_name = Lucas Albuquerque Medeiros de Moura
date_closed = 2020-08-25T19:31:01.699684+00:00
date_created = 2015-05-18T16:24:09.348862+00:00
date_fix_committed = 2020-06-30T22:36:01.704555+00:00
date_fix_released = 2020-08-25T19:31:01.699684+00:00
id = 1456277
importance = high
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1456277
milestone = None
owner = smoser
owner_name = Scott Moser
private = False
status = fix_released
submitter = darkmuggle-deactivatedaccount
submitter_name = Ben Howard
tags = ['bot-comment']
duplicates = []

Launchpad user Ben Howard(darkmuggle-deactivatedaccount) wrote on 2015-05-18T16:24:09.348862+00:00

Cloud-init searches for .ec2.archive.ubuntu.com by default regardless of whether or not its on EC2. The result is that launching the default image on any cloud with a valid EC2 region name will result in using the EC2 mirrors (since they are valid).

package_mirrors:
- arches: [i386, amd64]
failsafe:
primary: http://archive.ubuntu.com/ubuntu
security: http://security.ubuntu.com/ubuntu
search:
primary:
- http://%(ec2_region)s.ec2.archive.ubuntu.com/ubuntu/
- http://%(availability_zone)s.clouds.archive.ubuntu.com/ubuntu/
security: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    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