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