← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1390025] [NEW] "glance member-delete" shows unclear message if member doesnot exists

 

Public bug reported:

Steps to reproduce :

1. keystone tenant-list - To check tenant list
2. glance image-list - To check image list
3. Now try to delete a member which doesn't exists(give incorrect tenant-id)

   Usage : glance member-delete <image-id> <tenant-id>

   glance member-delete 39d8e797-667e-43f3-934c-b70c6e709458 123456

Current message :

Request returned failure status 404.
<html>
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
  404 Not Found
Membership could not be found.
   <br /><br />

 </body>
</html> (HTTP 404)

Expected Result : No tenant with a name or ID of <tenant-id> exists.

Glance version : 0.13.2
Ubuntu : 12.04

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

Title:
  "glance member-delete" shows unclear message if member doesnot exists

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

Bug description:
  Steps to reproduce :

  1. keystone tenant-list - To check tenant list
  2. glance image-list - To check image list
  3. Now try to delete a member which doesn't exists(give incorrect tenant-id)

     Usage : glance member-delete <image-id> <tenant-id>

     glance member-delete 39d8e797-667e-43f3-934c-b70c6e709458 123456

  Current message :

  Request returned failure status 404.
  <html>
   <head>
    <title>404 Not Found</title>
   </head>
   <body>
    <h1>404 Not Found</h1>
    404 Not Found
  Membership could not be found.
     <br /><br />

   </body>
  </html> (HTTP 404)

  Expected Result : No tenant with a name or ID of <tenant-id> exists.

  Glance version : 0.13.2
  Ubuntu : 12.04

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


Follow ups

References