← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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)

** 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/1434501

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

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

Bug description:
  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


Follow ups

References