[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
hi, I install xen 3.0 on our production sites servers and when i try to create a domainU I get the following error message: Error: Device 0 (vif) could not be connected. Hotplug scripts not working. I search in the Internet but I don't found anything which solve my issue. First of all, I have used the default scripts network-bridge and vif-bridge but the bridge did not mount during reboot so I've tried to use the network script for xen 2.0.7 and this solve my first issue. So now, my problem is to mount the vif interface during domainU creation and I have no idea why this error message happened. It seems to be generic and I don't understand why my device is "busy" as we can see in the following logs... Our servers are on linux LFS OS, I suspect the network-bridge script not being compliant with our network scripts (we have not ifup command). I can easily solve this problem but I don't think the vif interfaces will mount after that. Here is the output of the script xend-debug.log: [2005-12-28 11:48:42 xend] DEBUG (DevController:106) DevController: writing {'mac': '00:16:3e:61:c6: fb', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '11', 'dom ain': 'lfslc4', 'frontend': '/local/domain/11/device/vif/0'} to /local/domain/0/backend/vif/11/0. [2005-12-28 11:48:42 xend.XendDomainInfo] DEBUG (XendDomainInfo:661) Storing VM details: {'ssidref': '0', 'uuid': '67cbc718-d29ec107-0ac5de2d-7719ca3d', 'on_reboot': 'restart', 'start_time': '11357669 22.14', 'on_poweroff': 'destroy', 'name': 'lfslc4', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '256' , 'on_crash': 'restart', 'image': '(linux (kernel /boot/vmlinuz-2.6.12-xenU) (root /dev/sda1) (args ro) (vcpus 2) (vcpus 2) (boot c) (nics 1))', 'maxmem': '256'} [2005-12-28 11:48:42 xend.XendDomainInfo] DEBUG (XendDomainInfo:686) Storing domain details: {'conso le/ring-ref': '107945', 'console/port': '2', 'name': 'lfslc4', 'console/limit': '1048576', 'vm': '/v m/67cbc718-d29ec107-0ac5de2d-7719ca3d', 'domid': '11', 'cpu/0/availability': 'online', 'memory/targe t': '262144', 'store/ring-ref': '107946', 'cpu/1/availability': 'online', 'store/port': '1'} [2005-12-28 11:48:42 xend] DEBUG (DevController:133) Waiting for devices vif. [2005-12-28 11:48:42 xend] DEBUG (DevController:139) Waiting for 0. [2005-12-28 11:48:42 xend] DEBUG (DevController:409) hotplugStatusCallback /local/domain/0/backend/v if/11/0/hotplug-status. [2005-12-28 11:48:52 xend] ERROR (SrvBase:87) Request wait_for_devices failed. Traceback (most recent call last): File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/web/SrvBase.py", line 85, in perform File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/xend/server/SrvDomain.py", line 72, in o p_wait_for_devices File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/xend/XendDomainInfo.py", line 1349, in w aitForDevices File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/xend/XendDomainInfo.py", line 977, in wa itForDevices_ File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/xend/server/DevController.py", line 135, in waitForDevices File "/distrib/build_install/xen-3.0.0/usr/lib/python/xen/xend/server/DevController.py", line 145, in waitForDevice VmError: Device 0 (vif) could not be connected. Hotplug scripts not working. ^F [root@lfs01 /etc/xen/scripts]# [root@lfs01 /etc/xen/scripts]# tail -f /var/log/xend-debug.log Boot stack: c0378000->c0379000 TOTAL: c0000000->c0400000 ENTRY ADDRESS: c0100000 ioctl: LOOP_SET_FD: Device or resource busy vif-bridge up vif=vif9.0 domain=lfsdev mac=aa:00:00:50:30:55 bridge=xen-br0 recv_fe_driver_status> {'status': 1} recv_fe_driver_status> recv_fe_interface_connect {'tx_shmem_frame': 399638, 'rx_shmem_frame': 399637, 'handle': 0} Any ideas to solve my issue? Thanks for advance, David, _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |