← Back to team overview

ubuntu-server-ec2-testing-dev team mailing list archive

[Bug 889010] [NEW] Framework should not validate region/zone combinations

 

Public bug reported:

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

** Affects: ubuntu-server-ec2-testing
     Importance: Medium
         Status: Confirmed

** Changed in: ubuntu-server-ec2-testing
       Status: New => Confirmed

** Changed in: ubuntu-server-ec2-testing
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server ec2 Testing Developers, which is the registrant for Ubuntu Server
ec2 Testing.
https://bugs.launchpad.net/bugs/889010

Title:
  Framework should not validate region/zone combinations

Status in Ubuntu Server ec2 Testing:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-server-ec2-testing/+bug/889010/+subscriptions


Follow ups

References