Actions
Bug #12463
closedTransient impossible to accept node => LDAP error / missing "ou=Accepted Nodes" entry
Status:
Rejected
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
After installation of a fresh Rudder 4.3.0, I tried to accept 3 nodes and got an error message:
[2018-04-17 11:51:52] ERROR nodes.pending - Error when trying to accept node e703bd89-d8cd-48e1-865b-4e2bde7de3e2. Rollbacking. <- Error when executing accept node process named accept_new_server:inventory <- Can not move 'nodeId=e703bd89-d8cd-48e1-865b-4e2bde7de3e2,ou=Nodes,ou=Pending Inventories,ou=Inventories,cn=rudder-configuration' to new parent 'ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration': no such object [2018-04-17 11:51:52] ERROR com.normation.inventory.ldap.core.FullInventoryRepositoryImpl - Error when updating the container value when moving nodes 'e703bd89-d8cd-48e1-865b-4e2bde7de3e2' <- Can not apply modifiction on 'nodeId=e703bd89-d8cd-48e1-865b-4e2bde7de3e2,ou=Nodes,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration': no such object [2018-04-17 11:51:52] ERROR com.normation.inventory.ldap.core.FullInventoryRepositoryImpl - Exception was: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.modify(LDAPConnection.java:2765) at com.normation.ldap.sdk.RwLDAPConnection.$anonfun$modifyAction$3(LDAPConnection.scala:539) at scala.util.control.Exception$Catch.apply(Exception.scala:224) at com.normation.ldap.sdk.RwLDAPConnection.$anonfun$modifyAction$1(LDAPConnection.scala:539) at com.normation.ldap.sdk.RwLDAPConnection.applyMod(LDAPConnection.scala:487) at com.normation.ldap.sdk.RwLDAPConnection.$anonfun$applyModify$2(LDAPConnection.scala:545) at com.normation.ldap.sdk.RwLDAPConnection.modify(LDAPConnection.scala:557) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$updateNodes$2(FullInventoryRepositoryImpl.scala:148) at com.normation.utils.Control$.$anonfun$bestEffort$1(Control.scala:70) at scala.collection.immutable.List.foreach(List.scala:389) at com.normation.utils.Control$.bestEffort(Control.scala:70) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.updateNodes(FullInventoryRepositoryImpl.scala:147) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$move$9(FullInventoryRepositoryImpl.scala:216) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$move$4(FullInventoryRepositoryImpl.scala:187) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.move(FullInventoryRepositoryImpl.scala:181) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$move$15(FullInventoryRepositoryImpl.scala:408) at net.liftweb.common.Full.flatMap(Box.scala:808) at net.liftweb.common.Box$WithFilter.flatMap(Box.scala:475) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$move$13(FullInventoryRepositoryImpl.scala:407) at net.liftweb.common.Full.map(Box.scala:806) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$move$12(FullInventoryRepositoryImpl.scala:400) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.move(FullInventoryRepositoryImpl.scala:397) at com.normation.rudder.services.servers.AcceptInventory.acceptOne(NewNodeManager.scala:713) at com.normation.rudder.services.servers.ComposedNewNodeManager.$anonfun$acceptOne$1(NewNodeManager.scala:474) at com.normation.utils.Control$.$anonfun$sequence$1(Control.scala:54) at scala.collection.immutable.List.foreach(List.scala:389) at com.normation.utils.Control$.sequence(Control.scala:54) at com.normation.rudder.services.servers.ComposedNewNodeManager.acceptOne(NewNodeManager.scala:472) at com.normation.rudder.services.servers.ComposedNewNodeManager.accept(NewNodeManager.scala:524) at com.normation.rudder.services.servers.ComposedNewNodeManager.accept$(NewNodeManager.scala:490) at com.normation.rudder.services.servers.NewNodeManagerImpl.accept(NewNodeManager.scala:198) at com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1(AcceptNode.scala:145) at com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$addNodes$1$adapted(AcceptNode.scala:143) at scala.collection.immutable.List.foreach(List.scala:389) at com.normation.rudder.web.snippet.node.AcceptNode.addNodes(AcceptNode.scala:143) at com.normation.rudder.web.snippet.node.AcceptNode.$anonfun$listNode$6(AcceptNode.scala:294)
I tried again after that, and everything went as expected.
Files
Actions