On Sun, 27 Jan 2008 12:54:27 am Daniel P. Berrange wrote: > > This is a bug in Xen 3.2.0 > > http://xenbits.xensource.com/xen-3.2-testing.hg?rev/bf534df13095 Thanks for that, a little vim goes a long way. Now, my test system does not connect to the network; it starts, but it cannot obtain an IP address by dhcp. I have not yet tried manual configuuration. I added a second NIC with virt-manager. Here is the resultant XML: [root@potoroo ~]# virsh dumpxml DebianEtch <domain type='xen' id='-1'> <name>DebianEtch</name> <uuid>deec1a9a-dea6-8de5-d6d0-79eb94be561c</uuid> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <boot dev='hd'/> </os> <memory>262144</memory> <vcpu>1</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <devices> <emulator>/usr/lib64/xen/bin/qemu-dm</emulator> <interface type='bridge'> <source bridge='eth0'/> <target dev='vif-1.0'/> <mac address='00:16:3e:54:ba:6f'/> <script path='vif-bridge'/> </interface> <interface type='bridge'> <source bridge='peth0 (Bridge eth0)'/> <target dev='vif-1.1'/> <mac address='00:16:3e:34:89:a2'/> </interface> <disk type='file' device='disk'> <driver name='file'/> <source file='/var/lib/xen/images/DebianEtch.img'/> <target dev='hda'/> </disk> <disk device='cdrom'> <target dev='hdc'/> <readonly/> </disk> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' listen='0.0.0.0'/> </devices> </domain> [root@potoroo ~]# [root@potoroo ~]# virsh start DebianEtch libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 1 (vif) could not be connected. Could not find bridge device peth0 (Bridge eth0)') error: Failed to start domain DebianEtch [root@potoroo ~]# This is selinux getting in the way (it does it all the time). (sealert popped up). or not: [root@potoroo ~]# setenforce 0 [root@potoroo ~]# virsh start DebianEtch libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 1 (vif) could not be connected. Could not find bridge device peth0 (Bridge eth0)') error: Failed to start domain DebianEtch [root@potoroo ~]# Here is the bridge information: [root@potoroo ~]# /usr/sbin/brctl show bridge name bridge id STP enabled interfaces eth0 8000.00187184a59e no peth0 virbr0 8000.000000000000 yes [root@potoroo ~]# /usr/sbin/brctl showmacs eth0 port no mac addr is local? ageing timer 1 00:0d:60:f0:ac:5c no 0.42 1 00:11:5b:e1:d8:5c no 0.42 1 00:11:d8:70:68:15 no 226.66 1 00:18:71:84:a5:9e yes 0.00 [root@potoroo ~]# /usr/sbin/brctl showmacs virbr0 port no mac addr is local? ageing timer [root@potoroo ~]# /usr/sbin/brctl showstp eth0 eth0 bridge id 8000.00187184a59e designated root 8000.00187184a59e root port 0 path cost 0 max age 19.99 bridge max age 19.99 hello time 1.99 bridge hello time 1.99 forward delay 0.00 bridge forward delay 0.00 ageing time 299.95 hello timer 0.28 tcn timer 0.00 topology change timer 0.00 gc timer 0.06 flags peth0 (0) port id 0000 state forwarding designated root 8000.00187184a59e path cost 19 designated bridge 8000.00187184a59e message age timer 0.00 designated port 8001 forward delay timer 0.00 designated cost 0 hold timer 0.00 flags [root@potoroo ~]# /usr/sbin/brctl showstp virbr0 virbr0 bridge id 8000.000000000000 designated root 8000.000000000000 root port 0 path cost 0 max age 19.99 bridge max age 19.99 hello time 1.99 bridge hello time 1.99 forward delay 14.99 bridge forward delay 14.99 ageing time 299.95 hello timer 0.93 tcn timer 0.00 topology change timer 0.00 gc timer 0.03 flags [root@potoroo ~]# and xend's log: [2008-01-27 08:48:54 2815] INFO (image:139) buildDomain os=hvm dom=4 vcpus=1 [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vkbd : {'devid': 0, 'uuid': '82b7a0a0-c238-98d8-36cd-96901eb712d1'} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vfb : {'vncunused': '1', 'vnclisten': '0.0.0.0', 'uuid': '26d3bc94-7b41-186d-da60-6b4734407ccd', 'devid': 0, 'other_config': {'vncunused': '1', 'vnclisten': '0.0.0.0', 'type': 'vnc'}, 'location': '0.0.0.0:5901', 'type': 'vnc'} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: console : {'location': '3', 'devid': 0, 'protocol': 'vt100', 'uuid': '0ea8b31a-4693-515a-a3d0-acb6fe4cef79', 'other_config': {}} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vbd : {'uuid': '78d21254-b846-a9d4-f2eb-84b6ccddaf9d', 'bootable': 1, 'devid': 768, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'file:/var/lib/xen/images/DebianEtch.img', 'mode': 'w'} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vbd : {'uuid': '08faae4e-1f81-e81a-ef71-8658ba92f163', 'bootable': 0, 'devid': 5632, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'mode': 'r'} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:54:ba:6f', 'devid': 0, 'uuid': '51cc67dd-753a-ef22-5e79-b0c021fa0b2e', 'script': 'vif-bridge'} [2008-01-27 08:48:54 2815] INFO (XendDomainInfo:1504) createDevice: vif : {'bridge': 'peth0 (Bridge eth0)', 'mac': '00:16:3e:34:89:a2', 'devid': 1, 'uuid': 'cc27aac1-7f80-990d-4325-1d151101790e'} [2008-01-27 08:48:54 2815] INFO (image:283) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '4', '-domain-name', 'DebianEtch', '-vnc', '0.0.0.0:0', '-vncunused', '-vcpus', '1', '-boot', 'c', '-acpi', '-usb', '-net', 'nic,vlan=1,macaddr=00:16:3e:54:ba:6f,model=rtl8139', '-net', 'tap,vlan=1,bridge=eth0', '-net', 'nic,vlan=2,macaddr=00:16:3e:34:89:a2,model=rtl8139', '-net', 'tap,vlan=2,bridge=peth0 (Bridge eth0)', '-M', 'xenfv'] [2008-01-27 08:48:54 2815] INFO (image:287) device model pid: 23649 [2008-01-27 08:48:56 2815] WARNING (XendDomain:1035) Failed to setup devices for <domain id=4 name=DebianEtch memory=268435456 state=paused>: Device 1 (vif) could not be connected. Could not find bridge device peth0 (Bridge eth0) [2008-01-27 08:48:57 2815] ERROR (SrvBase:88) Request start failed. Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomain.py", line 77, in op_start return self.xd.domain_start(self.dom.getName(), paused) File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 1033, in domain_start dominfo.waitForDevices() File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 581, in waitForDevices self.getDeviceController(devclass).waitForDevices() File "/usr/lib64/python2.5/site-packages/xen/xend/server/DevController.py", line 151, in waitForDevices return map(self.waitForDevice, self.deviceIDs()) File "/usr/lib64/python2.5/site-packages/xen/xend/server/DevController.py", line 176, in waitForDevice "%s" % (devid, self.deviceClass, err)) VmError: Device 1 (vif) could not be connected. Could not find bridge device peth0 (Bridge eth0) [root@potoroo ~]# -- Fedora-xen mailing list Fedora-xen@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-xen