Provisioning operations troubleshooting
This section describes how to troubleshoot bugs and explains known issues of provisioning operations
Two failures on this page share one cause: the connector has become unbound from RabbitMQ and is no longer receiving requests. OpenIAM is aware of it and a permanent fix is in progress; until then, re-saving the connector rebinds it.
An identity stays in PENDING_CREATE or PENDING_UPDATE
A user's identity keeps the status PENDING_CREATE or PENDING_UPDATE long after provisioning, even though the connector has already created or updated the account
The connector is unbound from RabbitMQ and no longer receives requests
Re-save the connector. In Webconsole → Provisioning → Connectors, open the connector that is failing and click Save without changing anything. Saving is what rebinds it.
Confirm the replies are arriving. Open the managed system dashboard and click the connector replies icon on that managed system's row.
Or check the audit log. Responses appear at the top of the search results as one of:
SAVE_CONNECTOR_RESPONSESAVE_GROUP_CONNECTOR_RESPONSESEARCH_CONNECTOR_RESPONSEENABLE_CONNECTOR_RESPONSEDISABLE_CONNECTOR_RESPONSEDELETE_CONNECTOR_RESPONSERESET_PASSWORD_CONNECTOR_RESPONSE
Sync through a connector returns nothing
The audit events PROVISIONING_USER_SEARCH and PROVISIONING_GROUP_SEARCH carry the error Response is not received from RabbitMQ during reply timeout
The connector is unbound from RabbitMQ; the wrong synchronization source is selected; or the query returned more rows than the connector could process inside the reply timeout
Re-save the connector. As above — Webconsole → Provisioning → Connectors, open the connector, click Save. Then check the managed system dashboard's connector replies icon.
Set Synchronization Source to Connector — Asynchronous and Multi-Threaded. The older plain Connector source is deprecated and does not return results this way.
Raise the reply timeout. A query returning many rows can take longer than the 30-second default, and the reply is discarded before the connector finishes. Extend the timeout on the IDM and synchronization services, then restart them and run the sync again.
Add the option to start.sh in /usr/local/openiam/services — the script each OpenIAM service unit runs, with the service name as its first argument:
$JAVA_HOME/bin/java -Dlogging.level.root=INFO -Dlogging.level.org.openiam=WARN -Dorg.openiam.mq.broker.reply.timeout=3000000 -Dconfpath=$HOME_DIR -jar $JAVA_OPTS $HOME_DIR/services/bin/$1.jar > $HOME_DIR/logs/$1.logThe value is in milliseconds — 3000000 is 50 minutes.
Connector error codes
When a connector operation fails, the response carries one of the shared ConnectorErrorCode values below (visible in the audit log's connector-response entry and in the connector's own log). Use this table to map the code to its likely cause.
Configuration and connectivity
INVALID_CONFIGURATION
The managed-system configuration is incomplete or wrong (missing attribute, bad path, etc.).
UNABLE_TO_CONNECT
The connector could not reach the target system — check URL, network, and credentials.
TEST_CONNECTION_ERROR
The test-connection operation failed.
CERTIFICATE_INSTALLATION
A TLS certificate could not be installed/trusted.
JDBC_DRIVER_NOT_FOUND
The JDBC driver class could not be loaded — wrong class name or driver JAR missing from the connector classpath.
SCIM_CLIENT_NOT_INITIALIZED
The SCIM client failed to initialize before the operation.
NO_FILE
A required file (for example, a configuration file) was not found.
Request problems
EMPTY_REQUEST / NULL_OPERATION / NULL_OBJECT_TYPE
The incoming request is malformed — missing body, operation, or object type.
OBJECT_TYPE_NOT_SUPPORTED / OPERATION_NOT_SUPPORTED
The connector does not support the requested object type or operation (see the connector page's supported-operations table).
INIT_REQUEST_CLASS_ERROR / REQUEST_INSTANTIATE_ERROR
The request message could not be deserialized into the expected class — typically a version mismatch between OpenIAM and the connector.
INVALID_SEARCH_QUERY
The search/sync query is invalid for this connector.
SEARCH_BASE_DN_NOT_DEFINED
(LDAP) No search base DN configured.
NO_SUCH_IDENTIFIER
The referenced object/identity was not found on the target.
Operation failures
CRUD_OPERATION_ERROR / SAVE_OPERATION_ERROR
A create/update/delete operation failed on the target — the error text carries the underlying cause.
ERROR_ON_CREATE_USER / ERROR_ON_UPDATE_USER / ERROR_ON_DELETE_USER / ERROR_ON_SELECT_USER
The specific user operation failed.
ERROR_ON_SUSPEND_USER / ERROR_ON_RESUME_USER / ERROR_ON_LOCK_USER
The status-change operation failed.
ERROR_ON_RESET_PASSWORD / NOT_VALID_PASSWORD
Password reset failed / the password violates the target's rules.
SEARCH_USER_FAILED / SEARCH_GROUP_FAILED / NO_RESULTS_RETURNED
A search returned an error or nothing.
SQL_ERROR
(Database connectors) The SQL statement failed — check the query and the service account's privileges.
DIRECTORY_ERROR
(Directory connectors) An LDAP/directory operation error.
OTHER_ERROR
Any unclassified failure — check the connector log for the stack trace.
Last updated
Was this helpful?