All of lore.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2013-11-13 19:02 Jim Durand
  2013-11-13 20:15 ` Live migration from Xen 3.1.2 to 4.2.3 doesn't work Pasi Kärkkäinen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jim Durand @ 2013-11-13 19:02 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1189 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3554 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Live migration from Xen 3.1.2 to 4.2.3 doesn't work
  2013-11-13 19:02 (no subject) Jim Durand
@ 2013-11-13 20:15 ` Pasi Kärkkäinen
  2013-11-13 20:28 ` Ian Campbell
  2013-11-18 14:17 ` (no subject) George Dunlap
  2 siblings, 0 replies; 6+ messages in thread
From: Pasi Kärkkäinen @ 2013-11-13 20:15 UTC (permalink / raw)
  To: Jim Durand; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Live migration from Xen 3.1.2 to 4.2.3 doesn't work
  2013-11-13 19:02 (no subject) Jim Durand
  2013-11-13 20:15 ` Live migration from Xen 3.1.2 to 4.2.3 doesn't work Pasi Kärkkäinen
@ 2013-11-13 20:28 ` Ian Campbell
  2013-11-14  8:28   ` Pasi Kärkkäinen
  2013-11-18 14:17 ` (no subject) George Dunlap
  2 siblings, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2013-11-13 20:28 UTC (permalink / raw)
  To: Jim Durand; +Cc: xen-devel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Live migration from Xen 3.1.2 to 4.2.3 doesn't work
  2013-11-13 20:28 ` Ian Campbell
@ 2013-11-14  8:28   ` Pasi Kärkkäinen
  2013-11-14  8:39     ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Pasi Kärkkäinen @ 2013-11-14  8:28 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Jim Durand, xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Live migration from Xen 3.1.2 to 4.2.3 doesn't work
  2013-11-14  8:28   ` Pasi Kärkkäinen
@ 2013-11-14  8:39     ` Ian Campbell
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Campbell @ 2013-11-14  8:39 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Jim Durand, xen-devel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: (no subject)
  2013-11-13 19:02 (no subject) Jim Durand
  2013-11-13 20:15 ` Live migration from Xen 3.1.2 to 4.2.3 doesn't work Pasi Kärkkäinen
  2013-11-13 20:28 ` Ian Campbell
@ 2013-11-18 14:17 ` George Dunlap
  2 siblings, 0 replies; 6+ messages in thread
From: George Dunlap @ 2013-11-18 14:17 UTC (permalink / raw)
  To: Jim Durand; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-18 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 19:02 (no subject) Jim Durand
2013-11-13 20:15 ` Live migration from Xen 3.1.2 to 4.2.3 doesn't work Pasi Kärkkäinen
2013-11-13 20:28 ` Ian Campbell
2013-11-14  8:28   ` Pasi Kärkkäinen
2013-11-14  8:39     ` Ian Campbell
2013-11-18 14:17 ` (no subject) George Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.