[ovs-discuss] Problem: Connectivity lost through SSH when attaching OpenDaylight controller
Ben Pfaff
blp at nicira.com
Sat Jan 17 00:22:34 UTC 2015
On Fri, Jan 16, 2015 at 03:44:41PM +0100, Ana Pérez wrote:
> The first problem is: when I restart the VM and I try to do any operation
> with "ovs-vsctl" it fails and says:
>
> "dpif_linux|ERR|Generic Netlink family 'ovs_datapath' does not exist. The
> Open vSwitch kernel module is probably not loaded
> dpif|WARN|failed to enumerate system datapaths: No such file or directory
> |dpif|WARN|failed to create datapath ovs-system: No such file or directory
> |ofproto_dpif|ERR|failed to open datapath of type system: No such file or
> directory"
It's very likely that the Open vSwitch kernel module is not loaded. Did
you check?
> And the only way I have found to make it work without problems again is
> killing the ovsdb-server and ovs-vswitchd daemons, deleting the database,
> doing a "make uninstall" and re-install everything (losing all the
> configurations). Which would be the correct way to continue working after a
> reboot?
Rebooting shouldn't require special work.
> And the second, and worse for me is this: I have created one bridge in each
> OVS machine, and I have created a script (because I lose the connection to
> the machine during the process) to attach the bridge to eth0 like this:
>
> "ovs-vsctl add-port br1 eth0
> ifconfig eth0 0.0.0.0
> ifconfig br1 10.250.0.3 netmask 255.255.0.0
> ifconfig br1 up
> route add default gw 10.250.0.1 br1
> route del default gw 10.250.0.1 eth0"
>
> The problem is, that I need also to attach the SDN controller, but when I
> do "ovs-vsctl set-controller br1 tcp:10.250.0.2:6633" I lose the connection
> with the VM and all I can do is to get it rebooted (I don't manage the VM
> myself, I only have access to them through SSH). I have this in the
> ovs-vswitchd.log file:
The controller sounds buggy to me.
More information about the discuss
mailing list