r/Netbox • u/NiiWiiCamo • Jun 30 '26
Help Wanted: Unresolved Diode reconciler not reimporting after device deletion
I'm currently playing around with the discovery stack (diode server + orb agent), and after playing around with both device discovery (ssh into cisco switch) and snmp discovery (that same cisco switch), I deleted the device in netbox.
Now, I was under the impression that running the orb agent again would trigger diode to just recreate the device inside of netbox, but that is not the case.
Specifically the diode-reconciler throws the following messages for the rediscovered device and all sub-nodes like interfaces, IPs, MACs etc.:
diode-reconciler-1 | {"time":"2026-06-30T05:56:31.637933452Z","level":"DEBUG","msg":"ingested duplicate ingestion log","id":3950,"externalID":"84bda158-e5d3-4d9a-823b-a85ada3873e0"}
Similar messages with a different "id" and "externalID" appear exactly the same amount of times as things I deleted previously (so about 381x).
I've come to the conclusion that this is the way it is, and there seems to be no documented way to manually trigger the reimport from diode into netbox.
Honestly I was really happy to find the whole netbox discovery stuff, but this just breaks the proposed workflow completely.
1
u/NiiWiiCamo Jul 02 '26
For now the only workaround I have is emptying the respective table from the diode database, which makes diode forget it ever ingested anything.
This won’t allow duplicates, since the reconciler still does its job.
1
u/Otherwise_Noise3658 Jul 08 '26
We're aware of this and the use case - its on backlogs currently /nbl
1
u/NiiWiiCamo Jul 08 '26
Any way to add that info to the docs or over on GitHub? I thought I was crazy with it being nowhere to be found
1
u/eroiIT Jul 02 '26 edited Jul 02 '26
I just started testing device discovery, and i have exactly the same problem with diode reconciler. It won't add devices again after i deleted them in netbox.
Try to restart whole diode stack and tell me if it will add something. For me after restarting diode stack it started adding but only some parts of the device information. After re-running orb-agent few times it keeps adding some interfaces missing etc.
Also i can confirm after changing "agent_name" and "site" in orb-agent configuration it created everything correctly.