Actions
Bug #25319
openArchitecture #24963: Persist compliance in base to know last state for a long time
Architecture #25219: Cache for node properties and hierarchies
Inheritance error in properties stop running startup
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
Since parent evolution was merged, we can't boot rudder anymore if the inheritance property graphe containes errors, because said error are catched by the boot checker and stop Rudder:
2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.runner.Runner - Runner 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.server.Server - jetty-9.4.48.v20220622; built: 2022-06-21T20:42:25.880Z; git: 6b67c5719d1f4371b33655ff2d047d24e171e49a; jvm 17.0.7+8-LTS-224 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.annotations.AnnotationConfiguration - Scanning elapsed time=278ms 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.server.handler.ContextHandler.rudder - No Spring WebApplicationInitializer types detected on classpath JVM property -Dlogback.configurationFile is not defined, use configuration file in classpath: /file:/home/raphael/Rudder/rudder/webapp/sources/rudder/rudder-web/target/classes/logback.xml 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults 2024-08-19 10:32:07+0200 INFO org.eclipse.jetty.server.session - node0 Scavenging every 660000ms 2024-08-19 10:32:07+0200 INFO application - Rudder starts with PID 13098 on 12 cores ... 2024-08-19 10:32:08+0200 INFO application - Global exception handler configured to stop Rudder on: java.lang.Error ... [2024-08-19T10:32:11.912+02:00] ERROR FATAL An error happen during Rudder boot. Rudder will stop now. Error: SystemError: Error during initialization of Rudder; cause was: java.lang.RuntimeException: uncaught exception -> java.lang.RuntimeException: uncaught exception at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftInitContextListener.scala:154) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1073) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572) at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:1002) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:765) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:423) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:387) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.runner.Runner.run(Runner.java:519) at org.eclipse.jetty.runner.Runner.main(Runner.java:564) Caused by: Exception in thread "zio-fiber-117" com.normation.errors$Accumulated: Accumulated(NonEmptyList(Inconsistency(Error when trying to find overrides for group property 'test'. Several groups which are not in an inheritance relation define it. You will need to define a new group with all these groups as parent and choose the order on which you want to do the override by hand. Faulty groups: Test Group Save (b90fd8fe-0096-4561-b6eb-92ca11d61c81), Group #1 (37170c38-9557-44fb-bda8-f1ffd685837e)))) at com.normation.errors.PureToIoResult.toIO(ZioCommons.scala:214) at com.normation.rudder.properties.NodePropertiesServiceImpl.updateAll(NodePropertiesService.scala:76) at com.normation.rudder.properties.NodePropertiesServiceImpl.updateAll(NodePropertiesService.scala:75) at com.normation.zio.ZioRuntime.unsafeRun(ZioCommons.scala:445) Process finished with exit code 1
Actions