Andreas Unterkircher
2009-Mar-10 07:58 UTC
[Pkg-xen-devel] Bug#519064: xen-utils-common: hvm migration fails because of missing /var/lib/xen/save
Package: xen-utils-common
Version: 3.2.0-2
Severity: normal
When I was trying to migrate (xm migrate) a guest from one host to another,
it simply fails. On the source host the virtual machine gets destroyed
without any warning message - on the destination host I see the following
error message in /var/log/xen/xend.log
[2009-03-10 08:01:22 9846] ERROR (XendCheckpoint:52) read_exact: EOF trying to
read 21 (buf='')
and a python trace
[2009-03-10 08:01:22 9846] ERROR (XendDomain:1136) Restore failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line
1134, in domain_restore_fd
return XendCheckpoint.restore(self, fd, paused=paused)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py",
line 261, in restore
"invalid device model signature read")
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py",
line 53, in read_exact
raise XendError(errmsg)
XendError: invalid device model signature read
After some debugging I found out, that /etc/default/xendomains references a not
existing directory:
srv-vm01:~# grep ^XENDOMAINS_SAVE /etc/default/xendomains
XENDOMAINS_SAVE=/var/lib/xen/save
After then I created /var/lib/xen/save on both hosts per hand, and migration
worked
in both directions.
Cheers,
Andreas
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xen-utils-common depends on:
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii udev 0.125-7 /dev/ and hotplug management daemo
ii xenstore-utils 3.2.1-2 Xenstore utilities for Xen
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- no debconf information
Reasonably Related Threads
- Migration failing (xen 3.0.3 on RHEL 5) with "not a valid guest state file: pfn count read"
- HVM Live Migration Troubles - Xen 3.3.1
- xml files in xend database corrupted and xend failed to start solved now but read to diagnose
- xm restore fails
- [BUG] migration problem
