<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Oct 2016, at 15:54, knarra <<a href="mailto:knarra@redhat.com" class="">knarra@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi,</p><p class=""> 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? <br class=""></p></div></div></blockquote><div><br class=""></div>seems to be caused by OVS hook issue</div><div>update to latest and try again, if it’s still not working remove the ovs hook(s)</div><div><br class=""><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><p class="">
</p><p class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
</p>
<ol style="font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">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</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">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):</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_process_domxml(tree)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
_process_domxml</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_set_graphics(devices, target_vm_conf)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
_set_graphics</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
target_display_network, target_display_ip =
_vmconf_display(target_vm_conf)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
_vmconf_display</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
raise VmMigrationHookError('VM conf graphics not detected')</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">VmMigrationHookError:
VM conf graphics not detected</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">Traceback
(most recent call last):</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in
<module></div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
main(*sys.argv[1:])</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_process_domxml(tree)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hoo (migration:261)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">2016-10-27
16:40:22,757 ERROR (Thread-3293) [virt.vm]
(vmId='21e0e248-19bf-47b3-b72f-6a3740d9ff43') Failed to
migrate (migration:390)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">Traceback
(most recent call last):</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/share/vdsm/virt/migration.py", line 372, in run</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
self._startUnderlyingMigration(time.time())</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/share/vdsm/virt/migration.py", line 447, in
_startUnderlyingMigration</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
self._perform_with_downtime_thread(duri, muri)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/share/vdsm/virt/migration.py", line 498, in
_perform_with_downtime_thread</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
self._perform_migration(duri, muri)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/share/vdsm/virt/migration.py", line 485, in
_perform_migration</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
self._vm._dom.migrateToURI3(duri, params, flags)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
line 69, in f</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> ret
= attr(*args, **kwargs)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
line 123, in wrapper</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> ret
= f(*args, **kwargs)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/lib/python2.7/site-packages/vdsm/utils.py", line 899, in
wrapper</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
return func(inst, *args, **kwargs)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in
migrateToURI3</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">:</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> if
ret == -1: raise libvirtError ('virDomainMigrateToURI3()
failed', dom=self)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">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):</div>
</li>
<li style="font-weight: normal; vertical-align: top; background:
rgb(240, 240, 240);" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_process_domxml(tree)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 80, in
_process_domxml</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_set_graphics(devices, target_vm_conf)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 156, in
_set_graphics</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
target_display_network, target_display_ip =
_vmconf_display(target_vm_conf)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 177, in
_vmconf_display</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
raise VmMigrationHookError('VM conf graphics not detected')</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">VmMigrationHookError:
VM conf graphics not detected</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">Traceback
(most recent call last):</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 201, in
<module></div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
main(*sys.argv[1:])</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hook.py", line 51, in main</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class="">
_process_domxml(tree)</div>
</li>
<li style="font-weight: normal; vertical-align: top;" class="">
<div style="font-style: normal; font-variant: normal;
font-weight: normal; font-stretch: normal; font-size: 1em;
line-height: 1.2em; font-family: monospace; margin: 0px;
padding: 0px; vertical-align: top; background: none;" class=""> File
"/usr/libexec/vdsm/vm_migrate_hoo</div>
</li>
</ol><p class="">Thanks</p><p class="">kasturi.<br class="">
</p>
</div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></body></html>