<div dir="ltr"><div><div>The instance disk images are stored in ceph.<br><br></div>This isn't a situation we hit often. But when several users are booting large, short-lifecyle instances (say, Windows, or Hadoop images to use with Sahara), they get the "no valid host" error. The only recourse then is for an admin to manually clean up the cache, or wait for the periodic cache cleanup.<br><br><br></div>-Chris<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 1:01 AM, 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">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>
<div><div class="h5"><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 be<br>
> cleaned up when a new image tries to be cached. Instead, I get a "no 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 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>
</div></div>> _______________________________________________<br>
> Mailing list: <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 : <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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Rackspace Australia<br>
</font></span></blockquote></div><br></div>