<p dir="ltr">Sorry, replying to all now.</p>
<p dir="ltr">I&#39;m doing POC testing on a miniature OpenStack environment with a single controller and two compute nodes. I want to be able to examine lflows from any node (usually its the controller) to see the end-to-end datapath, including potential drops by ct ACLs, NAT and LB actions. Currently, as I&#39;ve said, I can only examine L2 flows.<br>
I can definitely see a benefit in doing the live flow debugging from the operational standpoint. However, in my case, simply providing ct metadata as command line options would be more than enough.<br>
Cheers,<br>
Michael</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 30 Nov 2016 6:03 a.m., &quot;Ben Pfaff&quot; &lt;<a href="mailto:blp@ovn.org">blp@ovn.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 29, 2016 at 08:20:50PM -0800, Justin Pettit wrote:<br>
&gt;<br>
&gt; &gt; On Nov 29, 2016, at 5:28 PM, Ben Pfaff &lt;<a href="mailto:blp@ovn.org">blp@ovn.org</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; It&#39;s &quot;not yet&quot;.  I&#39;d like to implement them, but I&#39;m not sure how to do<br>
&gt; &gt; it because connection-tracking state, for any given connection, is<br>
&gt; &gt; embedded in the kernel of some hypervisor, which may not be one that<br>
&gt; &gt; ovn-trace is running on (if ovn-trace is even running on a hypervisor).<br>
&gt; &gt;<br>
&gt; &gt; One option would be to supply connection-tracking metadata on the<br>
&gt; &gt; ovn-trace command line, e.g. something like --ct=est,rel or --ct=new.<br>
&gt; &gt; Then ct_next could simply set ct_state to the specified values.  This<br>
&gt; &gt; would allow testing given scenarios.<br>
&gt;<br>
&gt; What about using the existing conntrack entries by running &quot;ovs-appctl<br>
&gt; dpctl/dump-conntrack&quot; by default?  That might be helpful for live<br>
&gt; debugging and seems like a reasonable default.  It does seem like it<br>
&gt; would be helpful to be able to specify values for testing what-if<br>
&gt; scenarios, too.  I would imagine we&#39;d need the ability to specify<br>
&gt; multiple zones on the command-line in case a single flow crosses<br>
&gt; multiple zones.<br>
<br>
I think our proposals cover two important special cases.<br>
<br>
Michael, what problem are you trying to solve?<br>
</blockquote></div></div>