ec2-init: ec2-set-defaults needs better defaults for non US/EU regions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EC2 init scripts |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu on EC2 |
Invalid
|
Medium
|
Unassigned | ||
Karmic |
New
|
Undecided
|
Unassigned | ||
ec2-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This report applies to the code found in the dev testing ami-af3fdec6
The code in /usr/sbin/
Amazon is sure to add more EC2 regions in non US/EU areas and this code should pick a default for them. Even if it ends up not being the right choice it should still work until the code can be enhanced to pick a better option.
The code in question looks like:
if zone.startswith
archive = "http://
elif zone.startswith
archive = "http://
and
if location.
elif location.
Note the lack of an "else" in these conditionals.
Changed in ubuntu-on-ec2: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: ec2-images |
Changed in ec2-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ubuntu-on-ec2: | |
status: | Confirmed → Invalid |
Changed in ec2-init: | |
status: | New → Invalid |
tags: | added: uec-images |
Changed in ec2-init (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ec2-init (Ubuntu Karmic): | |
milestone: | none → ubuntu-9.10 |
The 'archive' hunk above is a duplicate of bug 387027. But the locale issue is still present.