[openstack-dev] Should deleted glance images be visible still

Iccha Sethi iccha.sethi at rackspace.com
Fri Apr 26 05:28:04 UTC 2013


I think it was to look up image details based of which a given server is running.( And in case the image has been deleted now, still being able to look it up)
 
I am not sure if we still need that now, with the ability to preserve image info on server.
 
-----Original Message-----
From: "Alex Meade" <alex.meade at rackspace.com>
Sent: Thursday, April 25, 2013 1:42pm
To: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] Should deleted glance images be visible still



It's by design.
 
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.
 
Thanks for asking though, perhaps we need to make the reasoning more obvious (or get rid of soft deletes) :)
 
-Alex
 
-----Original Message-----
From: "Matthew Sherborne" <msherborne at gmail.com>
Sent: Thursday, April 25, 2013 6:28am
To: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>
Subject: [openstack-dev] Should deleted glance images be visible still









Is it by design that glance shows deleted images ? or is it a bug ? or am I experiencing some kind of caching  ?


I'm testing through the nova client:

As an end user in nova:


1. Create a vm2. nova image-create myvm myimage3. nova image-delete my-uuid4. nova image-show my-uuid
+----------------------+--------------------------------------+
 | Property             | Value                                |
+----------------------+--------------------------------------+
| status               | DELETED                              |
| updated              | 2013-04-25T10:24:02Z                 |
 | name                 | temp                 s                |
| created              | 2013-04-25T10:19:09Z                 |
| minDisk              | 20                                   |
| progress             | 0                                    |
 | minRam               | 512                                  |
| OS-EXT-IMG-SIZE:size | 893173760                            |
| id                   | 1b399542-a4fb-49a0-8130-69969f1175b8 |
+----------------------+--------------------------------------+
Many ThanksMatthew Sherborne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130426/3df33dd6/attachment.html>


More information about the OpenStack-dev mailing list