Project

General

Profile

Actions

Bug #10456

closed

Several core features don't work anymore with more than 1000 nodes

Added by Janos Mattyasovszky over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
60
Name check:
Fix check:
Regression:

Description

I somehow managed to produce this by adding 2287 nodes to a 4.1-rc1, and this happened after the jetty-restart:

[2017-03-17 15:09:26] INFO  migration - Migration of inline variables in Directives to 'rudder' namespace already done, skipping
[2017-03-17 15:09:26] INFO  bootchecks - Check for force reload of Techniques library
[2017-03-17 15:09:26] INFO  bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' does not exist, do not Technique library will not be reloaded
[2017-03-17 15:09:26] INFO  bootchecks - Check that system groups 'hasPolicyServer-*' are dynamics and correct them
[2017-03-17 15:09:26] INFO  bootchecks - Resume policy update if it was running before shutdown
[2017-03-17 15:09:26] INFO  bootchecks - Flag file '/opt/rudder/etc/policy-update-running' found, Start a new policy update now
[2017-03-17 15:09:26] INFO  bootstrap.liftweb.Boot - classpath
[2017-03-17 15:09:26] INFO  com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Start policy generation, checking updated rules
[2017-03-17 15:09:26] INFO  application - Application Rudder started
[2017-03-17 15:09:26] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Pre-policy-generation scripts hooks ran in 20 ms
[2017-03-17 15:09:26] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Pre-policy-generation modules hooks in 2 ms, start getting all generation related data.
2017-03-17 15:09:26.455:INFO:oejs.AbstractConnector:Started SelectChannelConnector@127.0.0.1:8080
[2017-03-17 15:09:26] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - All relevant information fetched in 313 ms, start names historization.
[2017-03-17 15:09:30] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Node contexts built in 4187 ms, start to build new node configurations.
[2017-03-17 15:09:31] ERROR historization - Error with update nodes historization process <- Could not update the nodes historization information in base. <- null
[2017-03-17 15:09:31] ERROR historization - Root cause was: null
[2017-03-17 15:09:31] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Policy generation completed in 4808 ms
[2017-03-17 15:09:31] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent - Error when updating policy, reason Could not update the nodes historization information in base. <- null
[2017-03-17 15:09:31] ERROR com.normation.rudder.batch.AsyncDeploymentAgent - Policy update error for process '10' at 2017-03-17 15:09:31: Could not update the nodes historization information in base.
Exception in thread "pool-6-thread-15" java.lang.StackOverflowError
        at doobie.util.atom$Atom$$anon$2.$anonfun$set$2(atom.scala:47)
        at doobie.util.atom$Atom$$anon$2.$anonfun$set$2$adapted(atom.scala:47)
        at doobie.util.composite$LowerPriorityComposite$$anon$6.$anonfun$set$4(composite.scala:109)
        at doobie.util.composite$LowerPriorityComposite$$anon$6.$anonfun$set$4$adapted(composite.scala:109)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2$adapted(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2$adapted(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2$adapted(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2$adapted(composite.scala:56)
        at doobie.util.composite$Composite$$anon$2.$anonfun$set$2(composite.scala:56)

  [[[cut for sanity, but this continues down quite a lot]]]


Related issues 3 (0 open3 closed)

Related to Rudder - Bug #11037: Missing agent reports after Rudder server restartReleasedFrançois ARMANDActions
Has duplicate Rudder - Bug #10453: Error during policy generationRejectedActions
Has duplicate Rudder - Bug #10380: Dashboard do not load due to stackoverflow error in 4.1RejectedFrançois ARMANDActions
Actions

Also available in: Atom PDF