Actions
Bug #24780
closed[Rudder 8.0.6] Installing OpenSCAP plugin breaks Webapp
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
Installing the OpenSCAP plugin on Rudder 8.0.6 breaks the WebApp.
Removing it makes the WebApp usable again.
Log :
2024-04-25 07:34:20+0000 INFO bootchecks.migration.techniques - Checking if some techniques need to be migrated to YAML format 2024-04-25 07:34:20+0000 ERROR com.normation.cfclerk.services.impl.GitTechniqueReader - Can not find the parent (root) category '/OpenSCAP_Policies_plugin/plugin_openscap_policies/1.0' for technique 'plugin_openscap_policies/1.0' 2024-04-25 07:34:22+0000 ERROR com.normation.cfclerk.services.impl.GitTechniqueReader - Can not find the parent (root) category '/OpenSCAP_Policies_plugin/plugin_openscap_policies/1.0' for technique 'plugin_openscap_policies/1.0' 2024-04-25 07:34:23+0000 INFO techniques.reader - Reloading technique library, no modified techniques found 2024-04-25 07:34:23+0000 INFO com.normation.rudder.services.policies.DeployOnTechniqueCallback - Update Technique library after updating all techniques at start up 2024-04-25 07:34:23+0000 INFO bootchecks - Trigger policy update automatically at start 2024-04-25 07:34:23+0000 INFO bootchecks - Remove LDAP entries breaking directive api, see https://issues.rudder.io/issues/22314 2024-04-25 07:34:23+0000 INFO bootchecks - Create system api token 2024-04-25 07:34:23+0000 INFO bootchecks - System api token file created in /var/rudder/run/api-token 2024-04-25 07:34:23+0000 INFO bootchecks - Load node compliance cache 2024-04-25 07:34:23.585:INFO :oejshC.rudder_xml:main: Initializing Spring root WebApplicationContext 2024-04-25 07:34:24+0000 INFO application - Configured authentication provider(s): [rootAdmin, file] 2024-04-25 07:34:24+0000 INFO application - No master admin account is defined. You can define one with 'rudder.auth.admin.login' and 'rudder.auth.admin.password' properties in the configuration file 2024-04-25 07:34:25+0000 INFO bootstrap.liftweb.Boot - classpath 2024-04-25 07:34:25+0000 INFO org.reflections.Reflections - Reflections took 154 ms to scan 5 urls, producing 40 keys and 189 values 2024-04-25 07:34:25+0000 INFO application - JVM property -Drudder.plugin.openScapPolicies.config is not defined, use configuration file in classpath 2024-04-25 07:34:25.957:WARN :oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@7d20d0b{rudder.xml,/rudder,file:///var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/,UNAVAILABLE}{/opt/rudder/share/webapps/rudder.war} java.lang.AbstractMethodError: Receiver class com.normation.plugins.openscappolicies.CheckRudderPluginEnableImpl does not define or inherit an implementation of the resolved method 'abstract void com$normation$plugins$PluginEnableImpl$_setter_$current_$eq(com.normation.plugins.PluginStatusInfo$EnabledNoLicense$)' of interface com.normation.plugins.PluginEnableImpl. at com.normation.plugins.PluginEnableImpl.$init$(PublicPlugin.scala:51) at com.normation.plugins.openscappolicies.CheckRudderPluginEnableImpl.<init>(EnablePluginImpl.scala:47) at bootstrap.rudder.plugin.OpenscapPoliciesConf$.pluginStatusService$lzycompute(OpenscapPoliciesConf.scala:101) at bootstrap.rudder.plugin.OpenscapPoliciesConf$.pluginStatusService(OpenscapPoliciesConf.scala:101) at bootstrap.rudder.plugin.OpenscapPoliciesConf$.<clinit>(OpenscapPoliciesConf.scala:118) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155) at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42) at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:185) at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1132) at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1113) at java.base/java.lang.reflect.Field.get(Field.java:425) at bootstrap.liftweb.Boot.$anonfun$initPlugins$1(Boot.scala:718) at scala.collection.StrictOptimizedIterableOps.map(StrictOptimizedIterableOps.scala:100) at scala.collection.StrictOptimizedIterableOps.map$(StrictOptimizedIterableOps.scala:87) at scala.collection.convert.JavaCollectionWrappers$JSetWrapper.map(JavaCollectionWrappers.scala:215) at bootstrap.liftweb.Boot.initPlugins(Boot.scala:718) at bootstrap.liftweb.Boot.boot(Boot.scala:264) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.liftweb.util.ClassHelpers.$anonfun$createInvoker$2(ClassHelpers.scala:357) at net.liftweb.http.DefaultBootstrap$.$anonfun$boot$1(LiftRules.scala:2250) at net.liftweb.common.Full.map(Box.scala:856) at net.liftweb.http.DefaultBootstrap$.boot(LiftRules.scala:2250) at net.liftweb.http.provider.HTTPProvider.bootLift(HTTPProvider.scala:88) at net.liftweb.http.provider.HTTPProvider.bootLift$(HTTPProvider.scala:83) at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:1063) at net.liftweb.http.provider.servlet.ServletFilterProvider.init(ServletFilterProvider.scala:40) at net.liftweb.http.provider.servlet.ServletFilterProvider.init$(ServletFilterProvider.scala:35) at net.liftweb.http.LiftFilter.init(LiftServlet.scala:1063) at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:133) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$2(ServletHandler.java:725) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:749) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:392) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1304) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:901) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:532) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:516) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:210) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:462) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:61) at org.eclipse.jetty.util.Scanner$DiscreteListener.pathAdded(Scanner.java:284) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:896) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:862) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:769) at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:658) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:630) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:182) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:605) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:246) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171) at org.eclipse.jetty.server.Server.start(Server.java:470) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89) at org.eclipse.jetty.server.Server.doStart(Server.java:415) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1919)
Updated by Nicolas CHARLES 7 months ago
- Status changed from New to Rejected
a plugin version 8.0.7 has been installed on a 8.0.6
Actions