[Pkg-xen-devel] Bug#655581: xen-utils-common: network-bridge breaks the network setup when using ethernet bonding.

Philip Ward p.g.ward at stir.ac.uk
Thu Jan 12 14:04:20 UTC 2012


Package: xen-utils-common
Version: 4.0.0-1
Severity: important


If using ethernet bonding and network-bridge with xen the network-bridge scripts breaks the network.

I have run through the commands manually in irder to establish the culprit.
In the op_start function (Starting on line 214) everything is fine up until line 251.
At this point the bridge has been created, devices renamed and the network is fine, but then
it runs do_ifup {$bridge}. In this function on line 111 it does ifup $1.
This breaks everything.
My solution is to surround the do_ifup ${bridge} line with a condition:
if [ ! -n "${slaves}" ]; then
    do_ifup {$bridge}
fi

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-utils-common depends on:
ii  gawk                    1:3.1.7.dfsg-5   GNU awk, a pattern scanning and pr
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  udev                    164-3            /dev/ and hotplug management daemo
ii  xenstore-utils          4.0.1-4          Xenstore utilities for Xen

xen-utils-common recommends no packages.

xen-utils-common suggests no packages.

-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SYSRQ=""
XENDOMAINS_USLEEP=100000
XENDOMAINS_CREATE_USLEEP=5000000
XENDOMAINS_MIGRATE=""
XENDOMAINS_SAVE=
XENDOMAINS_SHUTDOWN="--halt --wait"
XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
XENDOMAINS_RESTORE=true
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_AUTO_ONLY=false
XENDOMAINS_STOP_MAXWAIT=300

/etc/xen/xend-config.sxp changed:
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(enable-dom0-ballooning yes)
(total_available_memory 0) 
(dom0-cpus 0)
(vncpasswd '')


-- no debconf information

-- 
The Sunday Times Scottish University of the Year 2009/2010
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.






More information about the Pkg-xen-devel mailing list