Also, is it possible for two hardware switches to have the same dpid ? (Assuming that the manufacture didn't make duplicates. The hp switch here is making the dpid (vlan + mac) I believe ) .
On Thu, Jul 14, 2011 at 5:53 PM, Aaron Rosen <[email protected]> wrote: > Hello guys, > > I've been trying to dump and track this down. I was guessing that I > would see some kind of OF packet that had the dpid of the switch when > it joins in it but I was unable to find this information. I was > guessing that if I saw the same dpid but from two IP addresses we > could identify that as the problem. > > Here is a dump of the control traffic. During this time the controller > printed out the following: > > http://codepad.org/zAhOyPmj > > I'll keep looking, it seems like this is happening much less than it > was a little while ago so its hard to catch. > > Thanks, > > Aaron > > > > > On Thu, Jul 14, 2011 at 5:04 PM, kk yap <[email protected]> wrote: >> The switch is the one disconnected here? I assume the log is from NOX >> which is complaining the peer disconnected. A tcpdump of the control >> traffic might help here. >> >> Regards >> KK >> >> On 14 July 2011 13:57, Rob Sherwood <[email protected]> wrote: >>> Usually this is the case with NOX (and AFAICT, only nox) when you have >>> two switches with the same DPID. Nox has a rule that says "if I see >>> two openflow connections with the same DPID, kill the older connection >>> (assuming that it's stale)". The problem is if there is a network >>> misconfiguration and two switches have the same DPID, this cycle >>> continues endlessly: >>> >>> switch 1 connects, >>> switch 2 connects, disconnecting switch 1 >>> switch 1 reconnects, disconnecting switch 2 >>> >>> Fwiw, this might also be the source of your FV memory leak (separate >>> thread, fwiw). >>> >>> - Rob >>> . >>> >>> >>> >>> On Thu, Jul 14, 2011 at 1:33 PM, Aaron Rosen <[email protected]> wrote: >>>> Hello >>>> >>>> I was wondering if anyone had an ideas why this one switch seems to >>>> be flapping on its connection. This switch is on our local network so >>>> the connection shouldn't really be getting disconnected. The switch is >>>> an HP procure and points at our FV here (running v0.8.0) . When I >>>> use this same HP switch on a different VLAN without FV I don't seem to >>>> get this flapping behavior ( using the same network for control >>>> traffic which is nonOF). >>>> >>>> >>>> This flapping starts at 00047. >>>> >>>> Thanks, >>>> >>>> Aaron >>>> >>>> >>>> >>>> 00003|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00004|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00005|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00006|discovery|WARN:new link detected (06:d6:00:24:a8:c4:b9:00 p:71 >>>> -> 06:d6:00:12:e2:b8:a5:d0 p:20) >>>> 00007|discovery|WARN:new link detected (06:d6:00:12:e2:b8:a5:d0 p:20 >>>> -> 06:d6:00:24:a8:c4:b9:00 p:71) >>>> 00008|discovery|WARN:new link detected (00:00:0e:83:40:39:19:96 p:1 -> >>>> 00:00:0e:83:40:39:18:58 p:2) >>>> 00009|discovery|WARN:new link detected (00:00:0e:83:40:39:1a:57 p:2 -> >>>> 00:00:0e:83:40:39:19:96 p:2) >>>> 00010|discovery|WARN:new link detected (00:00:0e:83:40:39:18:58 p:2 -> >>>> 00:00:0e:83:40:39:19:96 p:1) >>>> 00011|discovery|WARN:new link detected (00:00:0e:83:40:39:1b:93 p:2 -> >>>> 00:00:0e:83:40:39:18:1b p:2) >>>> 00012|discovery|WARN:new link detected (0e:84:00:23:47:c8:bc:00 p:20 >>>> -> 06:d6:00:21:f7:be:8d:00 p:53) >>>> 00013|discovery|WARN:new link detected (0e:84:00:23:47:ca:bc:40 p:49 >>>> -> 00:00:00:12:e2:78:31:f5 p:10) >>>> 00014|discovery|WARN:new link detected (06:d6:00:23:47:c8:8c:40 p:20 >>>> -> 0e:84:00:24:a8:d2:48:00 p:49) >>>> 00015|discovery|WARN:new link detected (0e:84:00:26:f1:40:a8:00 p:51 >>>> -> 0e:84:00:24:a8:d2:48:00 p:51) >>>> 00016|discovery|WARN:new link detected (0e:84:00:24:a8:d2:48:00 p:50 >>>> -> 0e:84:00:23:47:ca:bc:40 p:51) >>>> 00017|discovery|WARN:new link detected (0e:84:00:23:47:ca:bc:40 p:51 >>>> -> 0e:84:00:24:a8:d2:48:00 p:50) >>>> 00018|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:51 >>>> -> 0e:84:00:23:47:ca:bc:40 p:50) >>>> 00019|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:41 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:20) >>>> 00020|discovery|WARN:new link detected (0e:84:00:23:47:c8:bc:00 p:49 >>>> -> 06:d6:00:12:e2:b8:a5:d0 p:5) >>>> 00021|discovery|WARN:new link detected (06:d6:00:12:e2:b8:a5:d0 p:5 -> >>>> 0e:84:00:23:47:c8:bc:00 p:49) >>>> 00022|discovery|WARN:new link detected (0e:84:00:26:f1:40:a8:00 p:50 >>>> -> 0e:84:00:23:47:c8:bc:00 p:51) >>>> 00023|discovery|WARN:new link detected (0e:84:00:23:47:c8:bc:00 p:51 >>>> -> 0e:84:00:26:f1:40:a8:00 p:50) >>>> 00024|discovery|WARN:new link detected (0e:84:00:24:a8:d2:48:00 p:51 >>>> -> 0e:84:00:26:f1:40:a8:00 p:51) >>>> 00025|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:20 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:41) >>>> 00026|discovery|WARN:new link detected (0e:84:00:23:47:ca:bc:40 p:50 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:51) >>>> 00027|discovery|WARN:new link detected (00:00:00:00:00:00:00:92 p:2 -> >>>> 00:00:00:12:e2:b8:f3:d2 p:27) >>>> 00028|discovery|WARN:new link detected (00:00:00:12:e2:b8:f3:d0 p:1 -> >>>> 03:85:00:23:47:4e:2e:c0 p:3) >>>> 00029|discovery|WARN:new link detected (00:00:00:12:e2:b8:f3:d0 p:15 >>>> -> 00:00:00:12:e2:b8:f3:d2 p:16) >>>> 00030|discovery|WARN:new link detected (00:00:00:12:e2:b8:f3:d2 p:16 >>>> -> 00:00:00:12:e2:b8:f3:d0 p:15) >>>> 00031|discovery|WARN:new link detected (0e:84:00:24:a8:d2:48:00 p:49 >>>> -> 06:d6:00:23:47:c8:8c:40 p:20) >>>> 00032|discovery|WARN:new link detected (06:d6:00:21:f7:be:8d:00 p:53 >>>> -> 0e:84:00:23:47:c8:bc:00 p:20) >>>> 00033|discovery|WARN:new link detected (06:d0:00:21:f7:be:8d:00 p:3 -> >>>> 06:d0:00:23:47:cc:44:00 p:1) >>>> 00034|discovery|WARN:new link detected (00:00:0e:83:40:39:18:1b p:2 -> >>>> 00:00:0e:83:40:39:1b:93 p:2) >>>> 00035|discovery|WARN:new link detected (00:00:0e:83:40:39:18:1b p:1 -> >>>> 06:d6:00:12:e2:b8:a5:d0 p:9) >>>> 00036|discovery|WARN:new link detected (00:00:00:00:00:00:00:95 p:1 -> >>>> 06:d0:00:23:47:cc:44:00 p:22) >>>> 00037|discovery|WARN:new link detected (00:00:00:12:e2:78:31:f5 p:10 >>>> -> 0e:84:00:23:47:ca:bc:40 p:49) >>>> 00038|discovery|WARN:new link detected (06:d0:00:23:47:cc:44:00 p:1 -> >>>> 06:d0:00:21:f7:be:8d:00 p:3) >>>> 00039|discovery|WARN:new link detected (06:d6:00:21:f7:be:8d:00 p:64 >>>> -> 06:d0:00:21:f7:be:8d:00 p:63) >>>> 00040|discovery|WARN:new link detected (06:d0:00:21:f7:be:8d:00 p:63 >>>> -> 06:d6:00:21:f7:be:8d:00 p:64) >>>> 00041|discovery|WARN:new link detected (00:00:0e:83:40:39:19:96 p:2 -> >>>> 00:00:0e:83:40:39:1a:57 p:2) >>>> 00042|discovery|WARN:new link detected (00:00:0e:83:40:39:1a:57 p:3 -> >>>> 00:00:0e:83:40:39:1b:93 p:1) >>>> 00043|discovery|WARN:new link detected (00:00:0e:83:40:39:1b:93 p:1 -> >>>> 00:00:0e:83:40:39:1a:57 p:3) >>>> 00044|discovery|WARN:new link detected (03:85:00:23:47:4e:2e:c0 p:3 -> >>>> 00:00:00:12:e2:b8:f3:d0 p:1) >>>> 00045|discovery|WARN:new link detected (03:85:00:23:47:4e:2e:c0 p:8 -> >>>> 00:00:00:12:e2:78:31:f5 p:2) >>>> 00046|discovery|WARN:new link detected (00:00:00:12:e2:78:31:f5 p:2 -> >>>> 03:85:00:23:47:4e:2e:c0 p:8) >>>> 00047|openflow|WARN:stream: connection closed by peer >>>> 00048|nox|WARN:stream: connection closed by peer >>>> 00049|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00050|openflow|WARN:stream: receive error: Connection reset by peer >>>> 00051|nox|WARN:Error sending features request: Connection reset by peer >>>> 00052|nox|WARN:Received unsupported message type during handshake (11) >>>> 00053|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00054|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00055|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00056|openflow|WARN:stream: connection closed by peer >>>> 00057|nox|WARN:stream: connection closed by peer >>>> 00058|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00059|nox|WARN:Received unsupported message type during handshake (11) >>>> 00060|nox|WARN:Received unsupported message type during handshake (11) >>>> 00061|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00062|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00063|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00064|openflow|WARN:stream: connection closed by peer >>>> 00065|nox|WARN:stream: connection closed by peer >>>> 00066|openflow|WARN:stream: connection closed by peer >>>> 00067|nox|WARN:stream: connection closed by peer >>>> 00068|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00069|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00070|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00071|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00072|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00073|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00074|nox|WARN:Ignoring features reply received while in state >>>> 'receiving ofmp capability reply' >>>> 00075|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:20 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:41) >>>> 00076|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00077|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:41 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:20) >>>> 00078|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00079|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00080|discovery|WARN:link timeout (06:d6:00:26:f1:3f:e4:80 p:41 -> >>>> 0e:84:00:24:a8:d2:b8:40p:20) >>>> 00081|discovery|WARN:link timeout (0e:84:00:24:a8:d2:b8:40 p:20 -> >>>> 06:d6:00:26:f1:3f:e4:80p:41) >>>> 00082|discovery|WARN:link timeout (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80p:39) >>>> 00083|discovery|WARN:link timeout (06:d6:00:26:f1:3f:e4:80 p:20 -> >>>> 06:d0:00:26:f1:3f:e4:80p:14) >>>> 00084|discovery|WARN:link timeout (06:d0:00:26:f1:3f:e4:80 p:14 -> >>>> 06:d6:00:26:f1:3f:e4:80p:20) >>>> 00085|openflow|WARN:stream: no response to inactivity probe after 15 >>>> seconds, disconnecting >>>> 00086|nox|WARN:stream: disconnected (Protocol error) >>>> 00087|openflow|WARN:stream: no response to inactivity probe after 15 >>>> seconds, disconnecting >>>> 00088|nox|WARN:stream: disconnected (Protocol error) >>>> 00089|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00090|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00091|nox|WARN:Received unsupported message type during handshake (11) >>>> 00092|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00093|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00094|nox|WARN:Received unsupported message type during handshake (11) >>>> 00095|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00096|nox|WARN:Ignoring features reply received while in state >>>> 'receiving ofmp capability reply' >>>> 00097|nox|WARN:Received unsupported message type during handshake (11) >>>> 00098|nox|WARN:Received unsupported message type during handshake (11) >>>> 00099|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving ofmp capability reply state >>>> 00100|nox|WARN:Received unsupported message type during handshake (11) >>>> 00101|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:41 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:20) >>>> 00102|openflow-event|ERR:ignoring additional features reply event from >>>> 6d60026f13fe480 >>>> 00103|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:20 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:41) >>>> 00104|openflow-event|ERR:received Openflow error packet from >>>> dpid=6d60026f13fe480: type=1, code=4, 24 bytes of data >>>> 00105|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00106|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00107|openflow|WARN:stream: connection closed by peer >>>> 00108|nox|WARN:stream: connection closed by peer >>>> 00109|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00110|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00111|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00112|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00113|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00114|openflow|WARN:stream: connection closed by peer >>>> 00115|nox|WARN:stream: connection closed by peer >>>> 00116|openflow|WARN:stream: connection closed by peer >>>> 00117|nox|WARN:stream: connection closed by peer >>>> 00118|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00119|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00120|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00121|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:41 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:20) >>>> 00122|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:20 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:41) >>>> 00123|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00124|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00125|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> 00126|openflow|WARN:stream: connection closed by peer >>>> 00127|nox|WARN:stream: connection closed by peer >>>> 00128|openflow|WARN:stream: connection closed by peer >>>> 00129|nox|WARN:stream: connection closed by peer >>>> 00130|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00131|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in receiving features reply state >>>> 00132|nox|WARN:stream: closing connection due to timeout after 5 >>>> seconds in sending features request state >>>> 00133|discovery|WARN:new link detected (0e:84:00:24:a8:d2:b8:40 p:20 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:41) >>>> 00134|discovery|WARN:new link detected (06:d0:00:26:f1:3f:e4:80 p:14 >>>> -> 06:d6:00:26:f1:3f:e4:80 p:20) >>>> 00135|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:41 >>>> -> 0e:84:00:24:a8:d2:b8:40 p:20) >>>> 00136|discovery|WARN:new link detected (00:00:00:00:00:00:01:04 p:1 -> >>>> 06:d0:00:26:f1:3f:e4:80 p:39) >>>> 00137|discovery|WARN:new link detected (06:d6:00:26:f1:3f:e4:80 p:20 >>>> -> 06:d0:00:26:f1:3f:e4:80 p:14) >>>> >>>> >>>> -- >>>> Aaron O. Rosen >>>> Masters Student - Network Communication >>>> 306B Fluor Daniel >>>> _______________________________________________ >>>> openflow-discuss mailing list >>>> [email protected] >>>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>>> >>> _______________________________________________ >>> openflow-discuss mailing list >>> [email protected] >>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>> >> > > > > -- > Aaron O. Rosen > Masters Student - Network Communication > 306B Fluor Daniel > -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
