<div dir="ltr">Hi Sylvain,<div><br></div><div>The problem has been solved ussing the kubernetes yaml file [1] (adding the ovs plugin) for the DaemonSet definition instead the openshift one [2].</div><div><br></div><div>[1] <a href="https://github.com/skydive-project/skydive/blob/master/contrib/kubernetes/skydive.yaml">https://github.com/skydive-project/skydive/blob/master/contrib/kubernetes/skydive.yaml</a></div><div>[2] <a href="https://github.com/skydive-project/skydive/blob/master/contrib/openshift/skydive-template.yaml">https://github.com/skydive-project/skydive/blob/master/contrib/openshift/skydive-template.yaml</a></div><div><br></div><div>I've also enclosed the topology file.</div><div><br></div><div>Thanks,</div><div>Mak</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 12:14 PM, Marcos Entenza Garcia <span dir="ltr"><<a href="mailto:mak@redhat.com" target="_blank">mak@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sylvain,<div><br></div><div>Yes, it's blocking now as we don't see the topology. As you said, this error appears every time we try to view the topology through the web ui, and also the API is retunring just null values.</div><div><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">{"Nodes":[],"Edges":[]}</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Thanks,</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Mak</pre></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 11:26 AM, Sylvain Afchain <span dir="ltr"><<a href="mailto:safchain@redhat.com" target="_blank">safchain@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">About the error, is it blocking ? because this kind of message appears when there is a websocket disconnection which can be between analyzer/agent or just between analyzer/webui following a browser refresh.<br>
<br>
For the VNID, to be sure to understand your deployment can you send us the topology "dump" so that we could re-inject it to an analyzer on our side.<br>
<br>
A "curl" to http://<analyzer>/api/topology will give you the "dump".<br>
<br>
Thanks,<br>
<div class="m_6704017905803602031HOEnZb"><div class="m_6704017905803602031h5"><br>
Sylvain<br>
<br>
----- Mail original -----<br>
> Hi guys,<br>
><br>
> Thanks for your responses.<br>
><br>
> @Sylvain, I understand your approach but normally Nodes are shared between<br>
> different projects in OCP, so the only way to identify the specific traffic<br>
> for a Namespace is filtering but the VNID, but correct me if I'm wrong.<br>
><br>
> We are now getting the same error on different deployments for the<br>
> skydive-analyzer image:<br>
><br>
> wsserver.go:194 http (*WSClient).readPump > ERRO 015 Error while reading<br>
> websocket from : websocket: close 1001<br>
><br>
> Have you guys git an idea what can cause this?<br>
><br>
> Thanks,<br>
> Mak<br>
><br>
><br>
><br>
><br>
> On Wed, Feb 22, 2017 at 8:47 AM, Sylvain Afchain <<a href="mailto:safchain@redhat.com" target="_blank">safchain@redhat.com</a>><br>
> wrote:<br>
><br>
> > Hi Marcos,<br>
> ><br>
> > Beyond the VNI support that Nicolas explained, there is a way to get flows<br>
> > for a given namespace. I guess you started a capture at the ovs bridge, if<br>
> > so you can do the following gremlin request:<br>
> ><br>
> > G.V().Has('Name', 'ns1').Out().Flows()<br>
> ><br>
> > which has to be read like this: get all the nodes with the name 'ns1'<br>
> > (your namespace), then returns the nodes belonging to this namespace,<br>
> > finally returns the flows for those interfaces.<br>
> ><br>
> > Regards,<br>
> ><br>
> > Sylvain<br>
> ><br>
> > ----- Mail original -----<br>
> > > Hi Marcos,<br>
> > ><br>
> > ><br>
> > > For the moment it's not possible to filter out the Flows with a specific<br>
> > VNI,<br>
> > > but a patch [1] is underway to support that by adding a network.ID on<br>
> > each<br>
> > > UUID where ID is GRE.key or Geneve.ID or VXLAN.VNI and Link.ID for<br>
> > <a href="http://VLAN.ID" rel="noreferrer" target="_blank">VLAN.ID</a><br>
> > ><br>
> > > So it would be possible to filter out all flows with a kind of query like<br>
> > > that :<br>
> > > G.V().Flows().Has(parentUUID, Within( G.V().Flows().Has(application,<br>
> > 'VXLAN',<br>
> > > network.ID,<target_VNI>).Dedup<wbr>() ))<br>
> > ><br>
> > > But keep it mind it's better practice to start only capture interfaces<br>
> > of a<br>
> > > specific namespace, for example :<br>
> > > G.V().Has('Type', 'netns', 'Name', 'vm1').Out().Has('State', 'UP')<br>
> > ><br>
> > ><br>
> > > Regards,<br>
> > ><br>
> > > Nicolas<br>
> > ><br>
> > > [1] <a href="https://softwarefactory-project.io/r/#/c/6206/" rel="noreferrer" target="_blank">https://softwarefactory-projec<wbr>t.io/r/#/c/6206/</a><br>
> > ><br>
> > ><br>
> > > On Wed, Feb 22, 2017 at 3:22 AM, Marcos Entenza Garcia < <a href="mailto:mak@redhat.com" target="_blank">mak@redhat.com</a><br>
> > ><br>
> > > wrote:<br>
> > ><br>
> > ><br>
> > ><br>
> > > All,<br>
> > ><br>
> > > I've got a Skydive deployment in an OCP ovs-multitenat Cluster and I was<br>
> > > wondering if there is any method I could use to filter the traffic for<br>
> > just<br>
> > > one of the namespaces as all of them has different VNID. The flow schema<br>
> > > doesn't seem to support that and can't find that filter to be added to a<br>
> > > Gremlin query.<br>
> > ><br>
> > > Any ideas?<br>
> > ><br>
> > > Thanks,<br>
> > > Mak<br>
> > ><br>
> > > ______________________________<wbr>_________________<br>
> > > Skydive-dev mailing list<br>
> > > <a href="mailto:Skydive-dev@redhat.com" target="_blank">Skydive-dev@redhat.com</a><br>
> > > <a href="https://www.redhat.com/mailman/listinfo/skydive-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/skydive-dev</a><br>
> > ><br>
> > ><br>
> > ><br>
> > > ______________________________<wbr>_________________<br>
> > > Skydive-dev mailing list<br>
> > > <a href="mailto:Skydive-dev@redhat.com" target="_blank">Skydive-dev@redhat.com</a><br>
> > > <a href="https://www.redhat.com/mailman/listinfo/skydive-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/skydive-dev</a><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>