[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: [Xen-devel] Problem migrating domains
> 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 xen-devel@xxxxxxxxxxxxxxxxxxx > 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 Have you checked /etc/xen/xend-config.sxp on both machines? You need to enable relocation + authorize the hosts, e.g. (xend-relocation-server yes) (xend-relocation-address '') (xend-relocation-hosts-allow '') [as far as I recall the default for the last of these is localhost which would mean that migration to localhost would work but nothing else... have you tried migration to localhost?] You might also want to check your iptables config on each machine. cheers, S. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |