Table of Contents

Live migration error

Error description

Although live migration does work for some vhosts from one kvm host to another, it causes error messages for some other vhosts using the same kvm hosts. The log files deliver hints to an unstoppable block job:

root@qkvm55:~# virsh migrate --live --undefinesource --persistent \
--domain testhost --desturi qemu+ssh://kvm56/system
error: operation failed: migration job: unexpectedly failed
 
root@kvm55:~# tail -n 3 /var/log/libvirt/libvirtd.log
2016-09-02 09:33:35.496+0000: 5978: error : qemuMigrationUpdateJobStatus:2314 :
operation failed: migration job: unexpectedly failed
2016-09-02 09:33:35.498+0000: 5978: warning : qemuMigrationCancelDriveMirror:1916 :
Unable to stop block job on drive-ide0-0-0

Failure cause

The error cause is unknown.

Solution suggestions

Some sources suggest a downgrade to libvirt-bin version v1.1.0. This solution can not be applied due to the following reasons:

Solution

A live migration is not possible for the affected hosts. They have to be migrated by other means. One opportunity is offline migration:

previous chapter | contents