<div dir="ltr">True - I don't believe we have volume_clear set, and the volume sizes are 10G - 50G.<div><br></div><div>Scott</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 24, 2014 at 6:25 PM, Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 09/24/2014 02:43 PM, Scott Kohler wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/24/2014 04:29 PM, Abel Lopez wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is expected behavior, unfortunately.<br>
I spoke to the ceph guys about this last year. When you delete an ‘image’ from a pool, the monitors (IIRC) don’t instantly know where all the segments are across all the OSDs, so it takes a while to find/delete each one.<br>
<br>
</blockquote>
<br>
We also saw this, and were especially alarmed at the high CPU load on<br>
deletion. So we came up with a work-around that also makes for very fast<br>
instance creation as well as deletion, if you are using Ceph:<br>
<br>
Create a volume from the image first, then create an instance from that<br>
bootable volume. Volume creation/deletion is quite fast, with down side<br>
of a two-step process. We have a CLI script that has an instance up and<br>
ssh-able in less than 4 minutes, including volume creation. booting and<br>
selinux recalc on first boot. Deletes take about 30 seconds. FWIW.<br>
</blockquote>
<br></div></div>
Presumably the resource reclamation time is affected by the volume_clear setting and volume size? I'm guessing it'd take longer than 30 seconds to zero out a large volume.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre cols="72"><font face="arial, helvetica, sans-serif">Scott Kohler
SIL GTIS SysAdmin Mgr
+1 (704) 843-6658
GTIS Systems status, see <a href="https://twitter.com/GTISNC" target="_blank">https://twitter.com/GTISNC</a></font></pre></div>
</div>