Package: openvswitch-switch
Version: 2.3.0+git20140819-2
Severity: normal
Tags: patch
Dear Maintainer,
i used one of the simple example configurations from the file README.Debian.gz
to configure an Open vSwitch in /etc/network/interfaces.
....
allow-ovs br0
iface br0 inet dhcp
ovs_type OVSBridge
ovs_ports eth0
allow-br0 eth0
iface eth0 inet manual
ovs_bridge br0
ovs_type OVSPort
....
The physical interface eth0 does exist.
After boot the vSwitch is not configured and the br0 interface is not created.
# ovs-vsctl show
de102b28-6a22-4fbb-ba5c-670e2916a1e3
ovs_version: "2.3.0"
# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
mode DEFAULT group default qlen 1000
link/ether 3c:97:0e:61:12:f9 brd ff:ff:ff:ff:ff:ff
4: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default
link/ether a2:7a:df:81:6d:ba brd ff:ff:ff:ff:ff:ff
Analyzing the problem shows, that /etc/init.d/openvswitch-switch checks if the
variable $RUNLEVEL is empty, before configuring the vSwitch. Since it is empty
it cancels the configuration. Commenting the check fixes the problem.
Thanks for your help.
Regards lubot
-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openvswitch-switch depends on:
ii kmod 18-3
ii libatomic1 4.9.1-19
ii libc6 2.19-13
ii libpython2.7-stdlib [python-argparse] 2.7.8-11
ii libssl1.0.0 1.0.1j-1
ii netbase 5.3
ii openvswitch-common 2.3.0+git20140819-2
ii procps 2:3.3.9-8
pn python:any <none>
ii uuid-runtime 2.25.2-3
openvswitch-switch recommends no packages.
openvswitch-switch suggests no packages.
-- no debconf information
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev