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

Bug #1390025 reported by Kanchan Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Won't Fix
Undecided
Inessa Vasilevskaya

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

Changed in glance:
assignee: nobody → Inessa Vasilevskaya (ivasilevskaya)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/133232

Changed in glance:
status: New → In Progress
Revision history for this message
Erno Kuvaja (jokke) wrote :

As the goal is to deprecate v1 APIs on Kilo and remove the code in future, I think we should not touch cosmetical issues at this stage.

tags: added: propose-close
Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :

Ok, I'll abandon the patch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Inessa Vasilevskaya (<email address hidden>) on branch: master
Review: https://review.openstack.org/133232
Reason: Minor enhancement to would-be-deprecated v1 api

Ian Cordasco (icordasc)
Changed in glance:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.