Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 224004 - Live migration to localhost leaves guest hung
Live migration to localhost leaves guest hung
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Xen Maintainance List
Depends On:
Blocks: 246139 240441 296411 372911 429673
  Show dependency treegraph
Reported: 2007-01-23 10:42 EST by Markus Armbruster
Modified: 2010-10-22 04:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-10 08:42:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/var/log/xen/xend.log since reboot (24.67 KB, text/plain)
2007-11-14 11:23 EST, Markus Armbruster
no flags Details
xenstore-ls after boot, before virsh start (713 bytes, text/plain)
2007-11-14 11:24 EST, Markus Armbruster
no flags Details
xenstore-ls after virsh start, before xm-migrate (5.06 KB, text/plain)
2007-11-14 11:25 EST, Markus Armbruster
no flags Details
xenstore-ls after xm-migrate (4.17 KB, text/plain)
2007-11-14 11:25 EST, Markus Armbruster
no flags Details

  None (edit)
Description Markus Armbruster 2007-01-23 10:42:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061221 Fedora/ Firefox/

Description of problem:
After migrating a live guest to localhost, the guest appears to be hung.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. xm create -c DOMNAME
2. xm migrate -l DOMNAME localhost

Actual Results:
The guest appears to hang.

xm console DOMNAME fails with message xenconsole: Could not read tty from store: No such file or directory

Guest doesn't reply to ping.

xm shutdown does nothing.

Expected Results:
Guest doesn't hang.  xm console works.  Guest replies to ping.  xm shutdown works.

Additional info:
xenstore-ls /local/domain/$(xm domid DOMNAME)/device shows all frontend devices in state 1 (XenbusStateInitialising).  That's the initial state written by xend.  Frontend devices go through intermediate states into state 4 (XenbusStateConnected) when they initialize.  Looks like they didn't (re-)initialize at all.

Found on RHEL 5 snapshot 7 updated with kernel-xen-2.6.18-2.el5.  Also reproduced on FC-6 with xen-3.0.3-3.fc6 and kernel-xen-2.6.19-1.2895.fc6.

xm save / restore works.
Comment 1 Daniel Berrange 2007-02-26 14:01:21 EST
Setting rhel-5.1.0 to '?', because this is a blocker for bug 212662 which also
has rhel-5.1.0 set.
Comment 2 RHEL Product and Program Management 2007-03-21 18:36:45 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Markus Armbruster 2007-06-29 02:52:45 EDT
It is currently unclear whether migration to localhost works with our upstream
base version, or even with the upstream head version.

This bug no longer blocks bug 212662, so the reason why flag rhel‑5.1.0 was
requested (comment#1) no longer exists.  I recommend to push this to 5.2.
Comment 6 Brian Stein 2007-11-14 10:12:20 EST
Markus - Please retest and update.
Comment 7 Markus Armbruster 2007-11-14 11:21:13 EST
Retested, same behavior.

Steps to Reproduce:
1. Edit /etc/xen/xend-config.sxp to have:
    (xend-relocation-server yes)
   Default values for the other xend-relocation-* parameters should be fine,
leave them unchaged.
2. Start guest with virt-manager or virsh start.
3. xm migrate -l DOMNAME localhost

virsh list shows guest as paused.
Comment 8 Markus Armbruster 2007-11-14 11:23:12 EST
Created attachment 258291 [details]
/var/log/xen/xend.log since reboot
Comment 9 Markus Armbruster 2007-11-14 11:24:19 EST
Created attachment 258301 [details]
xenstore-ls after boot, before virsh start
Comment 10 Markus Armbruster 2007-11-14 11:25:05 EST
Created attachment 258311 [details]
xenstore-ls after virsh start, before xm-migrate
Comment 11 Markus Armbruster 2007-11-14 11:25:49 EST
Created attachment 258321 [details]
xenstore-ls after xm-migrate
Comment 13 Markus Armbruster 2007-11-14 13:49:07 EST
This bug could be caused by our fix for bug 245960, which effectively reverted
xen-unstable cset 12576.  Need to test that.

Might also have to make the disk shareable.
Comment 15 Markus Armbruster 2007-11-15 08:29:09 EST
Unreverting cset 12576 and making the disk shareable don't make a difference.
Comment 16 Jay Turner 2007-11-22 07:54:18 EST
Withholding QE ack until we sort out a path forward.  Appears from comment 14
migrating to localhost isn't really a real-world event and the potential fix
might be very destabilizing.
Comment 17 Bill Burns 2007-12-10 08:37:22 EST
Cannot fix for RHEL 5.2.
Comment 18 RHEL Product and Program Management 2007-12-10 08:42:47 EST
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request. 
Comment 22 Don Domingo 2008-04-01 22:15:19 EDT
the RHEL5.2 release notes will be dropped to translation on April 15, 2008, at
which point no further additions or revisions will be entertained.

a mockup of the RHEL5.2 release notes can be viewed at the following link:

please use the aforementioned link to verify if your bugzilla is already in the
release notes (if it needs to be). each item in the release notes contains a
link to its original bug; as such, you can search through the release notes by
bug number.


Note You need to log in before you can comment on or make changes to this bug.