Description of problem:
In KubeVirt we have a somewhat unique use case where we need to migration between two libvirt environments that have the same hostname. There's a check in libvirt that prevents this from being possible.
"Attempt to migrate guest to the same host"
Normally that makes complete sense. However for our use case, we are migrating a VM between two containerized environments scheduled by kubernetes that exist on different hosts. We need both the source and target containerized environments (pods) to look identical in order to operate within kubernetes in a predictable way. This makes libvirt think we're attempting a live migration to the same node when in fact we are not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. attempt to perform a live migration between two nodes with the same hostname.
This was fixed in
Author: Michal Prívozník <firstname.lastname@example.org>
Date: Tue Feb 25 15:53:12 2020 +0100
qemu: Don't compare local and remote hostnames on migration