Comment 5 for bug 494185

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 494185] Re: ec2-init selects us-east-1 mirror when running in us-west-1 region

On Wed, 9 Dec 2009, Eric Hammond wrote:

> Note that this is going to be an issue every time that Amazon opens up a
> new region and images are migrated there. The solution in the images
> and in the IS supported serves should take this into account.

Well, yes, but we can definitely do this better.
a.) I could have realized this was going to happen and modified the images
bound for us-west-1 before uploading.
b.) the logic could be:
  if host_exists(region + "ec2.archive.ubuntu.com")
     use region + "ec2.archive.ubuntu.com"
  else
     use archive.ubuntu.com

I'll ping IS again to see if we can't open it up at least until images are
refreshed.

Scott