<div dir="ltr">The goal here is protection against deletion of in-use images, not a workaround that can be executed by an admin. For instance, someone without admin still can't do that, and someone with a fat finger can still delete images in use.<div><br></div><div>"Don't lose your data" is a fine workaround for taking backups, but most of us take backups anyway. Same deal.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 2:30 PM, Jay Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just set the images to is_public=False as an admin and they'll disappear from everyone except the admin.<br>
<br>
-jay<div><div class="h5"><br>
<br>
On 12/16/2014 03:09 PM, Chris St. Pierre wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Currently, with delay_delete enabled, the Glance scrubber happily<br>
deletes whatever images you ask it to. That includes images that are<br>
currently in use by Nova guests, which can really hose things. It'd be<br>
nice to have an option to tell the scrubber to skip deletion of images<br>
that are currently in use, which is fairly trivial to check for and<br>
provides a nice measure of protection.<br>
<br>
Without delay_delete enabled, checking for images in use likely takes<br>
too much time, so this would be limited to just images that are scrubbed<br>
with delay_delete.<br>
<br>
I wanted to bring this up here before I go to the trouble of writing a<br>
spec for it, particularly since it doesn't appear that glance currently<br>
talks to Nova as a client at all. Is this something that folks would be<br>
interested in having? Thanks!<br>
<br>
--<br>
Chris St. Pierre<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Chris St. Pierre</div>
</div>