Comment 1 for bug 912897

Revision history for this message
Eoghan Glynn (eglynn) wrote :

Just to clarify, is the intent to either:

a) Change the glance CLI so that an error return from a DELETE call is handled in a more graceful way, i.e. consume the 500 Internal Server Error status & traceback message and return a successful exit status to the shell.

or:

b) Change the semantics and implementation of the Glance REST API, so that a DELETE on an undeletable image returns a pseudo-successful status (i.e. 204 No Content).

Approach (b) would seem to discard information that would be potentially useful to some clients.