[root@storm ~]# xm create -c /etc/xen/xena Using config file "/etc/xen/xena". Going to boot Fedora (2.6.20-2925.9.fc7xen) kernel: /vmlinuz-2.6.20-2925.9.fc7xen initrd: /initrd-2.6.20-2925.9.fc7xen.img Error: destroyDevice() takes exactly 3 arguments (2 given) [root@storm ~]# [root@storm ~]# cat /var/log/xen/xend.log [2007-11-04 18:00:17 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'xena'], ['memory', '500'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', 'f4d86ea8-5fe8-5e32-82a6-ce71b799e720'], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/initrd.WVUSGl'], ['kernel', '/var/lib/xen/vmlinuz.mL47LK'], ['args', 'ro root=/dev/vg00/lvsystem rhgb quiet']]], ['device', ['vbd', ['uname', 'phy:/dev/vg00/lvxen'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:30:af:40']]], ['device', ['vkbd']], ['device', ['vfb', ['vncunused', '1'], ['type', 'vnc'], ['display', 'localhost:10.0'], ['xauthority', '/root/.xauth6jaj1w']]]]) [2007-11-04 18:00:17 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'xena'], ['memory', '500'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', 'f4d86ea8-5fe8-5e32-82a6-ce71b799e720'], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/initrd.WVUSGl'], ['kernel', '/var/lib/xen/vmlinuz.mL47LK'], ['args', 'ro root=/dev/vg00/lvsystem rhgb quiet']]], ['device', ['vbd', ['uname', 'phy:/dev/vg00/lvxen'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:30:af:40']]], ['device', ['vkbd']], ['device', ['vfb', ['vncunused', '1'], ['type', 'vnc'], ['display', 'localhost:10.0'], ['xauthority', '/root/.xauth6jaj1w']]]] [2007-11-04 18:00:17 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': 'f4d86ea8-5fe8-5e32-82a6-ce71b799e720', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['ramdisk', '/var/lib/xen/initrd.WVUSGl'], ['kernel', '/var/lib/xen/vmlinuz.mL47LK'], ['args', 'ro root=/dev/vg00/lvsystem rhgb quiet']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'xena', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 500, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/vg00/lvxen'], ['dev', 'xvda'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:30:af:40']]), ('vkbd', ['vkbd']), ('vfb', ['vfb', ['vncunused', '1'], ['type', 'vnc'], ['display', 'localhost:10.0'], ['xauthority', '/root/.xauth6jaj1w']])], 'bootloader': '/usr/bin/pygrub', 'cpu': None, 'maxmem': None} [2007-11-04 18:00:17 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-11-04 18:00:17 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 3 1.0 [2007-11-04 18:00:17 xend 2961] DEBUG (balloon:127) Balloon: 513004 KiB free; need 512000; done. [2007-11-04 18:00:17 xend 2961] INFO (image:136) buildDomain os=linux dom=3 vcpus=1 [2007-11-04 18:00:17 xend 2961] DEBUG (image:199) dom = 3 [2007-11-04 18:00:17 xend 2961] DEBUG (image:200) image = /var/lib/xen/vmlinuz.mL47LK [2007-11-04 18:00:17 xend 2961] DEBUG (image:201) store_evtchn = 1 [2007-11-04 18:00:17 xend 2961] DEBUG (image:202) console_evtchn = 2 [2007-11-04 18:00:17 xend 2961] DEBUG (image:203) cmdline = ro root=/dev/vg00/lvsystem rhgb quiet [2007-11-04 18:00:17 xend 2961] DEBUG (image:204) ramdisk = /var/lib/xen/initrd.WVUSGl [2007-11-04 18:00:17 xend 2961] DEBUG (image:205) vcpus = 1 [2007-11-04 18:00:17 xend 2961] DEBUG (image:206) features = [2007-11-04 18:00:17 xend 2961] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda' [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/3/51712'} to /local/domain/3/device/vbd/51712. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:112) DevController: writing {'domain': 'xena', 'frontend': '/local/domain/3/device/vbd/51712', 'dev': 'xvda', 'state': '1', 'params': '/dev/vg00/lvxen', 'mode': 'w', 'online': '1', 'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/51712. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:30:af:40', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'xena', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/3/device/vif/0', 'mac': '00:16:3e:30:af:40', 'online': '1', 'frontend-id': '3'} to /local/domain/0/backend/vif/3/0. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vkbd/3/0'} to /local/domain/3/device/vkbd/0. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:112) DevController: writing {'frontend-id': '3', 'domain': 'xena', 'frontend': '/local/domain/3/device/vkbd/0', 'state': '1', 'online': '1'} to /local/domain/0/backend/vkbd/3/0. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/3/0'} to /local/domain/3/device/vfb/0. [2007-11-04 18:00:17 xend 2961] DEBUG (DevController:112) DevController: writing {'vncunused': '1', 'domain': 'xena', 'frontend': '/local/domain/3/device/vfb/0', 'xauthority': '/root/.xauth6jaj1w', 'state': '1', 'online': '1', 'frontend-id': '3', 'type': 'vnc', 'display': 'localhost:10.0'} to /local/domain/0/backend/vfb/3/0. [2007-11-04 18:00:18 xend 2961] DEBUG (vfbif:92) No VNC passwd configured for vfb access [2007-11-04 18:00:18 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:715) Storing VM details: {'shadow_memory': '0', 'uuid': 'f4d86ea8-5fe8-5e32-82a6-ce71b799e720', 'on_reboot': 'restart', 'start_time': '1194195618.11', 'on_poweroff': 'destroy', 'name': 'xena', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '500', 'on_crash': 'restart', 'image': "(linux (ramdisk /var/lib/xen/initrd.WVUSGl) (kernel /var/lib/xen/vmlinuz.mL47LK) (args 'ro root=/dev/vg00/lvsystem rhgb quiet'))", 'maxmem': '500'} [2007-11-04 18:00:18 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:750) Storing domain details: {'console/ring-ref': '193649', 'console/port': '2', 'name': 'xena', 'console/limit': '1048576', 'vm': '/vm/f4d86ea8-5fe8-5e32-82a6-ce71b799e720', 'domid': '3', 'cpu/0/availability': 'online', 'memory/target': '512000', 'store/ring-ref': '193650', 'store/port': '1'} [2007-11-04 18:00:18 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-11-04 18:00:18 xend 2961] DEBUG (DevController:143) Waiting for devices vif. [2007-11-04 18:00:18 xend 2961] DEBUG (DevController:149) Waiting for 0. [2007-11-04 18:00:18 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2007-11-04 18:01:58 xend 2961] ERROR (xmlrpclib2:184) destroyDevice() takes exactly 3 arguments (2 given) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "", line 1, in File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 38, in dispatch return getattr(info, fn)(*args) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1610, in waitForDevices self.waitForDevices_(c) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1101, in waitForDevices_ return self.getDeviceController(deviceClass).waitForDevices() File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices return map(self.waitForDevice, self.deviceIDs()) File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 154, in waitForDevice self.destroyDevice(devid) TypeError: destroyDevice() takes exactly 3 arguments (2 given) [2007-11-04 18:01:58 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:1463) XendDomainInfo.destroy: domid=3 [2007-11-04 18:01:58 xend.XendDomainInfo 2961] DEBUG (XendDomainInfo:1471) XendDomainInfo.destroyDomain(3) [2007-11-04 18:01:59 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2007-11-04 18:01:59 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2007-11-04 18:01:59 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2007-11-04 18:01:59 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2007-11-04 18:01:59 xend 2961] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [root@storm ~]#