** Changed in: ec2-api Status: New => Fix Committed ** Changed in: ec2-api Status: Fix Committed => Fix Released
** Changed in: ec2-api Assignee: (unassigned) => Andrey Pavlov (apavlov-e) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1272844 Title: Fails to 'modify_image_attribute()' for ec2 Status in EC2 API: Fix Released Status in OpenStack Compute (Nova): Confirmed Bug description: The params of modify_image_attribute() in cloud.py, are not matched with ec2 api. ----------------- I checked the ec2 api, the url is like: https://ec2.amazonaws.com/?Action=ModifyImageAttribute &ImageId=ami-61a54008 &LaunchPermission.Remove.1.UserId=111122223333 And I tested again with euca2ools, the modify_image_attribute() failed again: TypeError: 'modify_image_attribute() takes exactly 5 non-keyword arguments (3 given)' -------------- Here is the definition of modify_image_attribute(): def modify_image_attribute(self, context, image_id, attribute, operation_type, **kwargs) And I printed out the params send to here, the value of args is: args={'launch_permission': {'add': {'1': {'group': u'all'}}}, 'image_id': u'ami-00000004'} -------------- So I got a question, are the params used in modify_image_attribute() correct? To manage notifications about this bug go to: https://bugs.launchpad.net/ec2-api/+bug/1272844/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp