<font face="arial" size="2"><p style="margin:0;padding:0;">It's by design.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">You can see deleted images when doing a show or a list with a filter such as the "changes-since" filter. If you do a list with no filters then deleted images should not appear. I can't remember all of the logic behind this though, just that there was good reason. Obviously, it had something to do with the need to lookup an image after it was deleted.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">Thanks for asking though, perhaps we need to make the reasoning more obvious (or get rid of soft deletes) :)</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-Alex</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-----Original Message-----<br />From: "Matthew Sherborne" <msherborne@gmail.com><br />Sent: Thursday, April 25, 2013 6:28am<br />To: "OpenStack Development Mailing List" <openstack-dev@lists.openstack.org><br />Subject: [openstack-dev] Should deleted glance images be visible still<br /><br /></p>
<div id="SafeStyles1366911409">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Is it by design that glance shows deleted images ? or is it a bug ? or am I experiencing some kind of caching  ?<br /><br /></div>
<div>I'm testing through the nova client:</div>
<div><br />As an end user in nova:<br /><br /></div>
<div>1. Create a vm</div>
2. nova image-create myvm myimage</div>
3. nova image-delete my-uuid</div>
4. nova image-show my-uuid<br /><span style="font-family: courier new,monospace;">+----------------------+--------------------------------------+<br /> | Property             | Value                                |<br />+----------------------+--------------------------------------+<br />| status               | DELETED                              |<br />| updated              | 2013-04-25T10:24:02Z                 |<br /> | name                 | temp                 s                |<br />| created              | 2013-04-25T10:19:09Z                 |<br />| minDisk              | 20                                   |<br />| progress             | 0                                    |<br /> | minRam               | 512                                  |<br />| OS-EXT-IMG-SIZE:size | 893173760                            |<br />| id                   | 1b399542-a4fb-49a0-8130-69969f1175b8 |<br />+----------------------+--------------------------------------+<br /></span></div>
Many Thanks</div>
</div>
Matthew Sherborne</div>
</div></font>