
On Jun 17, 2016, at 12:47 PM, Vinzenz Feenstra <vfeenstr@redhat.com> = wrote: =20
=20 On Jun 17, 2016, at 12:42 PM, Michal Skrivanek = <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com>> = wrote: =20 =20
On 17 Jun 2016, at 12:37, Fabrice Bacchella = <fabrice.bacchella@icloud.com <mailto:fabrice.bacchella@icloud.com>> = wrote: =20 =20
Le 17 juin 2016 =C3=A0 12:33, Vinzenz Feenstra <vfeenstr@redhat.com = <mailto:vfeenstr@redhat.com>> a =C3=A9crit : =20 =20
On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella = <fabrice.bacchella@icloud.com <mailto:fabrice.bacchella@icloud.com>> = wrote: =20 =20
Le 17 juin 2016 =C3=A0 12:05, Vinzenz Feenstra = <vfeenstr@redhat.com <mailto:vfeenstr@redhat.com>> a =C3=A9crit : =20 Hi Fabrice, =20 > On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella = <fabrice.bacchella@icloud.com <mailto:fabrice.bacchella@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 =20 > 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 =20 This is pretty odd, could you please send me the out put of this: =20 # rpm -qa | grep vdsm =20 =46rom the target and destination hosts. Thanks. =20 =20 =20 Thanks. =20 And on the destination server what are the access rights on = /var/lib/libvirt/qemu/channels?=20 On both: drwxrwxr-x 2 vdsm qemu 137 Jun 14 15:35 = /var/lib/libvirt/qemu/channels drwxrwxr-x 2 vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels =20 And if you have SELinux enabled can you temporary set it to =
--Apple-Mail=_21DE22CB-9DFC-4F06-98DC-DCB4A0637DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 permissive on the destination and try to migrate?
=20 SELinux is disabled on both. =20 And was the VM started in the same SELinux state or did you change it = afterwards while it was running? =20 It is disabled since installation (We moved the conversation for now = to the IRC)=20 =20 If we found a solution / reason I will respond to the thread to have = it documented.
So the reason for the errors is wrongly set ownership of the = /var/lib/libvirt/qemu folder rwxr-x--x 8 oneadmin oneadmin=20
=20
=20
=20 =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users>
--Apple-Mail=_21DE22CB-9DFC-4F06-98DC-DCB4A0637DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On Jun 17, 2016, at 12:47 PM, Vinzenz Feenstra <<a = href=3D"mailto:vfeenstr@redhat.com" class=3D"">vfeenstr@redhat.com</a>>= wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><br class=3D"Apple-interchange-newline">On = Jun 17, 2016, at 12:42 PM, Michal Skrivanek <<a = href=3D"mailto:michal.skrivanek@redhat.com" = class=3D"">michal.skrivanek@redhat.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"" = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><br class=3D""><div = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On 17 = Jun 2016, at 12:37, Fabrice Bacchella <<a = href=3D"mailto:fabrice.bacchella@icloud.com" = class=3D"">fabrice.bacchella@icloud.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"" = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><br class=3D""><div = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Le 17 = juin 2016 =C3=A0 12:33, Vinzenz Feenstra <<a = href=3D"mailto:vfeenstr@redhat.com" class=3D"">vfeenstr@redhat.com</a>>= a =C3=A9crit :</div><br class=3D"Apple-interchange-newline"><div = class=3D""><div class=3D"" style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br = class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella <<a = href=3D"mailto:fabrice.bacchella@icloud.com" = class=3D"">fabrice.bacchella@icloud.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"" = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><br class=3D""><div = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Le 17 = juin 2016 =C3=A0 12:05, Vinzenz Feenstra <<a = href=3D"mailto:vfeenstr@redhat.com" class=3D"">vfeenstr@redhat.com</a>>= a =C3=A9crit :</div><br class=3D"Apple-interchange-newline"><div = class=3D""><div class=3D"" style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div = class=3D"">Hi Fabrice,</div><br class=3D""><div class=3D""><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@icloud.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"" = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;">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""></div></div><div class=3D""><div = class=3D""></div></div></div></div></blockquote></div></div></div></blockq= uote><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><div class=3D"" style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = class=3D"" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><div class=3D""><div = class=3D""><font face=3D"Menlo" class=3D"" style=3D"font-size: = 11px;">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 class=3D""><br = class=3D""></div><div class=3D"">This is pretty odd, could you please = send me the out put of this:</div><div class=3D""><br = class=3D""></div><div class=3D""># rpm -qa | grep vdsm</div><div = class=3D""><br class=3D""></div><div class=3D"">=46rom the target and = destination hosts. Thanks.</div></div></div></div></blockquote></div><br = class=3D""></div></div></blockquote></div></div></div></blockquote><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = class=3D"" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><div class=3D""><div = class=3D""><br class=3D""></div><div class=3D"">Thanks.</div><div = class=3D""><br class=3D""></div><div class=3D"">And on the destination = server what are the access rights on = /var/lib/libvirt/qemu/channels? </div></div></div></div></blockquote>= On both:</div><div class=3D""><div class=3D"" style=3D"margin: 0px; = font-size: 11px; font-family: Menlo;">drwxrwxr-x 2 vdsm qemu 137 Jun 14 = 15:35 /var/lib/libvirt/qemu/channels</div><div class=3D""><div class=3D"" = style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">drwxrwxr-x 2 = vdsm qemu 6 May 24 16:03 /var/lib/libvirt/qemu/channels</div></div><div = class=3D""><span class=3D"" style=3D"font-variant-ligatures: = no-common-ligatures; color: rgb(76, 122, 255);"><br = class=3D""></span></div><blockquote type=3D"cite" class=3D""><div = class=3D""><div class=3D"" style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div = class=3D""><div class=3D"">And if you have SELinux enabled can you = temporary set it to permissive on the destination and try to = migrate?</div></div></div></div></blockquote><br class=3D""></div><div = class=3D"">SELinux is disabled on = both.</div></div></div></blockquote><div class=3D""><br = class=3D""></div>And was the VM started in the same SELinux state or did = you change it afterwards while it was = running?</div></div></div></blockquote><div class=3D""><br = class=3D""></div>It is disabled since installation (We moved the = conversation for now to the IRC) </div><div style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: = 0px;" class=3D""><br class=3D""></div><div style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: = 0px;" class=3D"">If we found a solution / reason I will respond to the = thread to have it documented.</div></div></blockquote><div><br = class=3D""></div><div>So the reason for the errors is wrongly set = ownership of the <span style=3D"font-family: Menlo; font-size: = 11px;" class=3D"">/var/lib/libvirt/qemu folder </span><font = face=3D"Menlo" class=3D""><span style=3D"font-size: 11px;" = class=3D"">rwxr-x--x 8 oneadmin = oneadmin </span></font></div><div><br class=3D""></div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D""><div class=3D"" = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><div class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = class=3D"" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space;"><div class=3D""><br = class=3D""></div><br = class=3D""></div>_______________________________________________<br = class=3D"">Users mailing list<br class=3D""><a = href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""><a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = class=3D"">http://lists.ovirt.org/mailman/listinfo/users</a></div></blockq= uote></div></div></div></blockquote></div></div></blockquote></div><br = class=3D""></body></html>= --Apple-Mail=_21DE22CB-9DFC-4F06-98DC-DCB4A0637DAD--