<div dir="ltr"><div><div><div><br><br>On Wed, Mar 14, 2018 at 10:14 PM, Anil Venkata &lt;<a href="mailto:anilvenkata@redhat.com">anilvenkata@redhat.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; On Thu, Mar 15, 2018 at 3:35 AM, Ben Pfaff &lt;<a href="mailto:blp@ovn.org">blp@ovn.org</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; On Tue, Mar 13, 2018 at 05:46:41PM +0530, Anil Venkata wrote:<br>&gt;&gt; &gt; In Openstack neutron reference implementation, all agents will be<br>&gt;&gt; &gt; periodically reporting their status to neutron server. Similarly in<br>&gt;&gt; &gt; Openstack OVN based deployment, we want ovn-controller to periodically<br>&gt;&gt; &gt; report its status to neutron server.<br>&gt;&gt;<br>&gt;&gt; What kind of monitoring do you need?  If it&#39;s just a matter of finding<br>&gt;&gt; out that the controllers are still alive, then the existing &quot;nb_cfg&quot;<br>&gt;&gt; column in Chassis can suffice.  When neutron wants to check on the<br>&gt;&gt; controllers, it can increment nb_cfg in NB_Global and then see which<br>&gt;&gt; controllers update nb_cfg in Chassis in response.<br>&gt;<br>&gt;<br>&gt; Thanks a lot Ben.<br>&gt; Yes, the requirement is to check if the ovn-controller is dead or alive.<br>&gt; &quot;nb_cfg&quot; column is sufficient for this. I will follow your suggestion.<br>&gt;<br>&gt; Thanks<br>&gt; Anil<br>&gt;<br></div>As discussed in this weeks OVN meeting, current nb_cfg mechanism triggers a lot of update notifications unnecessarily. For this mechanism to be used by the monitoring purpose, we also need to optimize it so that the HV nb_cfg updates won&#39;t be notified to other HVs. I just sent out the patch for that purpose:<br><br><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2018-March/345272.html">https://mail.openvswitch.org/pipermail/ovs-dev/2018-March/345272.html</a><br><br></div><div>Please take a look.<br></div><div><br></div>Thanks,<br></div>Han<br></div>