[ovirt-users] Cannot Migrate Hosted Engine

Michal Skrivanek michal.skrivanek at redhat.com
Thu Nov 17 06:28:29 UTC 2016


> On 27 Oct 2016, at 15:54, knarra <knarra at redhat.com> wrote:
> 
> Hi,
> 
>     I have installed latest upstream master on RHEL7.2. When i try to put a host in maintenance which runs HE vm i see that vm does not get migrated to another host and host is stuck in "preparing for maintenace" state. I see the following errors in the vdsm.log . Can you please help me understand why this error is seen? 
> 

seems to be caused by OVS hook issue
update to latest and try again, if it’s still not working remove the ovs hook(s)

> 2016-10-27 16:40:22,742 ERROR (Thread-3293) [virt.vm] (vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Hook script execution failed: internal error: Child process (LC_ALL=C PAT
> H=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /etc/libvirt/hooks/qemu HostedEngine migrate begin -) unexpected exit status 1: Traceback (most recent call last):
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>     _process_domxml(tree)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in _process_domxml
>     _set_graphics(devices, target_vm_conf)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in _set_graphics
>     target_display_network, target_display_ip = _vmconf_display(target_vm_conf)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in _vmconf_display
>     raise VmMigrationHookError('VM conf graphics not detected')
> VmMigrationHookError: VM conf graphics not detected
> Traceback (most recent call last):
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in <module>
>     main(*sys.argv[1:])
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>     _process_domxml(tree)
>   File "/usr/libexec/vdsm/vm_migrate_hoo (migration:261)
> 2016-10-27 16:40:22,757 ERROR (Thread-3293) [virt.vm] (vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Failed to migrate (migration:390)
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/migration.py", line 372, in run
>     self._startUnderlyingMigration(time.time())
>   File "/usr/share/vdsm/virt/migration.py", line 447, in _startUnderlyingMigration
>     self._perform_with_downtime_thread(duri, muri)
>   File "/usr/share/vdsm/virt/migration.py", line 498, in _perform_with_downtime_thread
>     self._perform_migration(duri, muri)
>   File "/usr/share/vdsm/virt/migration.py", line 485, in _perform_migration
>     self._vm._dom.migrateToURI3(duri, params, flags)
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 69, in f
>     ret = attr(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
>     ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 899, in wrapper
>     return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in migrateToURI3
> :
>     if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)
> libvirtError: Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /etc/libvirt/hooks/qemu HostedEngine migrate begin -) unexpected exit status 1: Traceback (most recent call last):
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>     _process_domxml(tree)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in _process_domxml
>     _set_graphics(devices, target_vm_conf)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in _set_graphics
>     target_display_network, target_display_ip = _vmconf_display(target_vm_conf)
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in _vmconf_display
>     raise VmMigrationHookError('VM conf graphics not detected')
> VmMigrationHookError: VM conf graphics not detected
> Traceback (most recent call last):
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in <module>
>     main(*sys.argv[1:])
>   File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
>     _process_domxml(tree)
>   File "/usr/libexec/vdsm/vm_migrate_hoo
> Thanks
> 
> kasturi.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161117/8fe072d9/attachment-0001.html>


More information about the Users mailing list