← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1434501] Re: Incorrect error message while listing members for a public image.

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => liberty-1

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

Title:
  Incorrect error message while listing members for a public image.

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

Bug description:
  This happens with glance api version 2.
  request:
  for i in glance.image_members.list('dc782b57-2e28-4339-a9ec-c1967848c4ec'):
      print i

  response:
  <html>
   <head>
    <title>403 Forbidden</title>
   </head>
   <body>
    <h1>403 Forbidden</h1>
    Not allowed to list members for image dc782b57-2e28-4339-a9ec-c1967848c4ec.<br /><br />
   </body>
  </html> (HTTP 403)

  The response should be:
  <html>
   <head>
    <title>403 Forbidden</title>
   </head>
   <body>
    <h1>403 Forbidden</h1>
    Public images do not have members.<br /><br />
   </body>
  </html> (HTTP 403)

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1434501/+subscriptions


References