VMmanager Knowledge Base

"Attempt to migrate guest to the same host" error

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

  1.  Connect to the cluster nodes via SSH and run the command on them:

    cat /sys/class/dmi/id/product_uuid
    Example of reply
    4858b9b4-f5c3-5342-bf69-a81e8433923e
  2. On those nodes where the output of the command matches:

    1. Generate a unique value for the host_uuid parameter. We recommend using the uuidgen utility for this:

      uuidgen -r
    2. In the /etc/libvirt/libvirtd.conf file, uncomment the string

      #host_uuid = "00000000-0000-0000-0000-000000000000"

       and specify the host_uuid value.

    3. Restart the libvirt service:

      servicectl restart libvirtd