Public bug reported:

Despite having a client call `glanceclient.image_members.get(image_id,
member_id)` [1], the GET call on /v1/image/<uuid>/members/<id> is not
implemented in the v1 API and returns a 405: Method Not Allowed error.

I suspect that this was an unintentional omission. The method is listed
in the router, but in image_members the comment indicates that a 405
response is intentional. [2,3] It shouldn't be hard for me to implement
the fix, but I want to make sure that there wasn't an intentional reason
for leaving the API call out?

[1] 
https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v1/image_members.py#L34
[2] https://github.com/openstack/glance/blob/master/glance/api/v1/router.py#L71
[3] 
https://github.com/openstack/glance/blob/master/glance/api/v1/members.py#L105

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1326955

Title:
  v1 API GET on image member not implemented

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Despite having a client call `glanceclient.image_members.get(image_id,
  member_id)` [1], the GET call on /v1/image/<uuid>/members/<id> is not
  implemented in the v1 API and returns a 405: Method Not Allowed error.

  I suspect that this was an unintentional omission. The method is
  listed in the router, but in image_members the comment indicates that
  a 405 response is intentional. [2,3] It shouldn't be hard for me to
  implement the fix, but I want to make sure that there wasn't an
  intentional reason for leaving the API call out?

  [1] 
https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v1/image_members.py#L34
  [2] 
https://github.com/openstack/glance/blob/master/glance/api/v1/router.py#L71
  [3] 
https://github.com/openstack/glance/blob/master/glance/api/v1/members.py#L105

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1326955/+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

Reply via email to