If the cluster nodes have the same hostname or product_uuid values, VM migration will end with an "Attempt to migrate guest to the same host" error. To eliminate the error, set unique parameter values for all cluster nodes.
Configuring hostname
Connect to the cluster nodes via SSH and specify unique host names in the /etc/hostname and /etc/hosts files.
Configuring product_uuid
Connect to the cluster nodes via SSH and run the command on them:
cat /sys/class/dmi/id/product_uuid
BASH
Example of reply
4858b9b4-f5c3-5342-bf69-a81e8433923e
CODE
On those nodes where the output of the command matches:
Generate a unique value for the host_uuid parameter. We recommend using the uuidgen utility for this:
In the /etc/libvirt/libvirtd.conf file, uncomment the string
#host_uuid = "00000000-0000-0000-0000-000000000000"
BASH
and specify the host_uuid value.
Restart the libvirt service:
servicectl restart libvirtd
CODE