Tony Angerame
2007-Jun-01 00:05 UTC
[Xen-users] Xen Multiple Interface bridge creation fails
Hi, I am using Xen 3.0.2 on SUSE SLES 10. I have created a script in /etc/xen/scripts called "network-mybridges" and use two lines to setup xenbr0 and xenbr1. When executed manually the script works fine and creates xenbr0 and xenbr1. I can then xm create -c <vmname>. with absolutely no issues. It just won''t work at boot time. It appears that the vif-bridge script is shutting down and deleting the devices (xenbr) at boot time instead of bringing them up. The script is configured into /etc/xen/xend-config.sxp. Here is an excerpt from /var/log/messages: 2357 May 31 16:57:04 zeus kernel: eth1: no IPv6 routers present 2358 May 31 16:57:04 zeus logger: /etc/xen/scripts/vif-bridge: online XENBUS_ PATH=backend/vif/1/0 2359 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: add XENBUS_PATH=bac kend/vbd/1/768 2360 May 31 16:57:04 zeus logger: /etc/xen/scripts/vif-bridge: online XENBUS_ PATH=backend/vif/1/1 2361 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: add XENBUS_PATH=bac kend/vbd/1/832 2362 May 31 16:57:04 zeus kernel: NET: Registered protocol family 17 2363 May 31 16:57:04 zeus ifup: vif1.0 2364 May 31 16:57:04 zeus ifup: No configuration found for vif1 .0 2365 May 31 16:57:04 zeus ifup: vif1.1 2366 May 31 16:57:04 zeus ifup: No configuration found for vif1 .1 2367 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/768/node /dev/loop0 to xenstore. 2368 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/768/physical-device 7:0 to xenstore. 2369 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/768/hotplug-status connected to xenstore. 2370 May 31 16:57:05 zeus kernel: eth0: no IPv6 routers present 2371 May 31 16:57:05 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/832/physical-device 3:40 to xenstore. 2372 May 31 16:57:05 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/832/hotplug-status connected to xenstore. 2373 May 31 16:57:05 zeus kernel: vbd vbd-1-832: 2 creating vbd structure 2374 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: offline XENBUS _PATH=backend/vif/1/0 2375 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: offline XENBUS _PATH=backend/vif/1/1 2376 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: brctl delif xe nbr0 vif1.0 failed 2377 May 31 16:57:14 zeus logger: /etc/xen/scripts/block: remove XENBUS_PATH= backend/vbd/1/832 2378 May 31 16:57:14 zeus logger: /etc/xen/scripts/block: remove XENBUS_PATH= backend/vbd/1/768 2379 May 31 16:57:14 zeus ifdown: vif1.0 2380 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: brctl delif xe nbr1 vif1.1 failed 2381 May 31 16:57:14 zeus ifdown: Interface not available and no configuratio n found. 2382 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: ifconfig vif1. 0 down failed 2383 May 31 16:57:14 zeus logger: /etc/xen/scripts/vif-bridge: ifconfig vif1. 1 down failed 2384 May 31 16:57:14 zeus logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBU S_PATH=backend/vbd/1/832 2385 May 31 16:57:14 zeus logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBU S_PATH=backend/vbd/1/768 2386 May 31 16:57:14 zeus ifdown: vif1.1 2387 May 31 16:57:14 zeus ifdown: Interface not available and no configuratio n found. 2388 May 31 16:57:15 zeus kernel: ip_tables: (C) 2000-2006 Netfilter Core Tea m 2389 May 31 16:57:15 zeus logger: /etc/xen/scripts/vif-bridge: Successful vif -bridge offline for vif1.0, bridge xenbr0. 2390 May 31 16:57:15 zeus logger: /etc/xen/scripts/vif-bridge: Successful vif -bridge offline for vif1.1, bridge xenbr1. 2391 May 31 16:57:15 zeus logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBU S_PATH=backend/vif/1/1 2392 May 31 16:57:15 zeus logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBU S_PATH=backend/vif/1/0 2369 May 31 16:57:04 zeus logger: /etc/xen/scripts/block: Writing backend/vbd /1/768/hotplug-status connected to xenstore. 2370 May 31 16:57:05 zeus kernel: eth0: no IPv6 routers present 2357,47 95% I really appreciate the help I get from this group. Thanks in advance. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users