WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Live migration of DomU created by Xen-API.

To: Palm Emil <emil.palm@xxxxxxxxxx>
Subject: Re: [Xen-devel] Live migration of DomU created by Xen-API.
From: Kurt Hackel <kurt.hackel@xxxxxxxxxx>
Date: Fri, 22 Feb 2008 22:20:17 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Feb 2008 22:20:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <31578843.11203670329986.OPEN-XCHANGE.WebMail.tomcat@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <31578843.11203670329986.OPEN-XCHANGE.WebMail.tomcat@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
Hi,

On Fri, Feb 22, 2008 at 09:52:09AM +0100, Palm Emil wrote:
> Hi, cant signup to the list so please send all replys to me in person
> also please.
> 
> When i create a DomU using the Xen-API everything works fine except for
> migrating the DomU from a machine to another.
> The hosts are 2 identical DL320s so they shouldnt be the problem. And if
> i create a domU using xm commands it all works fine too.

Does 'xm migrate' work, or is it just the XenAPI driven migrate that
fails?  What type of domU are you migrating (32pae or 64bit?, OS?,
kernel version?) and what version and bitness of the hypervisor and dom0
are you running?

Thanks
kurt

> 
> This is the error i get. If anyone can give me a headsup please do.
> 
> Errors:
> 
> 
> [2008-02-22 09:51:06 23838] DEBUG (XendCheckpoint:89) [xc_save]:
> /usr/lib/xen/bin/xc_save 27 47 0 0 5
> [2008-02-22 09:51:07 23838] INFO (XendCheckpoint:365) Saving memory
> pages: iter 1   0%ERROR Internal error: Error when writing to state file
> (5) (errno 104)
> [2008-02-22 09:51:07 23838] INFO (XendCheckpoint:365) Save exit rc=1
> [2008-02-22 09:51:07 23838] ERROR (XendCheckpoint:141) Save failed on
> domain test (47).
> Traceback (most recent call last):
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
> line 109, in save
>    forkHelper(cmd, fd, saveInputHandler, False)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
> line 353, in forkHelper
>    raise XendError("%s failed" % string.join(cmd))
> XendError: /usr/lib/xen/bin/xc_save 27 47 0 0 5 failed
> [2008-02-22 09:51:07 23838] DEBUG (XendDomainInfo:1922)
> XendDomainInfo.resumeDomain(47)
> [2008-02-22 09:51:07 23838] DEBUG (XendDomainInfo:1952)
> XendDomainInfo.resumeDomain: completed
> [2008-02-22 09:51:07 23838] DEBUG (XendCheckpoint:144)
> XendCheckpoint.save: resumeDomain
> [2008-02-22 09:51:07 23838] ERROR (xmlrpclib2:166) Internal error
> handling VM.migrate
> Traceback (most recent call last):
>  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line
> 131, in _marshaled_dispatch
>    response = self._dispatch(method, params)
>  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
>    return func(*params)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 221,
> in f
>    return func(self, *args, **kwargs)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 256,
> in check_session
>    return func(self, session, *args, **kwargs)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 312,
> in <lambda>
>    'VM', func, *args, **kwargs)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 268,
> in _check_ref
>    return func(api, session, ref, *args, **kwargs)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendAPI.py", line 1766,
> in VM_migrate
>    bool(live), resource, port)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
> 1299, in domain_migrate
>    XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst)
>  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
> line 151, in save
>    raise exn
> XendError: /usr/lib/xen/bin/xc_save 27 47 0 0 5 failed
> 
> //Emil Palm
> Cardium AB
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

-- 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>