<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Jeremy,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for reply;-)</div><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2017 at 03:58, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2017-06-07 14:26:10 +0800 (+0800), Xinliang Liu wrote:<br>
[...]<br>
<span class="">> we already have our own pre-built debian cloud image, could I just<br>
> use it and not use the one built by diskimage-builder?<br>
</span>[...]<br>
<br>
The short answer is that nodepool doesn't currently have support for<br>
directly using an image provided independent of its own image build<br>
process. Clark was suggesting[*] in IRC today that it might be<br>
possible to inject records into Zookeeper (acting as a "fake"<br>
nodepool-builder daemon basically) to accomplish this, but nobody<br>
has yet implemented such a solution to our knowledge.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Got it, thanks.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Longer term, I think we do want a feature in nodepool to be able to<br>
specify the ID of a prebuilt image for a label/provider (at least we<br>
discussed that we wouldn't reject the idea if someone proposed a<br>
suitable implementation). Just be aware that nodepool's use of<br>
diskimage-builder to regularly rebuild images is intentional and<br>
useful since it ensures images are updated with the latest packages,<br></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I think this is the point that make a really update gating image to run the tests.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
kernels, warm caches and whatever else you specify in your elements<br>
so reducing job runtimes as they spend less effort updating these<br>
things on every run.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​How often nodepool will rebuild the images?</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If it too frequency every day. ​Shall we just make a job to publish the ​pre-built gating images every day then other CI test just use them</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">(something like docker image, though it is container image)?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">You know making a gating image need to include lots of elements, even though with warm caches, when using diskimage-builder</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">we still need to rebuild step by step. What I mean is that building image is taking a bit time.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-xinliang</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[*] <URL: <a href="http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2017-06-09.log.html#t2017-06-09T15:32:27-2" rel="noreferrer" target="_blank">http://eavesdrop.openstack.<wbr>org/irclogs/%23openstack-<wbr>infra/%23openstack-infra.2017-<wbr>06-09.log.html#t2017-06-09T15:<wbr>32:27-2</a> ><br>
<span class="HOEnZb"><font color="#888888">--<br>
Jeremy Stanley<br>
</font></span><br>______________________________<wbr>_________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.<wbr>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-infra</a><br></blockquote></div><br></div></div>