[openstack-dev] [OpenStack] [Glance] Reuse the image id when recreate an image in Glance which had been deleted

Belmiro Moreira moreira.belmiro.email.lists at gmail.com
Tue May 21 22:13:30 UTC 2013


Hi Iccha,
yes… but information like "created_at", "deleted_at" will not be in the instances.
Using notifications is a good idea but in that case we need to use something like stacky.

Of course we can go through the logs the get this information… but having this info in the DB is so handy.

Maybe I'm completely wrong but I don't see any inconvenient in keeping deleted images in the DB (even if in shadow tables like nova).

thanks,
Belmiro


On May 21, 2013, at 11:30 PM, Iccha Sethi <iccha.sethi at rackspace.com> wrote:

> Hey,
> 
> Would it help to store image info on the server in terms of image metadata instead of looking for a deleted image? Also this would help in terms of knowing the exact image details at the time of boot.
> 
> Thanks,
> Iccha
> 
> -----Original Message-----
> From: "Belmiro Moreira" <moreira.belmiro.email.lists at gmail.com>
> Sent: Tuesday, May 21, 2013 4:57pm
> To: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>
> Subject: Re: [openstack-dev] [OpenStack] [Glance] Reuse the image id when recreate an image in Glance which had been deleted
> 
> Hi,
> I'm not against to move them to another table… but removing them completely is different.
> I would like to know the owner of the image (even if already deleted), how long the image 
> was available,  …
> All of this is valuable data even for deleted images. Especially if a security incident happens and I need to collect data for my security team.
> 
> cheers,
> Belmiro
> 
> 
> On May 21, 2013, at 10:19 PM, Flavio Percoco <flavio at redhat.com> wrote:
> 
>> On 21/05/13 22:08 +0200, Belmiro Moreira wrote:
>>> Hi,
>>> in fact I believe having this information in glance DB is really useful.
>>> In a big environment there are always instances running using images
>>> that were already deleted from glance.
>>> Having the info that the image existed and it was deleted is important.
>>> 
>> 
>> So happy you brought this up because this isn't clear. Could you
>> please elaborate a bit more the use case and how having
>> flagged-deleted images is useful?
>> 
>> What would be the impact of removing them or moving them to a separate
>> table?
>> 
>> Cheers,
>> FF
>> 
>> -- 
>> { name: "Flavio Percoco",
>> gpg: "87112EC1",   internal: "8261386",
>> phone: "+390687502386",
>> irc: ["fpercoco", "flaper87"]}
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list