Project

General

Custom queries

Profile

Actions

Bug #17557

closed

Error 500 when adding or deleting nodes through API

Added by Victor Héry almost 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
27
Name check:
To do
Fix check:
To do
Regression:

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,

#4

Updated by Nicolas CHARLES almost 5 years ago

  • Target version set to 6.0.7
#6

Updated by Nicolas CHARLES almost 5 years ago

  • Category set to Performance and scalability
#7

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.7 to 6.0.8
#8

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
#9

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.8 to 6.0.9
#10

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
#11

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.10 to 798
  • Priority changed from 31 to 30
#12

Updated by Benoît PECCATTE almost 4 years ago

  • Target version changed from 798 to 6.1.14
  • Priority changed from 30 to 27
#13

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
#14

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
#15

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
#16

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
#17

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
#18

Updated by François ARMAND about 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF