Bug 694690 - After migration,domain can not be connect by virt-manager and state shows "no state"
Summary: After migration,domain can not be connect by virt-manager and state shows "no...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Osier Yang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 02:52 UTC by wangyimiao
Modified: 2011-08-15 20:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-15 20:05:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description wangyimiao 2011-04-08 02:52:47 UTC
Description of problem:
After migration,domain "vm1" can not be connect by virt-manager with message "console is not yet active for guest" and domain state shows "no state".

Version-Release number of selected component (if applicable):
libvirt-0.8.2-18.el5
xen-3.0.3-127.el5
kernel-xen-2.6.18-252.el5

How reproducible:
5/5

Steps to Reproduce:

1.Please modify this config file (/etc/xen/xend-config.sxp) and run that 
command on source and target hosts first. 

(xend-relocation-server yes)
(xend-relocation-port 8002)
(xend-relocation-address '')
(xend-relocation-hosts-allow '')

# service xend restart
# iptables -F
# setsebool -P virt_use_nfs 1
# mount 10.66.4.208:/var/lib/xen/images/  /mnt

2.# virsh dumpxml vm1
<domain type='xen'>
  <name>vm1</name>
  <uuid>b3df711f-3261-26a9-f37f-6369ae8c0685</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='xenfv'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/mnt/fv.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:36:60:f6:14'/>
      <source bridge='xenbr0'/>
      <script path='vif-bridge'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
  </devices>
</domain>

3.Start rhel5.6 guest and migrate it to target host. 
# virsh start vm1
Domain vm1 started

# virsh migrate --live vm1  xen+ssh://10.66.4.218
root.4.218's password: 

4.Login target host to check guest domain VM1.
# virsh list --all
 Id Name                 State
----------------------------------
  0 Domain-0             running
  9 vm1                  no state


Actual results:
After migration,domain "vm1" can not be connect by virt-manager with message "console is not yet active for guest" and domain state shows "no state"

Expected results:
2.After migration,domain should works fine and state should be 'running'.

Comment 1 RHEL Program Management 2011-06-20 22:39:29 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 3 RHEL Program Management 2011-08-15 20:05:33 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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