Your message dated Fri, 19 Dec 2014 03:49:22 +0000
with message-id <e1y1oz8-0008ut...@franck.debian.org>
and subject line Bug#771863: fixed in openvswitch 2.3.0+git20140819-3
has caused the Debian Bug report #771863,
regarding openvswitch-switch: Open vSwitch configuration through 
/etc/network/interfaces does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
771863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771863
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- openvswitch-switch	2014-12-03 00:09:38.304557848 +0100
+++ openvswitch-switch.new	2014-12-03 00:10:16.496558951 +0100
@@ -31,7 +31,7 @@
 test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
 
 network_interfaces () {
-    [ -z "${RUNLEVEL}" ] && return
+    # [ -z "${RUNLEVEL}" ] && return
     INTERFACES="/etc/network/interfaces"
     [ -e "${INTERFACES}" ] || return
     bridges=`awk '{ if ($1 == "allow-ovs") { print $2; } }' "${INTERFACES}"`

--- End Message ---
--- Begin Message ---
Source: openvswitch
Source-Version: 2.3.0+git20140819-3

We believe that the bug you reported is fixed in the latest version of
openvswitch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 771...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Horman <ho...@debian.org> (supplier of updated openvswitch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 19 Dec 2014 10:54:08 +0900
Source: openvswitch
Binary: openvswitch-common openvswitch-switch openvswitch-ipsec openvswitch-pki 
openvswitch-dbg python-openvswitch openvswitch-test openvswitch-vtep
Architecture: source i386 all
Version: 2.3.0+git20140819-3
Distribution: unstable
Urgency: medium
Maintainer: Open vSwitch developers <d...@openvswitch.org>
Changed-By: Simon Horman <ho...@debian.org>
Description:
 openvswitch-common - Open vSwitch common components
 openvswitch-dbg - Debug symbols for Open vSwitch packages
 openvswitch-ipsec - Open vSwitch GRE-over-IPsec support
 openvswitch-pki - Open vSwitch public key infrastructure dependency package
 openvswitch-switch - Open vSwitch switch implementations
 openvswitch-test - Open vSwitch test package
 openvswitch-vtep - Open vSwitch VTEP utilities
 python-openvswitch - Python bindings for Open vSwitch
Closes: 771863
Changes:
 openvswitch (2.3.0+git20140819-3) unstable; urgency=medium
 .
   * Don't depened on $RUNLEVEL at startup to create bridges.
     This should allow Open vSwitch configuration through
     /etc/network/interfaces where $RUNLEVEL is not set.
     This change is upstream commit 238324bd73b031635
     ("debian: Don't depened on $RUNLEVEL at startup to create bridges.")
     Closes: #771863
   *
Checksums-Sha1:
 0be5f09ebe98fd358a18526f956cc54a7ab5bca3 2565 
openvswitch_2.3.0+git20140819-3.dsc
 aef85792bfc592e33c3714ec85796b65a424d743 42408 
openvswitch_2.3.0+git20140819-3.debian.tar.xz
 510ca055fc0ce51c404d1d897f3352bd8f174707 570190 
openvswitch-common_2.3.0+git20140819-3_i386.deb
 494ccb54403c0f1f44ea892714b41868be4670e8 1066898 
openvswitch-switch_2.3.0+git20140819-3_i386.deb
 079bed29dcbf35a5b44be17db168a8da2f356e7e 35572 
openvswitch-ipsec_2.3.0+git20140819-3_i386.deb
 438f25769da315437a44c3975cc978bc59e7cdae 3372344 
openvswitch-dbg_2.3.0+git20140819-3_i386.deb
 d25d25b4a8bf02b97f944d20de3f58f2ec1d00c9 197154 
openvswitch-vtep_2.3.0+git20140819-3_i386.deb
 ad021e821643aabfcb33982eba20ab199533b2a3 29354 
openvswitch-pki_2.3.0+git20140819-3_all.deb
 5b35f36c027b4ed88aef41b0f1bc2a87e8889640 79596 
python-openvswitch_2.3.0+git20140819-3_all.deb
 e3ca3f0f9cfa7223c3c180d3e9de810bed9be68c 45086 
openvswitch-test_2.3.0+git20140819-3_all.deb
Checksums-Sha256:
 9b4d5f6d2e2a2b8398f7d5f91fc329415c94cbb366d09cc5ba2890cfd58b7c6a 2565 
openvswitch_2.3.0+git20140819-3.dsc
 f15047a3ec279386151cf85e208f4648e7ebb8b6c5681732c8f0651fbc40c256 42408 
openvswitch_2.3.0+git20140819-3.debian.tar.xz
 b5f2692f25319fff35a0356b37faeae45dd48cd1f8ceca5b11a7fc13138f6754 570190 
openvswitch-common_2.3.0+git20140819-3_i386.deb
 ee6d895a607dca13ca19969bb68680561a96b44dfb1979457ba80e0c0648a4c9 1066898 
openvswitch-switch_2.3.0+git20140819-3_i386.deb
 9d4c386605999c2f85cbd697e5f73e7c3e6edabdd845f2d0170a89d2a5dcf95c 35572 
openvswitch-ipsec_2.3.0+git20140819-3_i386.deb
 7a01c3b08f46d4d278a8e38d4e65920b2210ce4c10eaf8232585343a35d4b948 3372344 
openvswitch-dbg_2.3.0+git20140819-3_i386.deb
 e9d0110f0d76298b1fd63d73cf17e72b7d4572550268cdc835d571f9f73b947b 197154 
openvswitch-vtep_2.3.0+git20140819-3_i386.deb
 14d652e630d8b2d39003ee0b53dff46eaf51fcfbb0b5763489387798d382f526 29354 
openvswitch-pki_2.3.0+git20140819-3_all.deb
 ecb3dfba908565b3b8a9fd8e075e74226f90f0c1b08d5901c9dd66b6bbc50c1a 79596 
python-openvswitch_2.3.0+git20140819-3_all.deb
 427899bd8da60e11a0f6907df15fca3a4268d14518c789edc36fc8b0edc16bcd 45086 
openvswitch-test_2.3.0+git20140819-3_all.deb
Files:
 8539390e05935a04a16cc6a1a41415a3 2565 net extra 
openvswitch_2.3.0+git20140819-3.dsc
 831497b03ccee3fcf56364d4d7dd9f6f 42408 net extra 
openvswitch_2.3.0+git20140819-3.debian.tar.xz
 e3da6c64f1ef2db96b171f5f74f5d63a 570190 net extra 
openvswitch-common_2.3.0+git20140819-3_i386.deb
 d16c780ac48d687f3a85180f5f13eaa4 1066898 net extra 
openvswitch-switch_2.3.0+git20140819-3_i386.deb
 500230987659bbbfd0f29e4d634b3e87 35572 net extra 
openvswitch-ipsec_2.3.0+git20140819-3_i386.deb
 3e21e3d494edc2dfb05a20e15f670587 3372344 debug extra 
openvswitch-dbg_2.3.0+git20140819-3_i386.deb
 cade755a0c15d7c9b2670d2094d2c634 197154 net extra 
openvswitch-vtep_2.3.0+git20140819-3_i386.deb
 2be4b3773117ab12423d07880ff7e686 29354 net extra 
openvswitch-pki_2.3.0+git20140819-3_all.deb
 69ae215546b8044632ef5a98b34f4871 79596 python extra 
python-openvswitch_2.3.0+git20140819-3_all.deb
 3f8f9783fedd5f459ac5dc4fccf7f221 45086 net extra 
openvswitch-test_2.3.0+git20140819-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUk5+CAAoJENfPZGlqN0++peAP/jdUJIEQUN6wmUXfarxtnsiC
brxJrBOey0Ca/IpI9b0R8kwnEe9fwEqXlydZ2jgVjzYVn1n7YGmYe8pDerl7gx5o
qSNFTBu/0RHKMPYrBGrxI/+FF40UviISDNy0xJ8q5erAIUYmO/f1fdjaWJ3v0ybv
jDcCX3gE/yZgZTOoNB0Cts18f/kPKsAm7KFBNfDzlMi+B7COao8rvQxwLhoufWix
QE3zYFqVqeCxsdVoIIykiq1iLv/+YPsgBUqvjh1EinGPM8MbIIhK1fC7+SEt4tPO
y8/JzgeN3t+u442vtQU0U7KhYuf7eI2QBGtKJbNY7nEHTAJ0znEG3/6FxjuPksx9
pJ0wkUbuOw12uh86uyvAflVqX3f2c+8vX+TiBCruwCSo1UFoq2WhTZJN4TGUxn9V
Ma0BLUIgB0yEpiuHvX23UgQqZzqi1vRZoh33JjsLWhlzgL3uCurlo72hnpOUMttq
pxVC6Hno5NcZdm83QxO+xvC1IjMVdbUPD6THFe4VfWR2zcrL4lKTUNfGGJiJoK45
HgpG7TyLuiThrEF5G1d5CgCnBfWtFR3kT3U2BsecxADMOQxL4EWlIggrKccdywfK
M+X7bmB3UVDIK8L7yVQAAXi8JHcyBZv65Zof7Z+xEBQd00r/O8oINHrs6GNE6E6M
T9jasz9moYt5UQmjmtp2
=CWuO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to