Skip to content
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

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

Closed
ubuntu-server-builder opened this issue May 10, 2023 · 5 comments
Labels
launchpad Migrated from Launchpad priority Fix soon

Comments

@ubuntu-server-builder
Copy link
Collaborator

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: []

@ubuntu-server-builder ubuntu-server-builder added launchpad Migrated from Launchpad priority Fix soon labels May 10, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Ubuntu Foundations Team Bug Bot(crichton) wrote on 2015-05-18T20:19:23.304005+00:00

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1456277/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2015-05-19T15:09:14.882801+00:00

marginally related bug 1456684

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chad Smith(chad.smith) wrote on 2020-06-30T22:35:52.543301+00:00

An upstream commit landed fixing this bug 3fcdacc

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Launchpad Janitor(janitor) wrote on 2020-07-10T18:23:27.884026+00:00

This bug was fixed in the package cloud-init - 20.2-94-g3d06abc2-0ubuntu1


cloud-init (20.2-94-g3d06abc2-0ubuntu1) groovy; urgency=medium

-- Daniel Watkins oddbloke@ubuntu.com Fri, 10 Jul 2020 09:11:25 -0400

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user James Falcon(falcojr) wrote on 2020-08-25T19:31:03.793714+00:00

This bug is believed to be fixed in cloud-init in version 20.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad priority Fix soon
Projects
None yet
Development

No branches or pull requests

1 participant