Bug #17557
closedError 500 when adding or deleting nodes through API
Description
Hello,
I got an odd problem when using the API to delete and deploy nodes.
Each action on nodes seems to launch a "regenerate policy" (which I assume is normal), but when I add or delete multiple nodes I sometimes (random) get an error 500 from the API.
Apache just show a 500 on the API:
[28/May/2020:09:35:20 +0200] "DELETE /rudder/api/latest/nodes/f10b0a1b-70f4-4d6c-94f2-d1bccee9fbac HTTP/1.1" 500
And when digging in the rudder logs I found this problem:
May 28 09:35:42 rudder rudder[scheduledJob]: [ERROR] Error when updating dynamic group 'all-nodes-with-cfengine-agent' <- Error when processing request for updating dynamic group 'All classic Nodes' (all-nodes-with-cfengine-agent) <- Inconsistancy: When trying to access Node information from cache was empty, but it should not, this is a developper issue, please open an issue on https://issues.rudder.io
As asked is the message, I open this bug :-)
But anyway this problem is problematic because I do not know how to solve this problem, and even when deleting manually, doing factory-reset, readding the nodes, etc, sometimes is not sufficient, and difficult to automatize :-/
I am not sure about what information could help you work on this problem, so do not hesitate to tell me if you need any more details!
Thanks for the help.
Regards,
Updated by François ARMAND over 4 years ago
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Priority changed from 0 to 32
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.9 to 6.0.10
- Priority changed from 32 to 31
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.0.10 to 798
- Priority changed from 31 to 30
Updated by Benoît PECCATTE almost 4 years ago
- Target version changed from 798 to 6.1.14
- Priority changed from 30 to 27