[ovs-dev] Bug#686518: openvswitch-switch: No network configuration with openvswitch
Andreas Pflug
pgadmin at pse-consulting.de
Sun Sep 2 15:25:29 UTC 2012
Package: openvswitch-switch
Version: 1.4.2+git20120612-2
Severity: normal
Dear Maintainer,
when replacing the kernel bridge module by openvswitch, the machines network configuration isn't executed because networking initialization is performed before the openvswitch daemons are running.
I fixed this by another "ifup -a" in /etc/init.d/openvswitch-vswitch
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (990, 'stable'), (100, 'stable-updates'), (100, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages openvswitch-switch depends on:
ii libc6 2.13-33
ii libssl1.0.0 1.0.1c-3
ii module-init-tools 3.12-2
ii openvswitch-common 1.4.2+git20120612-2
ii procps 1:3.2.8-9squeeze1
ii python 2.7.3~rc2-1
ii uuid-runtime 2.20.1-5.1
openvswitch-switch recommends no packages.
Versions of packages openvswitch-switch suggests:
pn openvswitch-datapath-module <none>
-- Configuration Files:
/etc/init.d/openvswitch-switch changed:
(test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
. /usr/share/openvswitch/scripts/ovs-lib
test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
if test X"$BRCOMPAT" = Xyes && test ! -x /usr/sbin/ovs-brcompatd; then
BRCOMPAT=no
log_warning_msg "ovs-brcompatd missing, disabling bridge compatibility"
fi
ovs_ctl () {
set /usr/share/openvswitch/scripts/ovs-ctl "$@"
if test X"$BRCOMPAT" = Xyes; then
set "$@" --brcompat
fi
"$@"
}
load_kmod () {
ovs_ctl load-kmod || exit $?
}
start () {
if ovs_ctl load-kmod; then
:
else
echo "Module has probably not been built for this kernel."
if ! test -d /usr/share/doc/openvswitch-datapath-source; then
echo "Install the openvswitch-datapath-source package, then read"
else
echo "For instructions, read"
fi
echo "/usr/share/doc/openvswitch-datapath-source/README.Debian"
if test X"$OVS_MISSING_KMOD_OK" = Xyes; then
# We're being invoked by the package postinst. Do not
# fail package installation just because the kernel module
# is not available.
exit 0
fi
fi
set ovs_ctl ${1-start} --system-id=random
if test X"$FORCE_COREFILES" != X; then
set "$@" --force-corefiles="$FORCE_COREFILES"
fi
"$@" || exit $?
ovs_ctl --protocol=gre enable-protocol
ifup -a
}
stop () {
ovs_ctl stop
}
case $1 in
start)
start
;;
stop | force-stop)
stop
;;
reload | force-reload)
# The OVS daemons keep up-to-date.
;;
restart)
stop
start
;;
status)
ovs_ctl status
exit $?
;;
force-reload-kmod)
start force-reload-kmod
;;
load-kmod)
load_kmod
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload|status|force-stop|force-reload-kmod|load-kmod}" >&2
exit 1
;;
esac
exit 0
-- no debconf information
More information about the dev
mailing list