<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Fabrice,</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella <<a href="mailto:fabrice.bacchella@icloud.com" class="">fabrice.bacchella@icloud.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm running an up to date ovirt setup.<div class=""><br class=""></div><div class="">I tried to put an host in maintenance mode, with one VM running on it.</div><div class=""><br class=""></div><div class="">It failed with this message in vdsm.log:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" style="font-size: 11px;" class="">Thread-351083::ERROR::2016-06-17 11:30:04,732::migration::209::virt.vm::(_recover) vmId=`b82209c9-42ff-457c-bb98-b6a2034833fc`::internal error: process exited while connecting to monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait: Failed to bind socket to /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm: Permission denied</font></div></div><div class=""><font face="Menlo" style="font-size: 11px;" class="">...</font></div><div class=""><div class=""><font face="Menlo" style="font-size: 11px;" class="">Traceback (most recent call last):</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/share/vdsm/virt/migration.py", line 298, in run</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> self._startUnderlyingMigration(time.time())</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/share/vdsm/virt/migration.py", line 364, in _startUnderlyingMigration</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> self._perform_migration(duri, muri)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/share/vdsm/virt/migration.py", line 403, in _perform_migration</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> self._vm._dom.migrateToURI3(duri, params, flags)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/share/vdsm/virt/virdomain.py", line 68, in f</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> ret = attr(*args, **kwargs)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 124, in wrapper</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> ret = f(*args, **kwargs)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 1313, in wrapper</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> return func(inst, *args, **kwargs)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in migrateToURI3</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class=""> if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)</font></div><div class=""><font face="Menlo" style="font-size: 11px;" class="">libvirtError: internal error: process exited while connecting to monitor: 2016-06-17T09:30:04.429323Z qemu-kvm: -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm,server,nowait: Failed to bind socket to /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm: Permission denied</font></div></div></div></div></blockquote><div><br class=""></div><div>This is pretty odd, could you please send me the out put of this:</div><div><br class=""></div><div># rpm -qa | grep vdsm</div><div><br class=""></div><div>From the target and destination hosts. Thanks.</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">If i check the file, I see :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 11px;" class="">srwxrwxr-x 1 qemu qemu 0 May 31 16:21 /var/lib/libvirt/qemu/channels/b82209c9-42ff-457c-bb98-b6a2034833fc.com.redhat.rhevm.vdsm</font></div></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">And on all my hosts, the permissions are the same:</div><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 11px;" class=""><font class="">srwxrwxr-x 1 qemu qemu </font>/var/lib/libvirt/qemu/channels/*</font></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">And vdsm is running vdsm:</div><div style="margin: 0px;" class=""><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 11px;" class="">4 S vdsm 3816 1 0 60 -20 - 947345 poll_s May25 ? 02:21:58 /usr/bin/python /usr/share/vdsm/vdsm</font></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">If I check vdsm groups:</div><div style="margin: 0px;" class=""><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 11px;" class="">~# id vdsm</font></div><div style="margin: 0px;" class=""><font face="Menlo" style="font-size: 11px;" class="">uid=36(vdsm) gid=36(kvm) groups=36(kvm),179(sanlock),107(qemu)</font></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div></div></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>