[Bug 345575] New: Xen xm save does not work
https://bugzilla.novell.com/show_bug.cgi?id=345575#c1 Summary: Xen xm save does not work Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: SLES 10 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: stephan.duehr@dass-it.de QAContact: qa@suse.de Found By: Third Party Developer/Partner We found this problem on SLES 10 SP1 when we wanted to do live migration. The Xen host runs on a Dell 1950 in 64-Bit mode: xen01:~ # uname -a Linux xen01 2.6.16.53-0.16-xen #1 SMP Tue Oct 2 16:57:49 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux The latest versions of the Xen packages are installed: xen01:~ # rpm -qa|fgrep xen xen-doc-html-3.0.4_13138-0.57 xen-libs-3.0.4_13138-0.57 xen-doc-pdf-3.0.4_13138-0.57 kernel-xen-2.6.16.53-0.16 xen-3.0.4_13138-0.57 xen-tools-3.0.4_13138-0.57 xen-tools-ioemu-3.0.4_13138-0.57 The domU runs SLES 10 SP1 32-Bit paravirtualized. When trying live migration, the following error occurs: xm migrate 9 10.74.0.12 -l Error: /usr/lib64/xen/bin/xc_save 22 9 0 0 1 failed Calling xm save only yields almost the same error: xen01:/etc/xen/vm # xm save 9 sl10cl.chk Error: /usr/lib64/xen/bin/xc_save 22 9 0 0 0 failed for xm migrate /var/log/xen/xend.log says: [2007-11-22 09:20:34 xend 4920] DEBUG (balloon:146) Balloon: 1049524 KiB free; need 3072; done. [2007-11-22 09:20:34 xend 4920] DEBUG (XendCheckpoint:80) [xc_save]: /usr/lib64/xen/bin/xc_save 22 9 0 0 1 [2007-11-22 09:20:34 xend 4920] INFO (XendCheckpoint:247) ERROR Internal error: Domain is not in a valid Linux guest OS state [2007-11-22 09:20:34 xend 4920] INFO (XendCheckpoint:247) Save exit rc=1 [2007-11-22 09:20:34 xend.XendDomainInfo 4920] DEBUG (XendDomainInfo:768) Storing domain details: {'console/ring-ref': '417744', 'console/port': '2', 'name': 'migrating-sl10cl', 'console/limit': '1048576', 'vm': '/vm/e7bddc31-59b9-2dbb-c0ec-9f969ed72691', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '417745', 'store/port': '1'} [2007-11-22 09:20:34 xend 4920] ERROR (XendCheckpoint:111) Save failed on domain sl10cl (9). Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 97, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 235, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 22 9 0 0 1 failed [2007-11-22 09:20:34 xend.XendDomainInfo 4920] DEBUG (XendDomainInfo:768) Storing domain details: {'console/ring-ref': '417744', 'console/port': '2', 'name': 'sl10cl', 'console/limit': '1048576', 'vm': '/vm/e7bddc31-59b9-2dbb-c0ec-9f969ed72691', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '417745', 'store/port': '1'} And for xm save /var/log/xen/xend.log says: [2007-11-22 09:20:34 xend.XendDomainInfo 4920] DEBUG (XendDomainInfo:768) Storing domain details: {'console/ring-ref': '417744', 'console/port': '2', 'name': 'sl10cl', 'console/limit': '1048576', 'vm': '/vm/e7bddc31-59b9-2dbb-c0ec-9f969ed72691', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '417745', 'store/port': '1'} [2007-11-22 09:21:23 xend 4920] DEBUG (XendCheckpoint:80) [xc_save]: /usr/lib64/xen/bin/xc_save 22 9 0 0 0 [2007-11-22 09:21:23 xend.XendDomainInfo 4920] DEBUG (XendDomainInfo:768) Storing domain details: {'console/ring-ref': '417744', 'console/port': '2', 'name': 'migrating-sl10cl', 'console/limit': '1048576', 'vm': '/vm/e7bddc31-59b9-2dbb-c0ec-9f969ed72691', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '417745', 'store/port': '1'} [2007-11-22 09:21:23 xend 4920] INFO (XendCheckpoint:247) ERROR Internal error: Domain is not in a valid Linux guest OS state [2007-11-22 09:21:23 xend 4920] INFO (XendCheckpoint:247) Save exit rc=1 [2007-11-22 09:21:23 xend 4920] ERROR (XendCheckpoint:111) Save failed on domain sl10cl (9). Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 97, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 235, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 22 9 0 0 0 failed [2007-11-22 09:21:23 xend.XendDomainInfo 4920] DEBUG (XendDomainInfo:768) Storing domain details: {'console/ring-ref': '417744', 'console/port': '2', 'name': 'sl10cl', 'console/limit': '1048576', 'vm': '/vm/e7bddc31-59b9-2dbb-c0ec-9f969ed72691', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '417745', 'store/port': '1'} The same error message "ERROR Internal error: Domain is not in a valid Linux guest OS state" always appears, no matter if xm migrate or xm save. Any idea what's the problem? Here the details of the VM: xen01:/etc/xen/vm # xm list -l sl10cl (domain (domid 9) (on_crash destroy) (memory 512) (uuid e7bddc31-59b9-2dbb-c0ec-9f969ed72691) (bootloader_args '--entry=xvda1:/boot/vmlinuz-xenpae,/boot/initrd-xenpae') (name sl10cl) (maxmem 512) (on_reboot restart) (on_poweroff destroy) (vcpus 1) (bootloader /usr/lib/xen/boot/domUloader.py) (shadow_memory 0) (cpu_weight 256) (cpu_cap 0) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1195719335.06) (cpu_time 15.890284846) (online_vcpus 1) (image (linux (kernel /var/lib/xen/tmp/kernel.FlKaLU) (ramdisk /var/lib/xen/tmp/ramdisk.Q7fGIf) (args ' ') ) ) (status 2) (memory_dynamic_min 512) (memory_dynamic_max 512) (state -b----) (store_mfn 417745) (console_mfn 417744) (device (vif (mac 00:16:3e:0b:3a:7f) (script vif-bridge) (uuid 2b6c32d0-fe6d-b3a4-5795-0c638d949df3) (backend 0) ) ) (device (vbd (uuid a4ee8ada-1b16-1413-cf88-64abd55652e7) (dev xvda:disk) (uname phy:/dev/disk/by-id/scsi-36090a018401ad6ea4874d4840daab3f0) (mode w) (type disk) (backend 0) ) ) (device (vkbd (backend 0))) (device (vfb (vncunused 1) (location localhost:5901) (type vnc) (xauthority /root/.Xauthority) (uuid a39439ce-86f3-3e87-3919-8a59efa8f60e) ) ) (device (console (protocol vt100) (location 2) (uuid efcf22b3-3f7d-1170-8506-78640d87b898) ) ) ) This is how our xend-config.sxp looks like: xen01:/etc/xen # grep -v ^# xend-config.sxp |grep -v ^$ (xen-api-server ((unix none))) (xend-http-server yes) (xend-unix-server yes) (xend-relocation-server yes) (xend-port 8000) (xend-relocation-port 8002) (xend-relocation-address '') (xend-relocation-hosts-allow '') (network-script 'network-bridge netdev=eth6') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) (vncpasswd '') -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=345575 User stephan.duehr@dass-it.de added comment https://bugzilla.novell.com/show_bug.cgi?id=345575#c1 --- Comment #1 from Stephan Dühr <stephan.duehr@dass-it.de> 2007-12-04 02:20:55 MST --- I recently tried it with a 64-Bit SLES 10 SP1 VM, xm save works with that. Anyway I think it should work with a 32-Bit VM as well, or am I wrong? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=345575 User stephan.duehr@dass-it.de added comment https://bugzilla.novell.com/show_bug.cgi?id=345575#c2 Stephan Dühr <stephan.duehr@dass-it.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Stephan Dühr <stephan.duehr@dass-it.de> 2007-12-04 04:10:44 MST --- Yes, I am wrong. No one ever promised that this should work. The Virtualization Whitepaper also has a table making that clear. sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com