Kandoo - Beehive - Controller Error

95 views
Skip to first unread message

mg

unread,
Nov 23, 2016, 7:42:08 AM11/23/16
to beehive-dev
Hi folks,

Just wondered if I could get a little help. I'm doing some work on Distributed SDN Controllers for my dissertation and I'm having a little trouble getting Kandoo working with Mininet.

I have successfully installed Kandoo and appear to be able to run multiple kandoo controllers without issue. I have used the following commands:

Controller 1: go run main.go -addr 192.168.56.101:6644 -of.addr 192.168.56.101:6633 -v 1
Controller 2: go run main.go -addr 192.168.56.102:6655 -paddr 192.168.56.101:6644 -of.addr 192.168.56.102:6633 -v 1

Which produces the following output within Kandoo Controller 2:

raft2016/11/23 11:55:09 INFO: 2 became follower at term 0
raft2016/11/23 11:55:09 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:09 INFO: 2 became follower at term 1
raft2016/11/23 11:55:09 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:09 INFO: 2 became follower at term 2
raft2016/11/23 11:55:10 INFO: 2 became follower at term 0
raft2016/11/23 11:55:10 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 1
raft2016/11/23 11:55:10 INFO: 2 became follower at term 0
raft2016/11/23 11:55:10 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 1
raft2016/11/23 11:55:10 INFO: 2 became follower at term 0
raft2016/11/23 11:55:10 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 1
raft2016/11/23 11:55:10 INFO: 2 became follower at term 0
raft2016/11/23 11:55:10 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 1
raft2016/11/23 11:55:10 INFO: 2 became follower at term 0
raft2016/11/23 11:55:10 INFO: newRaft 2 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 1
raft2016/11/23 11:55:10 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 2
raft2016/11/23 11:55:10 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 2
raft2016/11/23 11:55:10 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 2
raft2016/11/23 11:55:10 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 2
raft2016/11/23 11:55:10 INFO: 2 [term: 1] received a MsgHeartbeat message with higher term from 1 [term: 2]
raft2016/11/23 11:55:10 INFO: 2 became follower at term 2

The issue I have is when I try to connect Mininet to one of the controllers. I have used the following command:

sudo mn --controller remote,ip=192.168.56.102,port=6633 --topo linear,5

Which produces the following error messages within Kandoo Controller 2:

E1123 12:04:41.890359 2901 conn.go:53] Error in OpenFlow handshake: EOF
E1123 12:04:42.151632 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.173543 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.174030 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.174144 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.174245 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.174356 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.174525 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194308 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194850 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194870 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194873 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194875 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.194931 2901 conn.go:140] of10Driver: port not found 2
E1123 12:04:42.195108 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.205628 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.206144 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:42.206311 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:43.014374 2901 driver.go:50] Received unsupported packet: 12
E1123 12:04:43.057103 2901 conn.go:140] of10Driver: port not found 2

Subsequently a pingall fails within Mininet - I've tried manually setting the OpenFlow version 1.0 and 1.2 when loading Mininet but still no joy.

Is anyone able to advise what the issue could be?

Thanks for your time,

-mg



Soheil Hassas Yeganeh

unread,
Mar 5, 2017, 2:44:34 PM3/5/17
to beehive-dev
You'll need to use different state path -statepath as well.

Soheil
Reply all
Reply to author
Forward
0 new messages