[Yahoo-eng-team] [Bug 1272844] Re: Fails to 'modify_image_attribute()' for ec2

2015-08-02 Thread Davanum Srinivas (DIMS)
** Changed in: nova
   Status: Confirmed = Won't Fix

-- 
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):
  Won't Fix

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=

  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-0004'}

  --

  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


[Yahoo-eng-team] [Bug 1272844] Re: Fails to 'modify_image_attribute()' for ec2

2015-06-19 Thread Andrey Pavlov
** 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=

  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-0004'}

  --

  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


[Yahoo-eng-team] [Bug 1272844] Re: Fails to 'modify_image_attribute()' for ec2

2015-06-12 Thread Davanum Srinivas (DIMS)
** Also affects: ec2-api
   Importance: Undecided
   Status: New

-- 
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:
  New
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=

  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-0004'}

  --

  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