[midPoint] Circular dependency error

Rodrigo Yanis ryanis at identicum.com
Tue Feb 14 15:13:24 CET 2017


Hello everyone,

We're currently experiencing an issue with an LDAP driver throwing a
Circular Dependency error when attempting to delete a provisioned user.
We've configured the driver to be dependant on an Scripted SQL driver.

The error stacktrace (on debug) is the following:

> 2017-02-14 11:01:20,828 [] [http-bio-8080-exec-11] TRACE
> (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor):
> Determining wave for (deprovision):
> LensProjectionContext(ShadowType:d4178715-263b-4910-9d19-6205c9a91c09 on
> resource:00000000-0000-1de4-0002-000000000004(BANNER_PERSONAS))
> 2017-02-14 11:01:20,828 [] [http-bio-8080-exec-11] TRACE
> (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor):
> DEP(rev):
> com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType at c308d3b
> [strictness=STRICT,order=1,forceLoad=<null>,resourceRef=com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType at 2ed5f95[_referenceValue=PRV(oid=00000000-0000-1de4-0002-000000000004,
> targetType={.../common/common-3}ResourceType,
> targetName=BANNER_PERSONAS)],kind=ACCOUNT,intent=default]
> 2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] TRACE
> (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor):
> Determining wave for (provision):
> LensProjectionContext(ShadowType:fe4caa26-8eb2-4dde-849d-601735a8cdbf on
> resource:00000000-0000-1de4-0002-000000000001(ACTIVE_DIRECTORY_LDAP))
> 2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] TRACE
> (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor): DEP:
> com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType at c308d3b
> [strictness=STRICT,order=1,forceLoad=<null>,resourceRef=com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType at 2ed5f95[_referenceValue=PRV(oid=00000000-0000-1de4-0002-000000000004,
> targetType={.../common/common-3}ResourceType,
> targetName=BANNER_PERSONAS)],kind=ACCOUNT,intent=default]
> 2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] DEBUG
> (com.evolveum.midpoint.model.impl.lens.projector.Projector): Projector
> failed: Circular dependency, path:
> 00000000-0000-1de4-0002-000000000004(ACCOUNT/default). Etime: 58 ms
> 2017-02-14 11:01:20,885 [] [http-bio-8080-exec-11] ERROR
> (com.evolveum.midpoint.web.page.admin.users.PageUsers): Couldn't delete
> user.
> com.evolveum.midpoint.util.exception.PolicyViolationException: Circular
> dependency, path: 00000000-0000-1de4-0002-000000000004(ACCOUNT/default)
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.checkForCircular(DependencyProcessor.java:269)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWaveProvision(DependencyProcessor.java:130)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWave(DependencyProcessor.java:110)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWaveDeprovision(DependencyProcessor.java:208)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWave(DependencyProcessor.java:107)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.sortProjectionsToWaves(DependencyProcessor.java:75)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:239)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:112)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:311)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:221)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:575)
> ~[model-impl-3.5.jar:na]
>         at
> com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:371)
> ~[model-impl-3.5.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.8.0_121]


Please note that *00000000-0000-1de4-0002-000000000004* stands for the
resource's OID to which our Active Directory resource is dependant.

We're not sure why this is happening - it seems like the
dependencyProcessor is reevaluating provisioning for the Active Directory
projection and failing as the dependency was already deprovisioned.

Do you have any insights on this?

Thanks,

*Rodrigo Yanis.*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4824-9971
ryanis at identicum.com
www.identicum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170214/52c7159d/attachment.htm>


More information about the midPoint mailing list