<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi, </font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Sorry somehow I missed this email. I don't think you want to disable it, though we can definitely have it run less often. The issue with disabling it is if one of the notifications from neutron->nova never gets sent successfully to nova (neutron-server is restarted before the event is sent or some other internal failure). Nova will never update it's cache if the heal_instance_info_cache_interval is set to 0.  The neutron->nova events help to ensure that the nova info_cache is up to date sooner by having neutron inform nova whenever a port's data has changed (@Joe Gordon - this happens regardless of virt driver). </font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">If you're using the libvirt virt driver the neutron->nova events will also be used to ensure that the networking is 'ready' before the instance is powered on. </font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Best, </font></div><div><font face="arial, helvetica, sans-serif"><br>Aaron</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif">P.S: we're working on making the heal_network call to neutron a lot less expensive as well in the future. </font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br><br></font><div class="gmail_quote"><font face="arial, helvetica, sans-serif">On Tue, May 27, 2014 at 7:25 PM, Joe Gordon <span dir="ltr"><<a href="mailto:joe.gordon0@gmail.com" target="_blank">joe.gordon0@gmail.com</a>></span> wrote:<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="arial, helvetica, sans-serif"><br></font><div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br>
<br></font><div class="gmail_quote"><div class=""><font face="arial, helvetica, sans-serif">On Wed, May 21, 2014 at 6:21 AM, Assaf Muller <span dir="ltr"><<a href="mailto:amuller@redhat.com" target="_blank">amuller@redhat.com</a>></span> wrote:<br>


</font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">Dear Nova aficionados,<br>

<br>
Please make sure I understand this correctly:<br>
Each nova compute instance selects a single VM out of all of the VMs<br>
that it hosts, and every <heal_instance_info_cache_interval> seconds<br>
queries Neutron for all of its networking information, then updates<br>
Nova's DB.<br>
<br>
If the information above is correct, then I fail to see how that<br>
is in anyway useful. For example, for a compute node hosting 20 VMs,<br>
it would take 20 minutes to update the last one. Seems unacceptable<br>
to me.<br>
<br>
Considering Icehouse's Neutron to Nova notifications, my question<br>
is if we can change the default to 0 (Disable the feature), deprecate<br>
it, then delete it in the K cycle. Is there a good reason not to do this?<br></font></blockquote><div><font face="arial, helvetica, sans-serif"><br></font></div></div><div><font face="arial, helvetica, sans-serif">Based on the patch that introduced this function [0] you may be on to something, but AFAIK unfortunately the neutron to nova notifications only work in libvirt right now [1], so I don' think we can fully deprecate this periodic task. That being said turning it off by default may be an option. Have you tried disabling this feature and seeing what happens (in the gate and/or in production)?</font></div>


<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">[0] <a href="https://review.openstack.org/#/c/4269/" target="_blank">https://review.openstack.org/#/c/4269/</a></font></div>
<div><font face="arial, helvetica, sans-serif">[1] <a href="https://wiki.openstack.org/wiki/ReleaseNotes/Icehouse" target="_blank">https://wiki.openstack.org/wiki/ReleaseNotes/Icehouse</a></font></div><div class="">

<div><font face="arial, helvetica, sans-serif"> </font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<font face="arial, helvetica, sans-serif"><br>
<br>
Assaf Muller, Cloud Networking Engineer<br>
Red Hat<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></blockquote></div></div><font face="arial, helvetica, sans-serif"><br></font></div></div>
<font face="arial, helvetica, sans-serif"><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></font></blockquote></div><br></div></div>