WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] backend device not found

To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] backend device not found
From: Anand <xen.mails@xxxxxxxxx>
Date: Fri, 6 Jan 2006 14:14:33 +0530
Delivery-date: Fri, 06 Jan 2006 08:50:21 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=JCSCK8omZ9Z2DKG/KE6D/HVy2Z0ljXQ+RK9q7LlhBtzxANdex7NZeZUftu/PEnAcD4eQKQ6FwgG3FpzGfS7IpLLu+u7g2sXLVZqDeK3eo3iFy/dOUyTy4FObH+opv36EAUcP1W8EOItLUkdyiGC+oAo78A6gjmwxGfwbYOke0YA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I was running domains without any problems until now it started to give this error : backend device not found.

Here is the xend.log

[2006-01-06 14:11:40 xend.XendDomainInfo] DEBUG (XendDomainInfo:1271) XendDomainInfo.destroy : domid=6
[2006-01-06 14:11:40 xend.XendDomainInfo] DEBUG (XendDomainInfo:1279) XendDomainInfo.destroyDomain(6)
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'vm01'], ['memory', '32'], ['image', ['linux', ['kernel', '/boot/vmlinuz- 2.6-xen'], ['root', '/dev/sda1 ro'], ['args', 'selinux=0'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vbd', ['uname', 'file:/root/xen/centos.4-2.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/root/xen/centos.swap'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'AA:00:00:18:98:FB'], ['vifname', ' vii1.0'], ['bridge', 'xenbr0i']]]])
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'vm01'], ['memory', '32'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xen '], ['root', '/dev/sda1 ro'], ['args', 'selinux=0'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vbd', ['uname', 'file:/root/xen/centos.4-2.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/root/xen/centos.swap'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['mac', 'AA:00:00:18:98:FB'], ['vifname', ' vii1.0'], ['bridge', 'xenbr0i']]]]
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:374) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz- 2.6-xen'], ['root', '/dev/sda1 ro'], ['args', 'selinux=0'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']], 'on_poweroff': None, 'cpus': None, 'name': 'vm01', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 32, 'device': [('vbd', ['vbd', ['uname', 'file:/root/xen/centos.4- 2.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/root/xen/centos.swap'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'AA:00:00:18:98:FB'], ['vifname', 'vii1.0'], ['bridge', 'xenbr0i']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:1129) XendDomainInfo.construct: None 0
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:1161) XendDomainInfo.initDomain: 7 1.0
[2006-01-06 14:11:45 xend] DEBUG (balloon:84) Balloon: free 746; need 33; done.
[2006-01-06 14:11:45 xend] INFO (image:132) buildDomain os=linux dom=7 vcpus=1
[2006-01-06 14:11:45 xend] DEBUG (image:170) dom            = 7
[2006-01-06 14:11:45 xend] DEBUG (image:171) image          = /boot/vmlinuz- 2.6-xen
[2006-01-06 14:11:45 xend] DEBUG (image:172) store_evtchn   = 1
[2006-01-06 14:11:45 xend] DEBUG (image:173) console_evtchn = 2
[2006-01-06 14:11:45 xend] DEBUG (image:174) cmdline        =  root=/dev/sda1 ro selinux=0
[2006-01-06 14:11:45 xend] DEBUG (image:175) ramdisk        =
[2006-01-06 14:11:45 xend] DEBUG (image:176) vcpus          = 1
[2006-01-06 14:11:45 xend] DEBUG (blkif:24) exception looking up device number for sda1: [Errno 2] No such file or directory: '/dev/sda1'
[2006-01-06 14:11:45 xend] DEBUG (DevController:104) DevController: writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/2049'} to /local/domain/7/device/vbd/2049.
[2006-01-06 14:11:45 xend] DEBUG (DevController:106) DevController: writing {'domain': 'vm01', 'frontend': '/local/domain/7/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/root/xen/centos.4-2.img', 'mode': 'w', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/2049.
[2006-01-06 14:11:45 xend] DEBUG (blkif:24) exception looking up device number for sda2: [Errno 2] No such file or directory: '/dev/sda2'
[2006-01-06 14:11:45 xend] DEBUG (DevController:104) DevController: writing {'virtual-device': '2050', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/2050'} to /local/domain/7/device/vbd/2050.
[2006-01-06 14:11:45 xend] DEBUG (DevController:106) DevController: writing {'domain': 'vm01', 'frontend': '/local/domain/7/device/vbd/2050', 'dev': 'sda2', 'state': '1', 'params': '/root/xen/centos.swap', 'mode': 'w', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/2050.
[2006-01-06 14:11:45 xend] DEBUG (DevController:104) DevController: writing {'backend-id': '0', 'mac': 'AA:00:00:18:98:FB', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0.
[2006-01-06 14:11:45 xend] DEBUG (DevController:106) DevController: writing {'bridge': 'xenbr0i', 'domain': 'vm01', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/7/device/vif/0', 'mac': 'AA:00:00:18:98:FB', 'vifname': ' vii1.0', 'frontend-id': '7'} to /local/domain/0/backend/vif/7/0.
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:661) Storing VM details: {'ssidref': '0', 'uuid': '443a728d-2bd187e8-4b7b42bb-1c0af917', 'on_reboot': 'restart', 'start_time': ' 1136536905.74', 'on_poweroff': 'destroy', 'name': 'vm01', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '32', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6-xen) (root '/dev/sda1 ro') (args 'selinux=0') (vcpus 1) (vcpus 1) (boot c) (nics 1))", 'maxmem': '32'}
[2006-01-06 14:11:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:686) Storing domain details: {'console/ring-ref': '57717', 'console/port': '2', 'name': 'vm01', 'console/limit': '1048576', 'vm': '/vm/443a728d-2bd187e8-4b7b42bb-1c0af917', 'domid': '7', 'cpu/0/availability': 'online', 'memory/target': '32768', 'store/ring-ref': '57718', 'store/port': '1'}
[2006-01-06 14:11:45 xend] DEBUG (DevController:133) Waiting for devices vif.
[2006-01-06 14:11:45 xend] DEBUG (DevController:139) Waiting for 0.
[2006-01-06 14:11:45 xend] DEBUG (DevController:409) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2006-01-06 14:11:46 xend] DEBUG (DevController:409) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2006-01-06 14:11:46 xend] DEBUG (DevController:426) hotplugStatusCallback 3.
[2006-01-06 14:11:46 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
Traceback (most recent call last):
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/web/SrvBase.py", line 85, in perform
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/xend/server/SrvDomain.py ", line 72, in op_wait_for_devices
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py", line 1349, in waitForDevices
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py ", line 977, in waitForDevices_
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py", line 135, in waitForDevices
  File "/var/tmp/xen-3.0.0-7.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py ", line 151, in waitForDevice
VmError: Device 0 (vif) could not be connected. Backend device not found.


My vm01 config is as follows:

kernel = "/boot/vmlinuz-2.6-xen"
memory = 32
name = "vm01"
nics = 1
dhcp ="off"
vif = ['mac=AA:00:00:18:98:FB, bridge=xenbr0i, vifname=vii1.0']
extra="selinux=0"
disk = ['file:/root/xen/centos.4-2.img,sda1,w', 'file:/root/xen/centos.swap,sda2,w']
root = "/dev/sda1 ro"


--

regards,

Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>