[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] After migration from 2.0 to 3.0: Unable to reboot VMs
Hi, I am migrating from a xen 2.0 setup to a new one based on xen 3.0. In both cases basically the same setup of debian sarge is used as dom0. Images created for the xen 2.0-machine are working fine except one thing: the VMs do not come back after a reboot from within the VM or by 'xm reboot <name>'. A configuration looks like this: kernel = "/boot/vmlinuz-2.6.12-xenU" memory = 400 name = "xen000" nics = 1 vif = [ 'mac=aa:00:00:00:00:11, bridge=xenbr0' ] root = "/dev/hda1 ro" disk = [ 'file:/xen/xen000.img,hda1,w', 'file:/xen/xen000-swap.img,hda2,w' ] The logs shows: [2006-01-26 10:45:16 xend.XendDomainInfo] INFO (XendDomainInfo:816) Domain has shutdown: name=xen000 id=10 reason=reboot. [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1279) XendDomainInfo.destroyDomain(10) [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['domain', ['domid', 10], ['uuid', '893efd39-b1489b39-1cf73c3e-d240e2e5'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 400], ['maxmem', 400], ['name', 'xen000'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', 'aa:00:00:00:00:11']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'file:/xen/xen000.img'], ['mode', 'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname', 'file:/xen/xen000-swap.img'], ['mode', 'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time', 14.094120401], ['vcpus', 1], ['online_vcpus', 1], ['up_time', '84.9042799473'], ['start_time', '1138268631.31'], ['store_mfn', 124460], ['console_mfn', 124459]]) [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', 10], ['uuid', '893efd39-b1489b39-1cf73c3e-d240e2e5'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 400], ['maxmem', 400], ['name', 'xen000'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', 'aa:00:00:00:00:11']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'file:/xen/xen000.img'], ['mode', 'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname', 'file:/xen/xen000-swap.img'], ['mode', 'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time', 14.094120401], ['vcpus', 1], ['online_vcpus', 1], ['up_time', '84.9042799473'], ['start_time', '1138268631.31'], ['store_mfn', 124460], ['console_mfn', 124459]] [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:374) parseConfig: result is {'ssidref': 0, 'uuid': '893efd39-b1489b39-1cf73c3e-d240e2e5', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['nics', '1']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'xen000', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 400, 'device': [('vif', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', 'aa:00:00:00:00:11']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'file:/xen/xen000.img'], ['mode', 'w']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname', 'file:/xen/xen000-swap.img'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 400} [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1129) XendDomainInfo.construct: None 0 [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:1161) XendDomainInfo.initDomain: 11 1.0 [2006-01-26 10:45:16 xend] DEBUG (balloon:88) Balloon: free 355; need 401. [2006-01-26 10:45:16 xend] DEBUG (balloon:84) Balloon: free 468; need 401; done. [2006-01-26 10:45:16 xend] INFO (image:132) buildDomain os=linux dom=11 vcpus=1 [2006-01-26 10:45:16 xend] DEBUG (image:170) dom = 11 [2006-01-26 10:45:16 xend] DEBUG (image:171) image = /boot/vmlinuz-2.6.12-xenU [2006-01-26 10:45:16 xend] DEBUG (image:172) store_evtchn = 1 [2006-01-26 10:45:16 xend] DEBUG (image:173) console_evtchn = 2 [2006-01-26 10:45:16 xend] DEBUG (image:174) cmdline = root=/dev/hda1 ro [2006-01-26 10:45:16 xend] DEBUG (image:175) ramdisk = [2006-01-26 10:45:16 xend] DEBUG (image:176) vcpus = 1 [2006-01-26 10:45:16 xend] DEBUG (DevController:104) DevController: writing {'backend-id': '0', 'mac': 'aa:00:00:00:00:11', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/11/0'} to /local/domain/11/device/vif/0. [2006-01-26 10:45:16 xend] DEBUG (DevController:106) DevController: writing {'bridge': 'xenbr0', 'domain': 'xen000', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/11/device/vif/0', 'mac': 'aa:00:00:00:00:11', 'frontend-id': '11'} to /local/domain/0/backend/vif/11/0. [2006-01-26 10:45:16 xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1' [2006-01-26 10:45:16 xend] DEBUG (DevController:104) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/11/769'} to /local/domain/11/device/vbd/769. [2006-01-26 10:45:16 xend] DEBUG (DevController:106) DevController: writing {'domain': 'xen000', 'frontend': '/local/domain/11/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': '/xen/xen000.img', 'mode': 'w', 'frontend-id': '11', 'type': 'file'} to /local/domain/0/backend/vbd/11/769. [2006-01-26 10:45:16 xend] DEBUG (blkif:24) exception looking up device number for hda2: [Errno 2] No such file or directory: '/dev/hda2' [2006-01-26 10:45:16 xend] DEBUG (DevController:104) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/11/770'} to /local/domain/11/device/vbd/770. [2006-01-26 10:45:16 xend] DEBUG (DevController:106) DevController: writing {'domain': 'xen000', 'frontend': '/local/domain/11/device/vbd/770', 'dev': 'hda2', 'state': '1', 'params': '/xen/xen000-swap.img', 'mode': 'w', 'frontend-id': '11', 'type': 'file'} to /local/domain/0/backend/vbd/11/770. [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:661) Storing VM details: {'ssidref': '0', 'uuid': '893efd39-b1489b39-1cf73c3e-d240e2e5', 'on_reboot': 'restart', 'start_time': '1138268716.75', 'on_poweroff': 'destroy', 'name': 'xen000', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '400', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (root '/dev/hda1 ro') (vcpus 1) (vcpus 1) (boot c) (nics 1))", 'maxmem': '400'} [2006-01-26 10:45:16 xend.XendDomainInfo] DEBUG (XendDomainInfo:686) Storing domain details: {'console/ring-ref': '302216', 'console/port': '2', 'name': 'xen000', 'console/limit': '1048576', 'vm': '/vm/893efd39-b1489b39-1cf73c3e-d240e2e5', 'domid': '11', 'cpu/0/availability': 'online', 'memory/target': '409600', 'store/ring-ref': '302217', 'store/port': '1'} [2006-01-26 10:45:17 xend.XendDomainInfo] WARNING (XendDomainInfo:799) Domain has crashed: name=xen000 id=11. [2006-01-26 10:45:17 xend.XendDomainInfo] ERROR (XendDomainInfo:1411) VM xen000 restarting too fast (1.172245 seconds since the last restart). Refusing to restart to avoid loops. [2006-01-26 10:45:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1271) XendDomainInfo.destroy: domid=11 [2006-01-26 10:45:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1279) XendDomainInfo.destroyDomain(11) -- Dipl.-Inf. Hendrik Seffler Quality Assurance ASDIS Software AG Neue Gruenstr. 25 10179 Berlin Germany Office: +49 30 20631-601 Fax: +49 30 20631-44601 Email: mailto:hseffler@xxxxxxxx Web: http://www.asdis.de ASDIS. In control of your software. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |