peterknife / boto

Automatically exported from code.google.com/p/boto
0 stars 0 forks source link

Cannot create a launch configuration in region us-west-1 in boto 2.0b4 #512

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an AMI
2. Instantiate a LaunchConfiguration object
>>> lc = LaunchConfiguration(conn, '%s_%s' % (self.group, self.image),
...         self.image, instance_type=self.size)
3. Try to save it to the server
>>> conn.create_launch_configuration(lc)

What is the expected output?

I expect not to get an exception and to have the LaunchConfiguration object 
updated to reflect its status.

Actual output:

Traceback (most recent call last):
  File "/opt/printra/bin/awstool", line 1407, in ?
    runmain(COMMANDS.main)
  File "/opt/printra/lib/python.head/cmdtools.py", line 170, in runmain
    result = mainfunc(sys.argv[1:])
  File "/opt/printra/lib/python.head/cmdtools.py", line 582, in main
    result = instance.run()
  File "/opt/printra/bin/awstool", line 1394, in run
    conn.create_launch_configuration(lc)
  File "/usr/lib/python2.4/site-packages/boto/ec2/autoscale/__init__.py", line 136, in create_launch_configuration
    Request)
  File "/usr/lib/python2.4/site-packages/boto/connection.py", line 611, in get_object
    raise self.ResponseError(response.status, response.reason, body)
boto.exception.BotoServerError: BotoServerError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>NoSuchVersion</Code><Message>The requested 
version (2009-05-15) of service AmazonEC2 does not 
exist</Message></Error></Errors><RequestID>2ff996a9-8c07-47f3-8732-b652e982d874<
/RequestID></Response>

Original issue reported on code.google.com by bran...@pagedna.com on 19 Apr 2011 at 12:32

GoogleCodeExporter commented 9 years ago
Sorry, newb mistake.  Close.

Original comment by bran...@pagedna.com on 19 Apr 2011 at 12:42