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. 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@lists.xensource.com http://lists.xensource.com/xen-devel
Kurt Hackel
2008-Feb-23 06:20 UTC
Re: [Xen-devel] Live migration of DomU created by Xen-API.
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@lists.xensource.com > http://lists.xensource.com/xen-devel-- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2008-Feb-24 02:13 UTC
Re: [Xen-devel] Live migration of DomU created by Xen-API.
> Hi, cant signup to the list so please send all replys to me in person > also please.OK.> 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. > > 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)According to my system''s errno.h, Errno 104 is ECONNRESET - connection reset by peer. Is there anything interesting in the logs at the destination machine that might explain this? Is there any network setup or any problems that might explain this? Please could you answer Kurt''s questions about your setup and also tell us how you installed your hypervisor (e.g. from source, from binary image, distribution packages) and where you got the packages from (what website, what distro, etc). Cheers, Mark> [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@lists.xensource.com > http://lists.xensource.com/xen-devel-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Palm Emil
2008-Feb-27 14:42 UTC
Re: [Xen-devel] Live migration of DomU created by Xen-API.
Hi! Sorry for the delay been abit much right now but here it comes. 1, xm migrate does not work on any hosts created by the API, but hosts that are created by xm create works. 2, all systems are 32pae RHEL5 systems. Kernel 2.6.18-53.1.13.el5 #1 SMP 3, ---------- root@talikser ~]# xm info host : talikser.cardium.se release : 2.6.18.8 version : #1 SMP Tue Feb 12 19:29:46 CET 2008 machine : i686 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2133 hw_caps : bfebfbff:20000000:00000000:00000140:0000e3bd:00000000:00000001 total_memory : 8190 free_memory : 6 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 2 xen_extra : .0 xen_caps : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) cc_compile_by : root cc_compile_domain : cardium.se cc_compile_date : Tue Feb 12 15:39:27 CET 2008 xend_config_format : 4 --------- Any more info you guys need? Emil Palm Cardium AB On Feb 23, 2008 07:20 AM, Kurt Hackel <kurt.hackel@oracle.com> wrote:>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@lists.xensource.com >>http://lists.xensource.com/xen-devel > >--_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel