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
Updated by François ARMAND over 6 years ago
- File 2018_04_17.jetty.log 2018_04_17.jetty.log added
In fact, there is a lot of LDAP error in the logs, cf attachement.
Updated by François ARMAND over 6 years ago
- Status changed from New to Rejected
I'm not able at all to reproduce. I'm wondering if there wasn't a problem with our init script (not sure what). I'm closing it, because I don't see what can be done on that one without a reproducer. If anybody find something like that, please reoppen that one, we will try to understand the root cause.
=> closing "Jupiter was not correctly aligned with Venus, which caused a shift in the force in Uranus and made it broke Rudder in its wrath. Computer science is hard."
Updated by François ARMAND over 6 years ago
- Related to Bug #12467: Node with "no machine inventory" in list added
Updated by Benoît PECCATTE over 6 years ago
- Subject changed from Transcient impossible to accept node => LDAP error / missing "ou=Accepted Nodes" entry to Transient impossible to accept node => LDAP error / missing "ou=Accepted Nodes" entry
Actions