libvirt migration fail with "Attempt to migrate guest to the same host"

This document (000019797) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP2

Situation

libvirt printing the following error:
"error: internal error: Attempt to migrate guest to the same host". 
An example would be: 
 
kvm01:~ # virsh --connect=qemu:///system  migrate --live --tunnelled --p2p VM01 qemu+ssh://kvm02/system
error: internal error: Attempt to migrate guest to the same host kvm02


 

Resolution

  • Check that both nodes have unique UUID by running: 
virsh sysinfo | grep uuid ; host_uuid could be used in /etc/libvirt/libvirtd.conf 
  • Make sure that system resolve the hostname correctly. Check /etc/hosts and DNS server for duplicated records. 

Cause

The problem could be caused by different issues.  For example: 
  • Both nodes have the same UUID. 
  • DNS resolution problem. 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019797
  • Creation Date: 26-Nov-2020
  • Modified Date:03-Dec-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center