[midPoint] LDAP ressource - timeouts and sync job not restarting

Pavol Mederly mederly at evolveum.com
Wed Jun 29 17:35:01 CEST 2022


Hello Rainer,

in my opinion this is a bug in midPoint. The correct behavior is to 
recognize this exception as a recoverable one, and reschedule the task.

You may consider logging a JIRA issue of "bug" type.

Note that misfire action does not apply in this case, because it is 
strictly for the situations where Quartz job trigger "misfires" i.e. its 
fire time passes without the job being started. (MidPoint task manager 
uses Quartz to run midPoint tasks.)

Best regards,

-- 
Pavol Mederly
Software developer
evolveum.com

On 29/06/2022 14:55, Rainer Herbst via midPoint wrote:
> Dear all,
>
> we use Midpoint 4.4.1 to sync users with their accounts in an DS389 
> LDAP server.
>
> So, we have configured an LDAP ressource and a recurring sync task. 
> LDAP connector is version 3.3. Everything works as expected, but once 
> in a while (several days) the task fails with a timeout error.
>
> In my understanding, the job should be restarted immediatly because 
> the "Misfire action" is set to "Execute immediatly".
>
> But the job hangs until I resume and start it manually. Than, it works 
> like a charm until the next timeout problem. :-(
>
> Is my understanding about the Misfire action correct? And why the job 
> is not restarted?
>
> For the record - the error message in the log looks like this:
>
> "2022-06-25 10:15:00,352 [REPOSITORY] [midPointScheduler_Worker-3] 
> INFO 
> (com.evolveum.midpoint.repo.common.activity.run.StatisticsLogger): 
> Completed bucket #1 for reconciliation (operation completion) 
> ('operationCompletion' in Task(id:1649676774993-0-1, name:LDAP-Sync, 
> oid:ad01c90b-39af-40eb-91dd-429d529f3dec)).
> Current run: processed 0 objects in 0.1 seconds, got 0 errors.
> Overall: processed 0 objects in 0.0 seconds, got 0 errors. Real 
> progress: 0.
> 2022-06-25 10:15:05,476 [] [midPointScheduler_Worker-3] WARN 
> (com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnIdUtil): Got 
> ConnId exception (might be handled by upper layers later) 
> org.identityconnectors.framework.common.exceptions.OperationTimeoutException 
> in connector:bf58eea3-a78d-4887-bf7b-68ea01703d9f(ConnId 
> com.evolveum.polygon.connector.ldap.LdapConnector v3.3): 
> ConnectorSpec(resource:ebd0bf7b-7e80-4175-ba5e-4fd5de2ecd62(LDAP 
> Server (389 Directory Server)), name=null, 
> oid=bf58eea3-a78d-4887-bf7b-68ea01703d9f): null, reason: null (class 
> org.identityconnectors.framework.common.exceptions.OperationTimeoutException)
> 2022-06-25 10:15:05,477 [REPOSITORY] [midPointScheduler_Worker-3] 
> ERROR 
> (com.evolveum.midpoint.repo.common.activity.run.ActivityRunResult): 
> Unhandled exception in 
> ResourceObjectsReconciliationActivityRun{act=EmbeddedActivity{path='resourceObjects'}}.
> com.evolveum.midpoint.util.exception.CommunicationException: Error 
> communicating with the connector 
> ConnectorInstanceIcfImpl(connector:bf58eea3-a78d-4887-bf7b-68ea01703d9f(ConnId 
> com.evolveum.polygon.connector.ldap.LdapConnector v3.3)): Operation 
> timed out: 
> org.identityconnectors.framework.common.exceptions.OperationTimeoutException(null)
>   at 
> com.evolveum.midpoint.provisioning.impl.resourceobjects.ResourceObjectConverter.searchResourceObjects(ResourceObjectConverter.java:1399)"
>
>
>
> Viele Grüße
>
> Rainer Herbst
> Leiter IT-Service
> Phone: +49 331 7499-257
> e-mail: rainer.herbst at aip.de
> https://www.aip.de
>
> ----------------------------------------------------------------------------------------------- 
>
> Leibniz-Institut für Astrophysik Potsdam (AIP)
> An der Sternwarte 16, 14482 Potsdam
>
> Vorstand: Prof. Dr. Matthias Steinmetz, Wolfram Rosenbach
> Stiftung bürgerlichen Rechts
> Stiftungsverzeichnis Brandenburg: 26 742-00/7026
> ----------------------------------------------------------------------------------------------- 
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint


More information about the midPoint mailing list