libvirt: live-migration crash with segfault while transfering memstate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Using recent Ubuntu Stein Cloud Packages, we are observing random live-migration crashes on the target host. Libvirt is having a SEGFAULT on the qemu driver. Transferring block devices usually works without issues. However, the following memory transfer is causing the target libvirtd randomly to close down its socket, resulting in a roll-backed migration process.
Libvirt log on target host before the crash is attached.
Steps to reproduce
==================
- Start a live-migration with block mode between 2 identical hosts.
- Wait until transfer of blockdisks is done
- During memory transfer, target host libvirt crashes.
Expected result
===============
Live-Migration completes onto the new host as intended.
Actual result
=============
Target host libvirtd crashes with SEGFAULT, causing a rollback of the migration.
Environment
===========
Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-99-generic x86_64)
OpenStack Stein (Ubuntu Cloud Archive)
Libvirt+QEMU_x86
keystone-common 2:15.0.
libvirt-daemon 5.0.0-1ubuntu2.
qemu-system-x86 1:3.1+dfsg-
neutron-
neutron-plugin-ml2 2:14.2.
nova-compute 2:19.2.
nova-compute-
python-rbd 14.2.10-1bionic
python3-
python3-
python3-
python3-
python3-novaclient 2:13.0.
Captured this in debug logs