When we put host in maintenance mode why vm live migration for some of the vm fails?

Solution In Progress - Updated -

Issue

When we put host in maintenance mode, some of the vms do not get migrated due to segfault in qemu-kvm process.

2013-11-01 11:50:50.637-04 | Host rhevh5 was switched to Maintenance mode by UserX.
 2013-11-01 11:51:53.36-04  | Migration completed (VM: Vm1, Source: rhevh5, Destination: rhevh4).
 2013-11-01 11:51:59.539-04 | Migration completed (VM: Vm2, Source: rhevh5, Destination: rhevh4).
 2013-11-01 11:52:28.963-04 | Migration failed: Lost connection with qemu process (VM: Vm3, Source: rhevh5, Destination: <UNKNOWN>).  <===
 2013-11-01 11:52:56.912-04 | Migration completed (VM: Vm4, Source: rhevh5, Destination: rhevh3).
 2013-11-01 11:53:00.01-04  | Migration completed (VM: Vm5, Source: rhevh5, Destination: rhevh3).

Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 270, in run
  File "/usr/share/vdsm/libvirtvm.py", line 495, in _startUnderlyingMigration
  File "/usr/share/vdsm/libvirtvm.py", line 531, in f
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 104, in wrapper
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1178, in migrateToURI2
libvirtError: Unable to read from monitor: Connection reset by peer

libvirtEventLoop::WARNING::2013-11-01 15:52:12,096::clientIF::340::vds::(teardownVolumePath) Drive is not a vdsm image: 
VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2 VOLWM_FREE_PCT:50 _blockDev:False _customize:<bound method Drive._customize of 
<libvirtvm.Drive object at 0x7fc9e8054550>> _makeName:<bound method Drive._makeName of <libvirtvm.Drive object at 0x7fc9e8054550>> address:{u'bus': u'1', u'controller': u'0', u'type': u'drive', u'target': u'0', u'unit': u'0'} alias:ide0-1-0 apparentsize:0 blockDev:False cache:none conf:{'status': 'Powering down', 'acpiEnable': 'true', 'emulatedMachine': 'rhel6.4.0', 'vmId': '5c5f1de9-be4b-474b-b35a-c68ddc726adf', 'pid': '13693', 
[...]
Traceback (most recent call last):
  File "/usr/share/vdsm/clientIF.py", line 334, in teardownVolumePath
  File "/usr/share/vdsm/libvirtvm.py", line 1071, in __getitem__
KeyError: 'domainID'

Nov  1 15:51:51 rhevh5 kernel: qemu-kvm[13693]: segfault at 0 ip 00007f41330114d3 sp 00007fffd21a3e98 error 4 in qemu-kvm[7f4132fae000+28a000]

Environment

Red Hat Enterprise Virtualization (RHEV) 3.1,3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In