vavavr00m / boto

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

RDS: can not create parameter group #569

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

rds = boto.rds.connect_to_region('eu-west-1', debug=2)
pg = rds.create_parameter_group('dummy', engine='mysql5.1', description='dummy')

What is the expected output? What do you see instead?

Expected: a new parameter group named "dummy" is created.
Observed:
<ErrorResponse xmlns="http://rds.amazonaws.com/doc/2011-04-01/">
  <Error>
    <Type>Sender</Type>
    <Code>InvalidParameterValue</Code>
    <Message>The parameter ParameterGroupFamily must be provided and must not be empty.</Message>
  </Error>
</ErrorResponse>

What version of the product are you using? On what operating system?
boto v2.1.1, Python 2.6.1 on Mac 10.6.8

It seems that the parameter "ParameterGroupFamily" is not sent to Amazon, 
instead the parameter "Engine" is sent. Here are the relevant parameters of the 
HTTP call:
Action=CreateDBParameterGroup
DBParameterGroupName=dummy
Description=dummy
Engine=mysql5.1

The current Amazon WSDL states that an element called "DBParameterGroupFamily" 
should be present in the request.

Original issue reported on code.google.com by jonas.ka...@gmail.com on 12 Dec 2011 at 5:27

GoogleCodeExporter commented 9 years ago
This has already been fixed in this commit:

https://github.com/boto/boto/commit/72acfbb10835799aeac1a3b94952db75f7411c6a

Original comment by Mitch.Ga...@gmail.com on 12 Dec 2011 at 6:34