--Apple-Mail=_1C19D31E-4C14-4940-8073-42031CD7C271
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I found that:
http://dunnry.com/blog/TransitiveLinkValueFilterEvaluation.aspx
Le 12 mai 2017 =C3=A0 14:44, Fabrice Bacchella =
<fabrice.bacchella(a)orange.fr> a =C3=A9crit :
=20
Ok, I found where it's slow, it's a ldapsearch on our AD:
=20
time ldapsearch -a never -E pr=3D100/noprompt -H ldap://ad1 =
<ldap://ad1> -b
DC=3D... -s sub =
'(&(groupType:1.2.840.113556.1.4.803:=3D2147483648)(&(objectCategory=3Dgro=
up)(member:1.2.840.113556.1.4.1941:=3Duserdn)))' objectGUID name =
description
=20
# numResponses: 70
# numEntries: 66
# numReferences: 3
=20
real 0m10.801s
user 0m0.007s
sys 0m0.012s
=20
That matches the log line:
2017-05-12 14:22:17,413+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework]
(pool-25-thread-2) [] =
Performing SearchRequest 'SearchRequest(baseDN=3D'...', scope=3DSUB, =
deref=3DNEVER, sizeLimit=3D0, timeLimit=3D0, =
filter=3D'&(objectCategory=3Dgroup)(groupType:1.2.840.113556.1.4.803:=3D21=
47483648)(member:1.2.840.113556.1.4.1941:=3D...)', attrs=3D{objectGUID, =
name, description}, controls=3D{SimplePagedResultsControl(pageSize=3D100, =
isCritical=3Dfalse)})' request on server '...'
2017-05-12 14:22:24,456+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-1) [] =
SearchResult: SearchResult(resultCode=3D0 (success), messageID=3D3, =
entriesReturned=3D66, referencesReturned=3D0, =
responseControls=3D{SimplePagedResultsControl(pageSize=3D0, =
isCritical=3Dfalse)})
=20
=20
And without 1.2.840.113556.1.4.1941
=20
# numResponses: 54
# numEntries: 50
# numReferences: 3
=20
real 0m0.051s
user 0m0.008s
sys 0m0.007s
=20
So it's an AD problem. 1.2.840.113556.1.4.1941 make it slow, but =
without it,
the result is not the same. But I don't know if it's an AD =
or ovirt problem. I'll keep investigating.
=20
Thank's for your help.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_1C19D31E-4C14-4940-8073-42031CD7C271
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"">I found that:<div class=3D""><br
class=3D""></div><div =
class=3D""><a =
href=3D"http://dunnry.com/blog/TransitiveLinkValueFilterEvaluation.a... =
class=3D"">http://dunnry.com/blog/TransitiveLinkValueFilterE...
</a></div><div class=3D""><br
class=3D""></div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite"
class=3D""><div class=3D"">Le =
12 mai 2017 =C3=A0 14:44, Fabrice Bacchella <<a =
href=3D"mailto:fabrice.bacchella@orange.fr" =
class=3D"">fabrice.bacchella(a)orange.fr</a>&gt; a =C3=A9crit
:</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"">Ok, I found =
where it's slow, it's a ldapsearch on our AD:<div
class=3D""><br =
class=3D""></div><div class=3D""><div
style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">time =
ldapsearch -a never -E pr=3D100/noprompt -H <a href=3D"ldap://ad1" =
class=3D"">ldap://ad1</a> -b DC=3D... -s sub =
'(&(groupType:1.2.840.113556.1.4.803:=3D2147483648)(&(objectCatego=
ry=3Dgroup)(member:1.2.840.113556.1.4.1941:=3Duserdn)))' objectGUID name =
description</span></div><br class=3D""></div><div
class=3D""><div =
style=3D"margin: 0px; line-height: normal;" class=3D""><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numResponses:
70</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numEntries:
66</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numReferences:
3</span></div><div =
style=3D"font-family: Menlo; font-size: 11px; margin: 0px; line-height: =
normal; min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div
style=3D"font-family: Menlo; =
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">real<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m10.801s</span></div><div style=3D"font-family: Menlo;
=
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">user<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.007s</span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">sys<span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.012s</span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">That =
matches the log line:</span></div><div style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures;" class=3D""><div style=3D"margin: 0px;
line-height: =
normal;" class=3D""><font face=3D"Menlo"
class=3D""><span =
style=3D"font-size: 11px;" class=3D"">2017-05-12 14:22:17,413+02
DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-2) [] =
Performing SearchRequest 'SearchRequest(baseDN=3D'...', scope=3DSUB, =
deref=3DNEVER, sizeLimit=3D0, timeLimit=3D0, =
filter=3D'&(objectCategory=3Dgroup)(groupType:1.2.840.113556.1.4.803:=3D=
2147483648)(member:1.2.840.113556.1.4.1941:=3D...)', attrs=3D{objectGUID, =
name, description}, con</span></font><span style=3D"font-size: 11px;
=
font-family: Menlo;" =
class=3D"">trols=3D{SimplePagedResultsControl(pageSize=3D100, =
isCritical=3Dfalse)})' request on server =
'...'</span></div></span></div><div
style=3D"margin: 0px; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures; font-size: 11px;" class=3D""><font
face=3D"Menlo" =
class=3D""><div style=3D"margin: 0px; line-height: normal;" =
class=3D"">2017-05-12 14:22:24,456+02 DEBUG =
[org.ovirt.engineextensions.aaa.ldap.Framework] (pool-25-thread-1) [] =
SearchResult: SearchResult(resultCode=3D0 (success), messageID=3D3, =
entriesReturned=3D66, referencesReturned=3D0, =
responseControls=3D{SimplePagedResultsControl(pageSize=3D0, =
isCritical=3Dfalse)})</div></font></span></div><div
style=3D"font-family: =
Menlo; font-size: 11px;" class=3D""><span
style=3D"font-variant-ligatures:=
no-common-ligatures" class=3D""><br
class=3D""></span></div><div =
style=3D"font-family: Menlo; font-size: 11px;" class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div><div style=3D"font-family: Menlo;
font-size: =
11px;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">And =
without </span>1.2.840.113556.1.4.1941</div><div =
style=3D"font-family: Menlo; font-size: 11px;" class=3D""><br =
class=3D""></div><div style=3D"font-family: Menlo; font-size:
11px;" =
class=3D""><div style=3D"margin: 0px; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures" =
class=3D""># numResponses: 54</span></div><div
style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># numEntries:
50</span></div><div =
style=3D"margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">#
=
numReferences: 3</span></div><div style=3D"margin: 0px; line-height:
=
normal; min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div
style=3D"margin: 0px; =
line-height: normal;" class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">real<span
class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>0m0.051s</span></div><div
=
style=3D"margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">user<span=
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>0m0.008s</span></div><div style=3D"margin: 0px;
line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">sys<span
class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>0m0.007s</span></div><div
=
style=3D"margin: 0px; line-height: normal;" class=3D""><br =
class=3D""></div></div><div style=3D"font-family: Menlo;
font-size: =
11px; margin: 0px; line-height: normal;" class=3D"">So it's an AD =
problem. 1.2.840.113556.1.4.1941 make it slow, but without it, the =
result is not the same. But I don't know if it's an AD or ovirt problem. =
I'll keep investigating.</div><div style=3D"font-family: Menlo; =
font-size: 11px; margin: 0px; line-height: normal;" class=3D""><br =
class=3D""></div><div style=3D"font-family: Menlo; font-size:
11px; =
margin: 0px; line-height: normal;" class=3D"">Thank's for your =
help.</div></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""></div></body></html>=
--Apple-Mail=_1C19D31E-4C14-4940-8073-42031CD7C271--