Framework should not validate region/zone combinations

Bug #889010 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server ec2 Testing
Confirmed
Medium
Unassigned

Bug Description

This makes it difficult to add new regions to the automated testing setup.

+ execute-ubuntu-ec2-test -r us-west-2 -s ebs -b 20111110 -a i386 -R oneiric -t tests simple-user-data
INFO:root:Creating test for size:m1.small for arch:i386 in region:us-west-2 placement:any root storage:ebs
INFO:root:Retieving ec2 AMI informfation from http://uec-images.ubuntu.com/query/oneiric/server/daily.txt
INFO:root:Found AMI ami-16f77a26
Traceback (most recent call last):
  File "/usr/bin/execute-ubuntu-ec2-test", line 148, in <module>
    creds[settings.SECRET_ACCESS_KEY])
  File "/usr/share/ubuntu-server-ec2-testing/python/ubuntu/ec2/testing.py", line 240, in __init__
    settings.REGION_PLACEMENT_LOOKUP[self.image.region]):
KeyError: 'us-west-2'
Archiving artifacts

ec2 will error is someone does something crazy so suggest these checks are removed

James Page (james-page)
Changed in ubuntu-server-ec2-testing:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.