Bug #24866
open
Pending node say 1 node but none present
Added by François ARMAND 2 months ago.
Updated 15 days ago.
Category:
Web - Nodes & inventories
Description
We have seen a case where:
- pending node says there is one node present on dashboard
- if you go to pending node page, there's 0 nodes
- LDAP contains a node inventory
- the node hostname matches one already accepted in rudder
- if we delete the accepted node, then the node appears in pending node.
Files
I was not able to reproduce that.
I install a rudder server 7.3, with a 7.3 node ; then updagraded to 8.0 and added a 8.0 node ; then upgraded to 8.1 and added a 8.1 node.
Then I factory-reset all the nodes, and the correctly appeared in pending nodes.
And if I try to accept them, I have the correct error message (even if not well styled).
The difference in dashboard and pending is because dashboard use a special case LDAP request and not the same logic than pending node screen.
We can make the two converge, at the price of perhaps lower perf if there is a lot of pending node (but we should do it for consistency nonetheless).
So, I believe that:
- either there is something special with Rudder 6.2 nodes in Rudder 8.1 (the problematic node were using very old rudder agent)
- or in each case, there was a problem with the inventory save in LDAP, which let things a bit broken in an interesting and complicated way to reproduce.
![](/attachments/download/3077/clipboard-202405161853-xkwfg.png)
- Target version changed from 8.1.3 to 8.1.4
- Target version changed from 8.1.4 to 8.1.5
- Target version changed from 8.1.5 to 8.1.6
Also available in: Atom
PDF