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-bugs

[Xen-bugs] [Bug 392] vif-route doesn't

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=392





------- Additional Comments From hien1@xxxxxxxxxx  2005-11-09 15:54 -------
I did xend stop, then xend start, and recreate domU . The same error occurred.

/var/log/xend.log shows:

[2005-11-09 09:30:42 xend] INFO (SrvDaemon:268) Xend Daemon started
[2005-11-09 09:30:42 xend] INFO (SrvDaemon:272) Xend changeset: Tue Nov  8
09:48:42 2005 7700:98bcd8fbd5e36662c10becdcd0222a221.
[2005-11-09 09:30:42 xend.XendDomainInfo] DEBUG (XendDomainInfo:170)
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 540337970398L, 'ssidref': 0,
'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason':
0, 'dying': 0, 'dom': 0, 'mem_kb': 524288, 'maxmem_kb': -4, 'max_vcpu_id': 3,
'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 4, 'blocked': 0})
[2005-11-09 09:30:42 xend.XendDomainInfo] INFO (XendDomainInfo:182) Recreating
domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2005-11-09 09:30:42 xend] DEBUG (XendDomain:140) number of vcpus to use is 0
[2005-11-09 09:30:42 xend] INFO (SrvServer:112) unix 
path=/var/lib/xend/xend-socket
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:149)
XendDomainInfo.create(['vm', ['name', 'x335-hien1-vm4'], ['memory', '1024'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['ramdisk',
'/boot/initrd-2.6.12-xenU'], ['root', '/dev/sdb1 ro'], ['args', 'ro selinux=0
3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display',
'localhost:10.0']]], ['device', ['vbd', ['uname',
'file:/FC4-FILEVBD4/FC4-32-filevbd4'], ['dev', 'sdb1'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:sdc'], ['dev', 'sdc'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:sdd'], ['dev', 'sdd'], ['mode', 'w']]], 
['device',
['vif', ['mac', 'AA:00:00:17:12:6A'], ['ip', '10.8.1.2']]]])
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:252)
parseConfig: config is ['vm', ['name', 'x335-hien1-vm4'], ['memory', '1024'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['ramdisk',
'/boot/initrd-2.6.12-xenU'], ['root', '/dev/sdb1 ro'], ['args', 'ro selinux=0
3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display',
'localhost:10.0']]], ['device', ['vbd', ['uname',
'file:/FC4-FILEVBD4/FC4-32-filevbd4'], ['dev', 'sdb1'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:sdc'], ['dev', 'sdc'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:sdd'], ['dev', 'sdd'], ['mode', 'w']]],
['device', ['vif', ['mac', 'AA:00:00:17:12:6A'], ['ip', '10.8.1.2']]]]
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:310)
parseConfig: result is {'ssidref': None, 'name': 'x335-hien1-vm4', 'on_reboot':
None, 'maxmem': None, 'on_poweroff': None, 'mem_kb': None, 'maxmem_kb': None,
'on_crash': None, 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail':
None, 'memory': 1024, 'device': [('vbd', ['vbd', ['uname',
'file:/FC4-FILEVBD4/FC4-32-filevbd4'], ['dev', 'sdb1'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:sdc'], ['dev', 'sdc'], ['mode', 'w']]), ('vbd', ['vbd',
['uname', 'phy:sdd'], ['dev', 'sdd'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'AA:00:00:17:12:6A'], ['ip', '10.8.1.2']])], 'bootloader': None, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['ramdisk',
'/boot/initrd-2.6.12-xenU'], ['root', '/dev/sdb1 ro'], ['args', 'ro selinux=0
3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display',
'localhost:10.0']], 'cpu': None, 'uuid': None}
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1059)
XendDomainInfo.construct: None 0
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1092)
XendDomainInfo.initDomain: 5 1048576 1.0
[2005-11-09 09:30:57 xend] INFO (image:132) buildDomain os=linux dom=5 vcpus=1
[2005-11-09 09:30:57 xend] DEBUG (image:170) dom            = 5
[2005-11-09 09:30:57 xend] DEBUG (image:171) image          = 
/boot/vmlinuz-2.6-xenU
[2005-11-09 09:30:57 xend] DEBUG (image:172) store_evtchn   = 1
[2005-11-09 09:30:57 xend] DEBUG (image:173) console_evtchn = 2
[2005-11-09 09:30:57 xend] DEBUG (image:174) cmdline        =  root=/dev/sdb1 ro
ro selinux=0 3
[2005-11-09 09:30:57 xend] DEBUG (image:175) ramdisk        =
/boot/initrd-2.6.12-xenU
[2005-11-09 09:30:57 xend] DEBUG (image:176) vcpus          = 1
[2005-11-09 09:30:57 xend] DEBUG (DevController:275) DevController: writing
{'virtual-device': '2065', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/5/2065'} to /local/domain/5/device/vbd/2065.
[2005-11-09 09:30:57 xend] DEBUG (DevController:277) DevController: writing
{'domain': 'x335-hien1-vm4', 'params': '/FC4-FILEVBD4/FC4-32-filevbd4',
'frontend-id': '5', 'type': 'file', 'dev': 'sdb1', 'frontend':
'/local/domain/5/device/vbd/2065'} to /local/domain/0/backend/vbd/5/2065.
[2005-11-09 09:30:57 xend] DEBUG (DevController:275) DevController: writing
{'virtual-device': '2080', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/5/2080'} to /local/domain/5/device/vbd/2080.
[2005-11-09 09:30:57 xend] DEBUG (DevController:277) DevController: writing
{'domain': 'x335-hien1-vm4', 'params': 'sdc', 'frontend-id': '5', 'type': 'phy',
'dev': 'sdc', 'frontend': '/local/domain/5/device/vbd/2080'} to
/local/domain/0/backend/vbd/5/2080.
[2005-11-09 09:30:57 xend] DEBUG (DevController:275) DevController: writing
{'virtual-device': '2096', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vbd/5/2096'} to /local/domain/5/device/vbd/2096.
[2005-11-09 09:30:57 xend] DEBUG (DevController:277) DevController: writing
{'domain': 'x335-hien1-vm4', 'params': 'sdd', 'frontend-id': '5', 'type': 'phy',
'dev': 'sdd', 'frontend': '/local/domain/5/device/vbd/2096'} to
/local/domain/0/backend/vbd/5/2096.
[2005-11-09 09:30:57 xend] DEBUG (DevController:277) DevController: writing
{'domain': 'x335-hien1-vm4', 'params': 'sdd', 'frontend-id': '5', 'type': 'phy',
'dev': 'sdd', 'frontend': '/local/domain/5/device/vbd/2096'} to
/local/domain/0/backend/vbd/5/2096.
[2005-11-09 09:30:57 xend] DEBUG (DevController:275) DevController: writing
{'backend-id': '0', 'mac': 'AA:00:00:17:12:6A', 'handle': '0', 'backend':
'/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0.
[2005-11-09 09:30:57 xend] DEBUG (DevController:277) DevController: writing
{'frontend-id': '5', 'mac': 'AA:00:00:17:12:6A', 'handle': '0', 'script':
'/etc/xen/scripts/vif-route', 'ip': '10.8.1.2', 'domain': 'x335-hien1-vm4',
'frontend': '/local/domain/5/device/vif/0'} to /local/domain/0/backend/vif/5/0.
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:593) Storing VM
details: {'ssidref': '0', 'uuid': '653308f2-c5af-698c-95a6-1c5e1410378e',
'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6-xenU)
(ramdisk /boot/initrd-2.6.12-xenU) (root '/dev/sdb1 ro') (args 'ro selinux=0 3')
(vcpus 1) (vcpus 1) (boot c) (display localhost:10.0))", 'on_poweroff':
'destroy', 'vcpus':
'1', 'on_crash': 'restart', 'memory/target': '1048576', 'vcpu_avail': '1',
'name': 'x335-hien1-vm4'}
[2005-11-09 09:30:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:618) Storing
domain details: {'console/ring-ref': '386208', 'console/port': '2', 'name':
'x335-hien1-vm4', 'console/limit': '1048576', 'vm':
'/vm/653308f2-c5af-698c-95a6-1c5e1410378e', 'domid': '5', 'cpu/0/availability':
'online', 'memory/target': '1048576', 'store/ring-ref': '386209', 'store/port': 
'1'}
[2005-11-09 09:30:57 xend] DEBUG (DevController:69) Waiting for devices vif.
[2005-11-09 09:30:57 xend] DEBUG (DevController:75) Waiting for 0.
[2005-11-09 09:32:57 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
Traceback (most recent call last):
  File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 68, in
op_wait_for_devices
    return self.dom.waitForDevices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1249, in 
waitForDevices
    self.waitForDevices_(c)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 901, in 
waitForDevices_
    return self.getDeviceController(deviceClass).waitForDevices()
  File "/usr/lib/python/xen/xend/server/DevController.py", line 71, in
waitForDevices
    return map(self.waitForDevice, self.deviceIDs())
  File "/usr/lib/python/xen/xend/server/DevController.py", line 80, in 
waitForDevice
    raise VmError( ("Device %s (%s) could not be connected. "
VmError: Device 0 (vif) could not be connected. Hotplug scripts not working


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>