See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> Xen 4.2.3. Perhaps we cannot live migrate across major revs? [2013-11-13 11:49:00 xend 29149] DEBUG (XendCheckpoint:89) [xc_save]: /usr/lib64/xen/bin/xc_save 4 35 0 0 5 [2013-11-13 11:49:00 xend 29149] INFO (XendCheckpoint:353) Saving memory pages: iter 1 0%ERROR Internal error: Error when writing to state file (5) (errno 104) [2013-11-13 11:49:00 xend 29149] INFO (XendCheckpoint:353) Save exit rc=1 [2013-11-13 11:49:00 xend 29149] ERROR (XendCheckpoint:133) Save failed on domain Pasiphae2 (35). Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 110, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 341, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 4 35 0 0 5 failed [2013-11-13 11:49:00 xend.XendDomainInfo 29149] DEBUG (XendDomainInfo:2206) XendDomainInfo.resumeDomain(35) [2013-11-13 11:49:00 xend 29149] DEBUG (XendCheckpoint:136) XendCheckpoint.save: resumeDomain Thank you! Jim _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Pasi Kärkkäinen
2013-Nov-13 20:15 UTC
Re: Live migration from Xen 3.1.2 to 4.2.3 doesn''t work
On Wed, Nov 13, 2013 at 07:02:41PM +0000, Jim Durand wrote:> See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> Xen > 4.2.3. Perhaps we cannot live migrate across major revs? >The subject was missing from this post so I added it.. -- Pasi> > > [2013-11-13 11:49:00 xend 29149] DEBUG (XendCheckpoint:89) [xc_save]: > /usr/lib64/xen/bin/xc_save 4 35 0 0 5 > > [2013-11-13 11:49:00 xend 29149] INFO (XendCheckpoint:353) Saving memory > pages: iter 1 0%ERROR Internal error: Error when writing to state file > (5) (errno 104) > > [2013-11-13 11:49:00 xend 29149] INFO (XendCheckpoint:353) Save exit rc=1 > > [2013-11-13 11:49:00 xend 29149] ERROR (XendCheckpoint:133) Save failed on > domain Pasiphae2 (35). > > Traceback (most recent call last): > > File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", > line 110, in save > > forkHelper(cmd, fd, saveInputHandler, False) > > File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", > line 341, in forkHelper > > raise XendError("%s failed" % string.join(cmd)) > > XendError: /usr/lib64/xen/bin/xc_save 4 35 0 0 5 failed > > [2013-11-13 11:49:00 xend.XendDomainInfo 29149] DEBUG > (XendDomainInfo:2206) XendDomainInfo.resumeDomain(35) > > [2013-11-13 11:49:00 xend 29149] DEBUG (XendCheckpoint:136) > XendCheckpoint.save: resumeDomain > > > > > > > > Thank you! > > Jim
Ian Campbell
2013-Nov-13 20:28 UTC
Re: Live migration from Xen 3.1.2 to 4.2.3 doesn''t work
On Wed, 2013-11-13 at 19:02 +0000, Jim Durand wrote:> See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> > Xen 4.2.3. Perhaps we cannot live migrate across major revs?See http://wiki.xen.org/wiki/Xen_Version_Compatibility. Normally only N to N+1 is supported. So 3.4.x->4.0.x was supported and 4.1.x->4.2.x is supported etc. 3.1.2 to 4.2 represents something like 5 releases, I''m afraid that is not supported. Apart from any issue with migration 3.1.2 is ancient (6 years tomorrow! ), I''m afraid it is no longer supported here. http://wiki.xen.org/wiki/Xen_Maintenance_Releases Ian.
Pasi Kärkkäinen
2013-Nov-14 08:28 UTC
Re: Live migration from Xen 3.1.2 to 4.2.3 doesn''t work
On Wed, Nov 13, 2013 at 08:28:10PM +0000, Ian Campbell wrote:> On Wed, 2013-11-13 at 19:02 +0000, Jim Durand wrote: > > See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> > > Xen 4.2.3. Perhaps we cannot live migrate across major revs? > > See http://wiki.xen.org/wiki/Xen_Version_Compatibility. Normally only N > to N+1 is supported. So 3.4.x->4.0.x was supported and 4.1.x->4.2.x is > supported etc. > > 3.1.2 to 4.2 represents something like 5 releases, I''m afraid that is > not supported. > > Apart from any issue with migration 3.1.2 is ancient (6 years tomorrow! > ), I''m afraid it is no longer supported here. > http://wiki.xen.org/wiki/Xen_Maintenance_Releases >I''m guessing Xen 3.1.2 in this case is RHEL5 Xen, which is not really 3.1.2 .. it has tons of backports from later Xen versions.. But yeah, live migration from it to recent upstream Xen is not very likely to work.. At least it hasn''t been tested by upstream Xen developers. -- Pasi
Ian Campbell
2013-Nov-14 08:39 UTC
Re: Live migration from Xen 3.1.2 to 4.2.3 doesn''t work
On Thu, 2013-11-14 at 10:28 +0200, Pasi Kärkkäinen wrote:> On Wed, Nov 13, 2013 at 08:28:10PM +0000, Ian Campbell wrote: > > On Wed, 2013-11-13 at 19:02 +0000, Jim Durand wrote: > > > See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> > > > Xen 4.2.3. Perhaps we cannot live migrate across major revs? > > > > See http://wiki.xen.org/wiki/Xen_Version_Compatibility. Normally only N > > to N+1 is supported. So 3.4.x->4.0.x was supported and 4.1.x->4.2.x is > > supported etc. > > > > 3.1.2 to 4.2 represents something like 5 releases, I''m afraid that is > > not supported. > > > > Apart from any issue with migration 3.1.2 is ancient (6 years tomorrow! > > ), I''m afraid it is no longer supported here. > > http://wiki.xen.org/wiki/Xen_Maintenance_Releases > > > > I''m guessing Xen 3.1.2 in this case is RHEL5 Xen, > which is not really 3.1.2 .. it has tons of backports from later Xen versions.. > > But yeah, live migration from it to recent upstream Xen is not very likely to work..It demonstrably does not work, which is why Jim is asking...> At least it hasn''t been tested by upstream Xen developers.Indeed not. In theory it ought to be possible to install and migrate to each of the intervening half a dozen or so versions of Xen in turn. However in practical terms I think you''d be better off scheduling some down time and rebooting the VM onto the new version. Ian.
On Wed, Nov 13, 2013 at 7:02 PM, Jim Durand <jdurand@hrsg.ca> wrote:> See log errors below, trying to live migrate VM''s from Xen 3.1.2 -> Xen > 4.2.3. Perhaps we cannot live migrate across major revs?According to http://wiki.xen.org/wiki/Xen_Version_Compatibility : "Xen supports migration (including live migration and save restore) both within a stable release branch (e.g. between any versions in the 4.2.x branch) and from one major release to the next (e.g. from release N to releaseN+1). This allows one to upgrade a pool of Xen hosts by evacuating and upgrading the hosts one by one. "Although it is not formally supported skipping a major release (e.g. migration from release N to release N+2) may often work. " Unfortunately that would mean 3.1 -> 3.2 -> 3.3 -> 3.4 -> 4.0 -> 4.1 -> 4.2... at that point shutting down the VM and starting it back up again looks like the more attractive option. -George