<div dir="ltr">Bug report here: <a href="https://bugs.launchpad.net/nova/+bug/1439012">https://bugs.launchpad.net/nova/+bug/1439012</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 3:56 PM, Michael Still <span dir="ltr"><<a href="mailto:mikal@stillhq.com" target="_blank">mikal@stillhq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, so that sounds like a totally reasonable feature request to me.<br>
Can you please file a bug so its tracked and let me know the bug<br>
number?<br>
<br>
Thanks,<br>
Michael<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Apr 1, 2015 at 1:27 AM, Chris Buccella<br>
<<a href="mailto:chris.buccella@verilume.com">chris.buccella@verilume.com</a>> wrote:<br>
> The instance disk images are stored in ceph.<br>
><br>
> This isn't a situation we hit often. But when several users are booting<br>
> large, short-lifecyle instances (say, Windows, or Hadoop images to use with<br>
> Sahara), they get the "no valid host" error. The only recourse then is for<br>
> an admin to manually clean up the cache, or wait for the periodic cache<br>
> cleanup.<br>
><br>
><br>
> -Chris<br>
><br>
> On Tue, Mar 31, 2015 at 1:01 AM, Michael Still <<a href="mailto:mikal@stillhq.com">mikal@stillhq.com</a>> wrote:<br>
>><br>
>> Your request is reasonable, but not currently handled by the code. Its<br>
>> a bit concerning that your cache is so disk constrained -- is it a<br>
>> separate filesystem from the instance disk images?<br>
>><br>
>> Michael<br>
>><br>
>> On Tue, Mar 31, 2015 at 3:26 PM, Chris Buccella<br>
>> <<a href="mailto:chris.buccella@verilume.com">chris.buccella@verilume.com</a>> wrote:<br>
>> > I'm running Juno. Here's my situation:<br>
>> ><br>
>> > 1) There are a bunch of cached images on the compute nodes<br>
>> > (/var/lib/nova/instances/_base/)<br>
>> > 2) I want to keep the images in the cache as long as possible (for<br>
>> > performance reasons)<br>
>> > 3) I want to be able to spawn instances with an uncached image<br>
>> ><br>
>> > What I've observed is that if the cache is full, it won't automatically<br>
>> > be<br>
>> > cleaned up when a new image tries to be cached. Instead, I get a "no<br>
>> > valid<br>
>> > host" error when trying to boot a new instance. I've found the following<br>
>> > relevant config parameters:<br>
>> ><br>
>> > image_cache_manager_interval<br>
>> > remove_unused_base_images<br>
>> > remove_unused_original_minimum_age_seconds<br>
>> ><br>
>> > These work, but don't really help me. I don't want time-based cache<br>
>> > management, but on-demand cache management. Basically, if<br>
>> > removed_unused_base_images is true, the oldest image should be removed<br>
>> > from<br>
>> > the cache to make room for the new one.<br>
>> ><br>
>> > Has anyone else encountered this situation? Maybe there's something I'm<br>
>> > missing?<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> ><br>
>> > -Chris<br>
>> ><br>
>> > _______________________________________________<br>
>> > Mailing list:<br>
>> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>> > Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
>> > Unsubscribe :<br>
>> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Rackspace Australia<br>
><br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Rackspace Australia<br>
</font></span></blockquote></div><br></div>