Skip to contentSkip to conversation

Problem migratin domain

DISCUSSION Miguel Gómez 1 participant 2 messages Feb 16, 2006

lore
Share & tools
lore
#0 lore raw

Hello friends,
I'm having problems migrating domains with Xen3.0. I've used migration Xen2.0.7 with no problems and now that I've upgraded it to Xen3.0, I get this when I do a migration (not even a live migration !!!, it's a standard migration).

XenRunner:/var/cache/apt/archives# xm migrate 29 192.168.50.212
Unexpected error: httplib.BadStatusLine

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python/xen/xm/main.py", line 897, in main
rc = cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python/xen/xm/main.py", line 533, in xm_subcommand
cmd.main([command] + args)
File "/usr/lib/python/xen/xm/migrate.py", line 63, in main
server.xend_domain_migrate(dom, dst, opts.vals.live, opts.vals.resource)
File "/usr/lib/python/xen/xend/XendClient.py", line 261, in
xend_domain_migrate

    {'op'         : 'migrate',

File "/usr/lib/python/xen/xend/XendClient.py", line 153, in xendPost
return self.client.xendPost(url, data)
File "/usr/lib/python/xen/xend/XendProtocol.py", line 101, in xendPost
return self.xendRequest(url, "POST", args)
File "/usr/lib/python/xen/xend/XendProtocol.py", line 172, in xendRequest
resp = conn.getresponse()
File "/usr/lib/python2.3/httplib.py", line 781, in getresponse
response.begin()
File "/usr/lib/python2.3/httplib.py", line 273, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.3/httplib.py", line 237, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine

*******************************
/var/log/xfrd.log(same in both machines):
*******************************

XENslave:/etc/apt# 4749 [INF] XFRD> Forked child pid=4751
4749 [INF] XFRD> Accepted connection from 192.168.50.195:4880 on 2
4797 [INF] XFRD> Xfr service for 192.168.50.195:4880
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
receive
[DEBUG] Conn_sxpr< err=0
4797 [WRN] XFRD> sxpr_elementp test failed
4797 [ERR] XFRD> Hello failed: -22
4797 [INF] XFRD> Xfr service err=-22

**********************
Debian Python Packages(same in both machines)
**********************

XenRunner:/# dpkg -l | grep python
ii  python         2.3.5-2        An interactive high-level object-oriented la
ii  python-twisted 1.3.0-8        Event-based framework for internet applicati
ii  python2.3      2.3.5-3sarge1  An interactive high-level object-oriented la
ii  python2.3-dev  2.3.5-3sarge1  Header files and a static library for Python
ii  python2.3-twis 1.3.0-8        Event-based framework for internet applicati
ii  python2.3-twis 1.3.0-8        Event-based framework for internet applicat

I've been looking for a long time in mailing list and there are some thread about migration problems, but not the same that I have.

Thank you very much.

Regards,
Miguel.

#1 lore raw

Any ideas? I've got no clue. My python version is 2.3. Is it fine?

This is what i found in /var/log/xend.log:

[2006-02-16 17:31:00 xend] ERROR (XendCheckpoint:99) Save failed on domain vmIceWM_VNC (31).
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 69, in save
"could not write guest state file: config len")
File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 39, in write_exact

    if os.write(fd, buf) != len(buf):