[ovirt-users] Cannot Migrate Hosted Engine

knarra knarra at redhat.com
Thu Oct 27 12:54:13 UTC 2016


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?

 1.
    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
 2.
    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):
 3.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
 4.
    _process_domxml(tree)
 5.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
    _process_domxml
 6.
    _set_graphics(devices, target_vm_conf)
 7.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
    _set_graphics
 8.
    target_display_network, target_display_ip =
    _vmconf_display(target_vm_conf)
 9.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
    _vmconf_display
10.
    raise VmMigrationHookError('VM conf graphics not detected')
11.
    VmMigrationHookError: VM conf graphics not detected
12.
    Traceback (most recent call last):
13.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in <module>
14.
    main(*sys.argv[1:])
15.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
16.
    _process_domxml(tree)
17.
       File "/usr/libexec/vdsm/vm_migrate_hoo (migration:261)
18.
    2016-10-27 16:40:22,757 ERROR (Thread-3293) [virt.vm]
    (vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Failed to migrate
    (migration:390)
19.
    Traceback (most recent call last):
20.
       File "/usr/share/vdsm/virt/migration.py", line 372, in run
21.
    self._startUnderlyingMigration(time.time())
22.
       File "/usr/share/vdsm/virt/migration.py", line 447, in
    _startUnderlyingMigration
23.
    self._perform_with_downtime_thread(duri, muri)
24.
       File "/usr/share/vdsm/virt/migration.py", line 498, in
    _perform_with_downtime_thread
25.
    self._perform_migration(duri, muri)
26.
       File "/usr/share/vdsm/virt/migration.py", line 485, in
    _perform_migration
27.
    self._vm._dom.migrateToURI3(duri, params, flags)
28.
       File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
    line 69, in f
29.
         ret = attr(*args, **kwargs)
30.
       File
    "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
    123, in wrapper
31.
         ret = f(*args, **kwargs)
32.
       File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 899,
    in wrapper
33.
    return func(inst, *args, **kwargs)
34.
       File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836,
    in migrateToURI3
35.
    :
36.
         if ret == -1: raise libvirtError ('virDomainMigrateToURI3()
    failed', dom=self)
37.
    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):
38.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
39.
    _process_domxml(tree)
40.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
    _process_domxml
41.
    _set_graphics(devices, target_vm_conf)
42.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
    _set_graphics
43.
    target_display_network, target_display_ip =
    _vmconf_display(target_vm_conf)
44.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
    _vmconf_display
45.
    raise VmMigrationHookError('VM conf graphics not detected')
46.
    VmMigrationHookError: VM conf graphics not detected
47.
    Traceback (most recent call last):
48.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in <module>
49.
    main(*sys.argv[1:])
50.
       File "/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main
51.
    _process_domxml(tree)
52.
       File "/usr/libexec/vdsm/vm_migrate_hoo

Thanks

kasturi.

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


More information about the Users mailing list