Project

General

Profile

Actions

Bug #18899

closed

Error in postCommit pipeline with processor 'post_commit_inventory:pending_node_for_deleted_server'

Added by François ARMAND almost 4 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

When a node was in deleted state and a new inventory is provided for it, we wrongly get an inventory-processing error for missing object:

[2021-02-10 21:41:22+0100] ERROR inventory-processing - Error when trying to process report: Can't merge inventory report in LDAP directory, aborting; cause was: Error in postCommit pipeline with processor 'post_commit_inventory:pending_node_for_deleted_server'. The commit was done, we may be in a inconsistent state.; cause was: Error when moving node with ID '04546ae8-b26f-4ba2-8dad-09eb2f3362c2' from 'removed' to 'pending' ; cause was: BackendException: Error when doing action 'modify DN' with and LDIF change request: null; cause was: com.unboundid.ldap.sdk.LDAPException: no such object 
 -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$move$2(LDAPConnection.scala:606)
 -> com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyMod$1(LDAPConnection.scala:514)
Actions

Also available in: Atom PDF