Why migration of RHEV guest fails with "internal error Attempt to migrate guest to the same host <uuid>"?
Issue
-
Migration of RHEV guest fails with the below error message in /var/log/rhevm/rhevm.log.
CanDoAction of action MigrateVm failed. Reasons:ACTION_TYPE_FAILED_VDS_VM_CLUSTER,VAR__ACTION__MIGRATE,VAR__TYPE__VM
Below error message is shown in the vdsm.log of the source hypervisor machine.
Thread-853456::ERROR::2011-11-21 08:54:09,465::vm::176::vm.Vm::(_recover) vmId=`cbb21c87-fdd5-4b4a-b8d9-b1ea956c1fda`::internal error Attempt to migrate guest to the same host 040d0502-0409-0502-0000-000000000000
Thread-853456::ERROR::2011-11-21 08:54:10,068::vm::231::vm.Vm::(run) vmId=`cbb21c87-fdd5-4b4a-b8d9-b1ea956c1fda`::Traceback (most recent call last):
File "/usr/share/vdsm/vm.py", line 223, in run
File "/usr/share/vdsm/libvirtvm.py", line 306, in _startUnderlyingMigration
File "/usr/share/vdsm/libvirtvm.py", line 328, in f
File "/usr/share/vdsm/libvirtconnection.py", line 63, in wrapper
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 907, in migrateToURI
libvirtError: internal error Attempt to migrate guest to the same host 040d0502-0409-0502-0000-000000000000
Libvirt logs trigger below error message.
10:57:14.132: 8925: error : virNetClientProgramDispatchError:170 : internal error Attempt to migrate guest to the same host 040d0502-0409-0502-0000-000000000000
This is also applicable while migrating guests between two RHEL6 hosts instead of RHEV hosts.
Environment
- Red Hat Enterprise Virtualization 3.0
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.