Project

General

Profile

Actions

Bug #12463

closed

Transient impossible to accept node => LDAP error / missing "ou=Accepted Nodes" entry

Added by François ARMAND over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
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

2018_04_17.jetty.log (247 KB) 2018_04_17.jetty.log François ARMAND, 2018-04-17 14:17

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #12467: Node with "no machine inventory" in listRejectedFrançois ARMANDActions
Actions #1

Updated by François ARMAND over 6 years ago

In fact, there is a lot of LDAP error in the logs, cf attachement.

Actions #2

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."

Actions #3

Updated by François ARMAND over 6 years ago

  • Related to Bug #12467: Node with "no machine inventory" in list added
Actions #4

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

Also available in: Atom PDF