[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 481] New: domU restore does not work
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=481 Summary: domU restore does not work Product: Xen Version: unstable Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Tools AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx ReportedBy: ping.y.yu@xxxxxxxxx Environment: ------------ Service OS (ia32/ia32e/IA64): ia32 Guest OS (ia32/ia32e/IA64): ia32 Change Set: 8613 Bug detailed description: -------------------------- In changeset 8613, "xm restore" could not work. When run command "xm restore", An error message will be show: Error: /usr/lib/xen/bin/xc_restore 10 16 5 18432 1 2 failed Reproduce steps: ---------------- (1)xm create <domU> (2)xm save aaa (3)xm restore aaa Current result: ---------------- an error message has reportd Expected result: ---------------- No error Basic root-causing log: ---------------------- [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:252) XendDomainInfo.restore(['domain', ['domid', '4'], ['uuid', 'd5fdf023-a70d-74b6-3f47-efeefd6da1ef'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '64'], ['maxmem', '64'], ['name', 'ExampleDomain09'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:3e:10:93:a2']]], ['device', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'file:/var/vmmtest/rhel4u1_xenU-32.img'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '4.943557536'], ['online_vcpus', '1'], ['up_time', '259.28576684'], ['start_time', '1137511507.66'], ['store_mfn', '33812'], ['console_mfn', '33811']]) [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', '4'], ['uuid', 'd5fdf023-a70d-74b6-3f47-efeefd6da1ef'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '64'], ['maxmem', '64'], ['name', 'ExampleDomain09'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:3e:10:93:a2']]], ['device', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'file:/var/vmmtest/rhel4u1_xenU-32.img'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '4.943557536'], ['online_vcpus', '1'], ['up_time', '259.28576684'], ['start_time', '1137511507.66'], ['store_mfn', '33812'], ['console_mfn', '33811']] [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': 0, 'uuid': 'd5fdf023-a70d-74b6-3f47- efeefd6da1ef', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['root', '/dev/hda1 ro'], ['args', '4']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'ExampleDomain09', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 64, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:3e:10:93:a2']]), ('vbd', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'file:/var/vmmtest/rhel4u1_xenU-32.img'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 64} [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130) XendDomainInfo.construct: None 0 [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:663) Storing VM details: {'ssidref': '0', 'uuid': 'd5fdf023-a70d-74b6-3f47- efeefd6da1ef', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12-xenU) (root '/dev/hda1 ro') (args 4))", 'on_poweroff': 'destroy', 'name': 'ExampleDomain09', 'vcpus': '1', 'vcpu_ avail': '1', 'memory': '64', 'on_crash': 'restart', 'maxmem': '64'} [2006-01-17 10:29:31 xend] DEBUG (DevController:103) DevController: writing {'backend- id': '0', 'mac': '00:16:3e:10:93:a2', 'handle': '0', 'state': '1', 'backend': ' /local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0. [2006-01-17 10:29:31 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:10:93:a2', 'state': '1', 'handle': '0', 'script': '/etc/xen/s cripts/vif-bridge', 'frontend- id': '5', 'domain': 'ExampleDomain09', 'frontend': '/local/domain/5/device/vif/ 0'} to /local/domain/0/backend/vif/5/0. [2006-01-17 10:29:31 xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1' [2006-01-17 10:29:31 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:10:93:a2', 'state': '1', 'handle': '0', 'script': '/etc/xen/s cripts/vif-bridge', 'frontend- id': '5', 'domain': 'ExampleDomain09', 'frontend': '/local/domain/5/device/vif/ 0'} to /local/domain/0/backend/vif/5/0. [2006-01-17 10:29:31 xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1' [2006-01-17 10:29:31 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '769', 'backend- id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/769'} to /local/domain/5/device/vbd/769. [2006-01-17 10:29:31 xend] DEBUG (DevController:105) DevController: writing {'domain': 'ExampleDomain09', 'frontend': '/local/domain/5/device/vbd/769', 'de v': 'hda1', 'state': '1', 'params': '/va r/vmmtest/rhel4u1_xenU-32.img', 'mode': 'w', 'frontend- id': '5', 'type': 'file'} to /local/domain/0/backend/vbd/5/769. [2006-01-17 10:29:31 xend.XendDomainInfo] DEBUG (XendDomainInfo:688) Storing domain details: {'console/port': '2', 'name': 'ExampleDomain09', 'console/limit': '1048576', 'v m': '/vm/d5fdf023-a70d-74b6-3f47- efeefd6da1ef', 'domid': '5', 'cpu/0/availability': 'online', 'memory/target': ' 65536', 'store/port': '1'} [2006-01-17 10:29:31 xend] DEBUG (balloon:84) Balloon: free 1755; need 73; done. [2006-01-17 10:29:31 xend] DEBUG (XendCheckpoint:148) [xc_restore]: /usr/lib/xen/bin/xc_restore 10 16 5 18432 1 2 [2006-01-17 10:29:32 xend] ERROR (XendCheckpoint:227) xc_linux_restore start: max_pfn = 4800 [2006-01-17 10:29:32 xend] ERROR (XendCheckpoint:227) Could not get vcpu context: 61 [2006-01-17 10:29:32 xend] ERROR (XendCheckpoint:227) Restore exit with rc=1 [2006-01-17 10:29:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1272) XendDomainInfo.destroy: domid=5 [2006-01-17 10:29:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1280) XendDomainInfo.destroyDomain(5) [2006-01-17 10:29:32 xend.XendDomainInfo] ERROR (XendDomainInfo:1286) XendDomainInfo.destroy: xc.domain_destroy failed. Traceback (most recent call last): File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1284, in destroyDomain xc.domain_destroy(self.domid) error: (3, 'No such process') [2006-01-17 10:29:32 xend] ERROR (XendDomain:266) Restore failed Traceback (most recent call last): File "/usr/lib/python/xen/xend/XendDomain.py", line 261, in domain_restore_fd return XendCheckpoint.restore(self, fd) File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 152, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 218, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib/xen/bin/xc_restore 10 16 5 18432 1 2 failed -- 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |