Re: [ovirt-users] ovirt-guest-agent DBUS exception

--Apple-Mail=_D2BF7ABE-EF9C-4A77-A1D5-13CD694F8692 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Adding it back to the list
On Feb 15, 2016, at 10:04 AM, Vinzenz Feenstra <vfeenstr@redhat.com> = wrote: =20
=20 On Feb 12, 2016, at 7:53 PM, Jean-Pierre Ribeauville = <jpribeauville@axway.com <mailto:jpribeauville@axway.com>> wrote: =20 Hi, =20 When trying to run this command : /usr/bin/python = /usr/share/ovirt-guest-agent/ovirt-guest-agent.py =20 I got this error : =20 Exception in thread CredServer: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 811, in = __bootstrap_inner self.run() File "/usr/share/ovirt-guest-agent/CredServer.py", line 253, in run self._dbus =3D CredDBusObject() File "/usr/share/ovirt-guest-agent/CredServer.py", line 127, in = __init__ self._name =3D dbus.service.BusName('org.ovirt.vdsm.Credentials', = bus) File "/usr/lib64/python2.7/site-packages/dbus/service.py", line = 131, in __new__ retval =3D bus.request_name(name, name_flags) File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 303, in = request_name 'su', (name, flags)) File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line = 651, in call_blocking message, timeout) DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection = ":1.128" is not allowed to own the service "org.ovirt.vdsm.Credentials" = due to security policies in the configuration file =20 Any hint to go further in investigation ? =20 =20 You need to ensure that the org.ovirt.vdsm.Credentials.conf is = installed in /etc/dbus-1/system.d =20 =20 Thx =20 =20 Regards, =20 J.P. Ribeauville =20 P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 =20 jpribeauville@axway.com <mailto:jpribeauville@axway.com> http://www.axway.com <http://www.axway.com/> =20 P Pensez =C3=A0 l=E2=80=99environnement avant d=E2=80=99imprimer. =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=_D2BF7ABE-EF9C-4A77-A1D5-13CD694F8692 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"">Adding it back to the list<br class=3D""><div><blockquote = type=3D"cite" class=3D""><div class=3D"">On Feb 15, 2016, at 10:04 AM, = 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""><blockquote = type=3D"cite" class=3D"" style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant: 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;"><div class=3D""><br = class=3D"Apple-interchange-newline">On Feb 12, 2016, at 7:53 PM, = Jean-Pierre Ribeauville <<a href=3D"mailto:jpribeauville@axway.com" = class=3D"">jpribeauville@axway.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div = class=3D"WordSection1" style=3D"page: WordSection1; font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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;"><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;">Hi,<o:p class=3D""></o:p></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><o:p class=3D""> </o:p></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D"">When = trying to run this command : /usr/bin/python = /usr/share/ovirt-guest-agent/ovirt-guest-agent.py<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""><o:p class=3D""> </o:p></span></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D"">I got = this error :<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""><o:p = class=3D""> </o:p></span></div><div class=3D"" style=3D"margin: 0cm = 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D"">Exception in thread CredServer:<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D"">Traceback (most recent call last):<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> File = "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> self.run()<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> File = "/usr/share/ovirt-guest-agent/CredServer.py", line 253, in run<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> self._dbus =3D = CredDBusObject()<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""> File = "/usr/share/ovirt-guest-agent/CredServer.py", line 127, in __init__<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> self._name =3D = dbus.service.BusName('org.ovirt.vdsm.Credentials', bus)<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""> File = "/usr/lib64/python2.7/site-packages/dbus/service.py", line 131, in = __new__<o:p class=3D""></o:p></span></div><div class=3D"" style=3D"margin:= 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, = sans-serif;"><span lang=3D"EN-US" class=3D""> retval =3D= bus.request_name(name, name_flags)<o:p class=3D""></o:p></span></div><div= class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""> = File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 303, in = request_name<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""> = 'su', (name, flags))<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""> File = "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in = call_blocking<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""> = message, timeout)<o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D"">DBusException: = org.freedesktop.DBus.Error.AccessDenied: Connection ":1.128" is not = allowed to own the service "org.ovirt.vdsm.Credentials" due to security = policies in the configuration file<o:p class=3D""></o:p></span></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""><o:p = class=3D""> </o:p></span></div><div class=3D"" style=3D"margin: 0cm = 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D"">Any hint to go further in investigation = ?</span></div></div></div></blockquote><div style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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: 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: 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"">You need = to ensure that the org.ovirt.vdsm.Credentials.conf is installed in = /etc/dbus-1/system.d</div><br class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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;"><blockquote type=3D"cite" class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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;"><div = class=3D""><div class=3D"WordSection1" style=3D"page: WordSection1; = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: 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;"><div class=3D"" style=3D"margin: 0cm = 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D""><o:p class=3D""></o:p></span></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""><o:p = class=3D""> </o:p></span></div><div class=3D"" style=3D"margin: 0cm = 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D"">Thx</span></div></div></div></blockquote><div = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: 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><br = class=3D"" style=3D"font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: 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;"><blockquote type=3D"cite" class=3D""= style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: 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;"><div class=3D""><div = class=3D"WordSection1" style=3D"page: WordSection1; font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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;"><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span lang=3D"EN-US" class=3D""><o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = lang=3D"EN-US" class=3D"">Regards,<o:p = class=3D""></o:p></span></div><table class=3D"MsoNormalTable" border=3D"0"= cellspacing=3D"0" cellpadding=3D"0"><tbody class=3D""><tr class=3D""><td = valign=3D"top" class=3D"" style=3D"padding: 0cm 4.5pt 0cm 0cm;"><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><b class=3D""><span lang=3D"EN-US" = class=3D"" style=3D"font-size: 9pt; font-family: Arial, sans-serif; = color: rgb(136, 136, 136);"><o:p = class=3D""> </o:p></span></b></div><div class=3D"" style=3D"margin: = 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><b = class=3D""><span lang=3D"EN-US" class=3D"" style=3D"font-size: 8.5pt; = font-family: Arial, sans-serif; color: rgb(136, 136, 136);">J.P. = Ribeauville<o:p class=3D""></o:p></span></b></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span lang=3D"EN-US" class=3D"" style=3D"font-size: = 8.5pt; font-family: Arial, sans-serif; color: rgb(115, 115, 115);"><o:p = class=3D""> </o:p></span></div></td></tr><tr class=3D""><td = class=3D"" style=3D"padding: 2.25pt 4.5pt 4.5pt 0cm;"><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span class=3D"" style=3D"font-size: 8.5pt; = font-family: Arial, sans-serif; color: red;">P:<span = class=3D"Apple-converted-space"> </span></span><span class=3D"" = style=3D"font-size: 8.5pt; font-family: Arial, sans-serif; color: = rgb(115, 115, 115);">+33.(0).1.47.17.20.49</span><span class=3D"" = style=3D"font-size: 8.5pt; font-family: Arial, sans-serif; color: = rgb(115, 115, 115);"><o:p class=3D""></o:p></span></div><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span class=3D"" style=3D"font-size: 8.5pt; = font-family: Arial, sans-serif; color: rgb(115, 115, 115);">.<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = class=3D"" style=3D"font-size: 8.5pt; font-family: Arial, sans-serif; = color: rgb(115, 115, 115);">Puteaux 3 Etage 5 Bureau 4<o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = class=3D"" style=3D"font-size: 8.5pt; font-family: Arial, sans-serif; = color: rgb(115, 115, 115);"><o:p class=3D""> </o:p></span></div><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><u class=3D""><span lang=3D"EN-US" = class=3D"" style=3D"font-size: 9pt; color: red;"><a = href=3D"mailto:jpribeauville@axway.com" class=3D"" style=3D"color: = purple; text-decoration: underline;"><span lang=3D"FR" class=3D"" = style=3D"color: blue;">jpribeauville@axway.com</span></a></span></u><u = class=3D""><span class=3D"" style=3D"font-size: 9pt; color: red;"><br = class=3D""></span></u><span class=3D"" style=3D"font-size: 9pt; color: = red;"><a href=3D"http://www.axway.com/" class=3D"" style=3D"color: = purple; text-decoration: underline;"><span class=3D"" style=3D"color: = red;">http://www.axway.com</span></a><o:p = class=3D""></o:p></span></div><div class=3D"" style=3D"margin: 0cm 0cm = 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span = class=3D"" style=3D"font-size: 8.5pt; font-family: Arial, sans-serif; = color: rgb(115, 115, 115);"><o:p = class=3D""> </o:p></span></div></td></tr></tbody></table><p = class=3D"MsoNormal" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"></p><table class=3D"MsoNormalTable" = border=3D"0" cellspacing=3D"0" cellpadding=3D"0"><tbody class=3D""><tr = class=3D""><td class=3D"" style=3D"padding: 4.5pt 4.5pt 4.5pt 0cm;"><div = class=3D"" style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; = font-family: Calibri, sans-serif;"><span class=3D"" style=3D"font-size: = 18pt; font-family: Webdings; color: rgb(136, 136, 136);">P</span><span = class=3D"" style=3D"font-size: 8pt; font-family: Arial, sans-serif; = color: rgb(136, 136, 136);"> Pensez =C3=A0 l=E2=80=99environnement = avant d=E2=80=99imprimer.</span><span class=3D"" style=3D"font-size: = 8pt; font-family: Arial, sans-serif; color: rgb(136, 136, 136);"><o:p = class=3D""></o:p></span></div></td></tr></tbody></table><div class=3D"" = style=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: = Calibri, sans-serif;"><span class=3D""><o:p = class=3D""> </o:p></span></div><div class=3D"" style=3D"margin: 0cm = 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p = class=3D""> </o:p></div></div><span class=3D"" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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; float: = none; display: inline = !important;">_______________________________________________</span><br = class=3D"" style=3D"font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: 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;"><span class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: 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; float: none; display: inline = !important;">Users mailing list</span><br class=3D"" style=3D"font-family:= Helvetica; font-size: 12px; font-style: normal; font-variant: 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;"><a = href=3D"mailto:Users@ovirt.org" class=3D"" style=3D"color: purple; = text-decoration: underline; font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: 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;">Users@ovirt.org</a><br class=3D"" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: 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;"><a = href=3D"http://lists.ovirt.org/mailman/listinfo/users" class=3D"" = style=3D"color: purple; text-decoration: underline; font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: 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;">http://lists.ovirt.org/mailman/listinfo/users</a></div></blockquote>= </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_D2BF7ABE-EF9C-4A77-A1D5-13CD694F8692--
participants (1)
-
Vinzenz Feenstra