Bug #19229
closedDeadlock at start when loading new licence
Description
We have several reports of the branding plugin leading to a full deadlock (no more lock, rudder does nothing anymore) when the branding plugin is loaded and, it seems, when new licence files are given.
Just restarting rudder seems to solve the problem, so that's an easy workaround. Still, the root cause must be understood and corrected.
I'm opening the problem in the plugin tracker, but it might be in rudder main app.
Updated by François ARMAND over 3 years ago
I'm not able to reproduce it at all in dev environment with rudder 6.1.14-SNAPSHOP / plugin 6.1-1.11-SNAPSHOT.
I tried:
- limiting to one cpu/core,
- no license, stop rudder, add license, start rudder,
- no license, start rudder, add license
- add license, start rudder, touch license
- add unvalid license, start rudder, add valid license.
Each time, rudder takes the new license, be it at runtime or after a reboot, without failure.
Updated by Nicolas CHARLES over 3 years ago
- Target version changed from 6.2-1.11 to 6.1-1.9
"zio-default-blocking-19-803893384" #140 daemon prio=5 os_prio=0 tid=0x00007fb2dc136800 nid=0x3f60 waiting for monitor entry [0x00007fb15ffbd000] java.lang.Thread.State: BLOCKED (on object monitor) at com.normation.plugins.branding.BrandingConfService.cache$lzycompute(BrandingConfService.scala:80) - waiting to lock <0x000000035b405888> (a com.normation.plugins.branding.BrandingConfService) at com.normation.plugins.branding.BrandingConfService.cache(BrandingConfService.scala:80) at com.normation.plugins.branding.BrandingConfService.$anonfun$updateConf$2(BrandingConfService.scala:137) at com.normation.plugins.branding.BrandingConfService$$Lambda$3915/2023624093.apply(Unknown Source) at zio.internal.FiberContext.evaluateNow(FiberContext.scala:815) at zio.internal.FiberContext.$anonfun$evaluateLater$1(FiberContext.scala:687) at zio.internal.FiberContext$$Lambda$206/1419125235.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
"qtp1577213552-25" #25 prio=5 os_prio=0 tid=0x00007fb41207c800 nid=0x3e93 waiting for monitor entry [0x00007fb2dbff1000] java.lang.Thread.State: BLOCKED (on object monitor) at com.normation.plugins.branding.BrandingConfService.cache$lzycompute(BrandingConfService.scala:80) - waiting to lock <0x000000035b405888> (a com.normation.plugins.branding.BrandingConfService) at com.normation.plugins.branding.BrandingConfService.cache(BrandingConfService.scala:80) at com.normation.plugins.branding.BrandingConfService.getConf(BrandingConfService.scala:117) at com.normation.plugins.branding.snippet.CommonBranding.display(CommonBranding.scala:63) at com.normation.plugins.branding.snippet.CommonBranding.$anonfun$pluginCompose$1(CommonBranding.scala:57) at com.normation.plugins.branding.snippet.CommonBranding$$Lambda$3873/1008420943.apply(Unknown Source) at com.normation.plugins.PluginExtensionPoint.guard(ExtendableSnippet.scala:82) at com.normation.plugins.PluginExtensionPoint.guard$(ExtendableSnippet.scala:82) at com.normation.plugins.branding.snippet.CommonBranding.guard(CommonBranding.scala:54) at com.normation.plugins.PluginExtensionPoint.$anonfun$compose$2(ExtendableSnippet.scala:86) at com.normation.plugins.PluginExtensionPoint$$Lambda$3875/1785707003.apply(Unknown Source) at scala.Function1.$anonfun$compose$1(Function1.scala:77) at scala.Function1$$Lambda$3879/2111058667.apply(Unknown Source) at net.liftweb.http.LiftSession.$anonfun$processSnippet$25(LiftSession.scala:1717) at net.liftweb.http.LiftSession$$Lambda$3447/896536552.apply(Unknown Source) at net.liftweb.common.EmptyBox.openOr(Box.scala:912) at net.liftweb.http.LiftSession.$anonfun$processSnippet$23(LiftSession.scala:1691) at net.liftweb.http.LiftSession$$Lambda$3445/398276383.apply(Unknown Source) at net.liftweb.common.EmptyBox.openOr(Box.scala:912) at net.liftweb.http.LiftSession.$anonfun$processSnippet$20(LiftSession.scala:1689) at net.liftweb.http.LiftSession$$Lambda$3437/335766189.apply(Unknown Source) at net.liftweb.http.LiftSession.runWhitelist$1(LiftSession.scala:1676) at net.liftweb.http.LiftSession.$anonfun$processSnippet$19(LiftSession.scala:1687) at net.liftweb.http.LiftSession$$Lambda$3436/507342292.apply(Unknown Source) at net.liftweb.http.S.doSnippet(S.scala:2497) at net.liftweb.http.S.doSnippet$(S.scala:2493) at net.liftweb.http.S$.doSnippet(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSnippet$18(LiftSession.scala:1687) at net.liftweb.http.LiftSession$$Lambda$3435/175114374.apply(Unknown Source) at net.liftweb.http.NoOpSnippetTimer$.timeSnippet(SnippetTimer.scala:19) at net.liftweb.http.LiftSession.$anonfun$processSnippet$15(LiftSession.scala:1686) at net.liftweb.http.LiftSession$$Lambda$3432/1996632787.apply(Unknown Source) at net.liftweb.common.Full.map(Box.scala:856) at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1681) at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:1970) at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:1958) at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:35) at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$8(LiftSession.scala:2264) at net.liftweb.http.LiftSession$$Lambda$3424/1003298682.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withAttrs(S.scala:2241) at net.liftweb.http.S.withAttrs$(S.scala:2234) at net.liftweb.http.S$.withAttrs(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$7(LiftSession.scala:2259) at net.liftweb.http.LiftSession$$Lambda$3423/1665809264.apply(Unknown Source) at net.liftweb.http.S.doSnippet(S.scala:2497) at net.liftweb.http.S.doSnippet$(S.scala:2493) at net.liftweb.http.S$.doSnippet(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$6(LiftSession.scala:2258) at net.liftweb.http.LiftSession$$Lambda$3422/837071080.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withCurrentSnippetNodeSeq(S.scala:2458) at net.liftweb.http.S.withCurrentSnippetNodeSeq$(S.scala:2457) at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$5(LiftSession.scala:2257) at net.liftweb.http.LiftSession$$Lambda$3420/1821891577.apply(Unknown Source) at net.liftweb.http.LiftSession.processOrDefer(LiftSession.scala:2045) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$1(LiftSession.scala:2256) at net.liftweb.http.LiftSession$$Lambda$3416/2089492266.apply(Unknown Source) at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:117) at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:104) at scala.xml.NodeSeq.flatMap(NodeSeq.scala:47) at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2239) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$1(LiftSession.scala:2245) at net.liftweb.http.LiftSession$$Lambda$3416/2089492266.apply(Unknown Source) at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:117) at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:104) at scala.xml.NodeSeq.flatMap(NodeSeq.scala:47) at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2239) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$1(LiftSession.scala:2280) at net.liftweb.http.LiftSession$$Lambda$3416/2089492266.apply(Unknown Source) at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:117) at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:104) at scala.xml.NodeSeq.flatMap(NodeSeq.scala:47) at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2239) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$8(LiftSession.scala:2264) at net.liftweb.http.LiftSession$$Lambda$3424/1003298682.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withAttrs(S.scala:2241) at net.liftweb.http.S.withAttrs$(S.scala:2234) at net.liftweb.http.S$.withAttrs(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$7(LiftSession.scala:2259) at net.liftweb.http.LiftSession$$Lambda$3423/1665809264.apply(Unknown Source) at net.liftweb.http.S.doSnippet(S.scala:2497) at net.liftweb.http.S.doSnippet$(S.scala:2493) at net.liftweb.http.S$.doSnippet(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$6(LiftSession.scala:2258) at net.liftweb.http.LiftSession$$Lambda$3422/837071080.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withCurrentSnippetNodeSeq(S.scala:2458) at net.liftweb.http.S.withCurrentSnippetNodeSeq$(S.scala:2457) at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$5(LiftSession.scala:2257) at net.liftweb.http.LiftSession$$Lambda$3420/1821891577.apply(Unknown Source) at net.liftweb.http.LiftSession.processOrDefer(LiftSession.scala:2045) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$1(LiftSession.scala:2256) at net.liftweb.http.LiftSession$$Lambda$3416/2089492266.apply(Unknown Source) at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:117) at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:104) at scala.xml.NodeSeq.flatMap(NodeSeq.scala:47) at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2239) at net.liftweb.http.LiftSession.$anonfun$processTemplate$4(LiftSession.scala:983) at net.liftweb.http.LiftSession$$Lambda$3415/1591171821.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.LiftSession.$anonfun$processTemplate$3(LiftSession.scala:980) at net.liftweb.http.LiftSession$$Lambda$3414/346840446.apply(Unknown Source) at net.liftweb.common.Full.map(Box.scala:856) at net.liftweb.http.LiftSession.$anonfun$processTemplate$1(LiftSession.scala:979) at net.liftweb.http.LiftSession$$Lambda$3378/117763349.apply(Unknown Source) at net.liftweb.util.AnyVarTrait.doWith(AnyVar.scala:278) at net.liftweb.util.AnyVarTrait.doWith$(AnyVar.scala:274) at net.liftweb.util.AnyVar.doWith(AnyVar.scala:91) at net.liftweb.http.LiftSession.processTemplate(LiftSession.scala:978) at net.liftweb.http.LiftSession.$anonfun$processRequest$9(LiftSession.scala:1088) at net.liftweb.http.LiftSession$$Lambda$3371/510057945.apply(Unknown Source) at net.liftweb.common.EmptyBox.or(Box.scala:914) at net.liftweb.http.LiftSession.$anonfun$processRequest$6(LiftSession.scala:1088) at net.liftweb.http.LiftSession$$Lambda$3368/1053327193.apply(Unknown Source) at net.liftweb.util.StackableMaker.doWith(Maker.scala:153) at net.liftweb.util.StackableMaker.doWith$(Maker.scala:149) at net.liftweb.http.Factory$FactoryMaker.doWith(Factory.scala:37) at net.liftweb.util.StackableMaker.doWith(Maker.scala:144) at net.liftweb.util.StackableMaker.doWith$(Maker.scala:143) at net.liftweb.http.Factory$FactoryMaker.doWith(Factory.scala:37) at net.liftweb.http.LiftSession.$anonfun$processRequest$4(LiftSession.scala:1087) at net.liftweb.http.LiftSession$$Lambda$3362/921498338.apply(Unknown Source) at net.liftweb.http.LiftSession.checkStatelessInSiteMap(LiftSession.scala:1026) at net.liftweb.http.LiftSession.$anonfun$processRequest$3(LiftSession.scala:1082) at net.liftweb.http.LiftSession$$Lambda$3360/928759818.apply(Unknown Source) at net.liftweb.common.EmptyBox.or(Box.scala:914) at net.liftweb.http.LiftSession.processRequest(LiftSession.scala:1080) at net.liftweb.http.LiftServlet.net$liftweb$http$LiftServlet$$dispatchStatefulRequest(LiftServlet.scala:542) at net.liftweb.http.LiftServlet$StatefulResponse$.$anonfun$process$4(LiftServlet.scala:384) at net.liftweb.http.LiftServlet$StatefulResponse$$$Lambda$2850/2042071396.apply(Unknown Source) at net.liftweb.http.S.wrapQuery(S.scala:1577) at net.liftweb.http.S.$anonfun$_nest2InnerInit$2(S.scala:1744) at net.liftweb.http.S$$Lambda$2753/1609766329.apply(Unknown Source) at net.liftweb.http.S.doAround(S.scala:1506) at net.liftweb.http.S.$anonfun$_nest2InnerInit$1(S.scala:1732) at net.liftweb.http.S$$Lambda$2752/483810948.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S._nest2InnerInit(S.scala:1731) at net.liftweb.http.S.$anonfun$_innerInit$5(S.scala:1777) snip at net.liftweb.http.S.$anonfun$_init$7(S.scala:1810) at net.liftweb.http.S$$Lambda$2740/1222231804.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.$anonfun$_init$6(S.scala:1808) at net.liftweb.http.S$$Lambda$2731/1735024055.apply(Unknown Source) at net.liftweb.http.CoreRequestVarHandler.apply(Vars.scala:606) at net.liftweb.http.CoreRequestVarHandler.apply$(Vars.scala:592) at net.liftweb.http.RequestVarHandler$.apply(Vars.scala:508) at net.liftweb.http.S.$anonfun$_init$5(S.scala:1808) at net.liftweb.http.S$$Lambda$2728/837238785.apply(Unknown Source) at net.liftweb.http.CoreRequestVarHandler.apply(Vars.scala:606) at net.liftweb.http.CoreRequestVarHandler.apply$(Vars.scala:592) at net.liftweb.http.TransientRequestVarHandler$.apply(Vars.scala:521) at net.liftweb.http.S.$anonfun$_init$4(S.scala:1807) at net.liftweb.http.S$$Lambda$2727/228366363.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.$anonfun$_init$3(S.scala:1806) at net.liftweb.http.S$$Lambda$2726/703768247.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.$anonfun$_init$2(S.scala:1805) at net.liftweb.http.S$$Lambda$2725/95278584.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S._init(S.scala:1804) at net.liftweb.http.S.init(S.scala:1381) at net.liftweb.http.S.init$(S.scala:1375) at net.liftweb.http.S$.init(S.scala:46) at net.liftweb.http.LiftServlet$StatefulResponse$.doSession$1(LiftServlet.scala:384) at net.liftweb.http.LiftServlet$StatefulResponse$.process(LiftServlet.scala:393) at net.liftweb.http.LiftServlet.stepThroughPipeline$1(LiftServlet.scala:427) at net.liftweb.http.LiftServlet.doService(LiftServlet.scala:435) at net.liftweb.http.LiftServlet.$anonfun$service$2(LiftServlet.scala:162) at net.liftweb.http.LiftServlet.$anonfun$service$2$adapted(LiftServlet.scala:162) at net.liftweb.http.LiftServlet$$Lambda$2689/304966213.apply(Unknown Source) at net.liftweb.http.StandardServiceTimer$.$anonfun$logTime$1(ServiceRequestTimer.scala:19) at net.liftweb.http.StandardServiceTimer$$$Lambda$2690/1517564515.apply(Unknown Source) at net.liftweb.util.TimeHelpers.calcTime(TimeHelpers.scala:427) at net.liftweb.util.TimeHelpers.calcTime$(TimeHelpers.scala:425) at net.liftweb.util.Helpers$.calcTime(Helpers.scala:34) at net.liftweb.util.TimeHelpers.logTime(TimeHelpers.scala:446) at net.liftweb.util.TimeHelpers.logTime$(TimeHelpers.scala:445) at net.liftweb.util.Helpers$.logTime(Helpers.scala:34) at net.liftweb.http.StandardServiceTimer$.logTime(ServiceRequestTimer.scala:18) at net.liftweb.http.LiftServlet.doIt$1(LiftServlet.scala:162) at net.liftweb.http.LiftServlet.service(LiftServlet.scala:166) at net.liftweb.http.provider.HTTPProvider.$anonfun$service$7(HTTPProvider.scala:72) at net.liftweb.http.provider.HTTPProvider$$Lambda$2661/553783922.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.URLRewriter$.doWith(Req.scala:1357) at net.liftweb.http.provider.HTTPProvider.$anonfun$service$4(HTTPProvider.scala:71) at net.liftweb.http.provider.HTTPProvider$$Lambda$2659/2020258452.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.provider.HTTPProvider.$anonfun$service$3(HTTPProvider.scala:70) at net.liftweb.http.provider.HTTPProvider$$Lambda$2644/94049349.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.provider.HTTPProvider.service(HTTPProvider.scala:60) at net.liftweb.http.provider.HTTPProvider.service$(HTTPProvider.scala:55) at net.liftweb.http.LiftFilter.service(LiftServlet.scala:1063) at net.liftweb.http.provider.servlet.ServletFilterProvider.$anonfun$doFilter$3(ServletFilterProvider.scala:83) at net.liftweb.http.provider.servlet.ServletFilterProvider$$Lambda$2640/1419893050.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.http.provider.servlet.ServletFilterProvider.handleLoan$1(ServletFilterProvider.scala:59) at net.liftweb.http.provider.servlet.ServletFilterProvider.handleLoanWrappers(ServletFilterProvider.scala:63) at net.liftweb.http.provider.servlet.ServletFilterProvider.$anonfun$doFilter$2(ServletFilterProvider.scala:82) at net.liftweb.http.provider.servlet.ServletFilterProvider$$Lambda$2639/1009595913.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$6(Vars.scala:612) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2638/302739571.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$5(Vars.scala:611) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2637/871513579.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$4(Vars.scala:611) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2636/707554991.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$3(Vars.scala:610) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2635/116942488.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.apply(Vars.scala:609) at net.liftweb.http.CoreRequestVarHandler.apply$(Vars.scala:592) at net.liftweb.http.RequestVarHandler$.apply(Vars.scala:508) at net.liftweb.http.provider.servlet.ServletFilterProvider.$anonfun$doFilter$1(ServletFilterProvider.scala:77) at net.liftweb.http.provider.servlet.ServletFilterProvider$$Lambda$2634/1170964864.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$6(Vars.scala:612) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2638/302739571.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$5(Vars.scala:611) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2637/871513579.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$4(Vars.scala:611) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2636/707554991.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.$anonfun$apply$3(Vars.scala:610) at net.liftweb.http.CoreRequestVarHandler$$Lambda$2635/116942488.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.CoreRequestVarHandler.apply(Vars.scala:609) at net.liftweb.http.CoreRequestVarHandler.apply$(Vars.scala:592) at net.liftweb.http.TransientRequestVarHandler$.apply(Vars.scala:521) at net.liftweb.http.provider.servlet.ServletFilterProvider.doFilter(ServletFilterProvider.scala:75) at net.liftweb.http.provider.servlet.ServletFilterProvider.doFilter$(ServletFilterProvider.scala:69) at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:1063) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:500) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel$$Lambda$2630/167096295.dispatch(Unknown Source) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.lang.Thread.run(Thread.java:748) "qtp1577213552-24" #24 prio=5 os_prio=0 tid=0x00007fb41207a000 nid=0x3e92 in Object.wait() [0x00007fb2e3ff4000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at zio.internal.OneShot.get(OneShot.scala:79) - locked <0x000000035b405840> (a zio.internal.OneShot) at zio.Runtime.unsafeRunSync(Runtime.scala:82) at zio.Runtime.unsafeRunSync$(Runtime.scala:77) at zio.Runtime$$anon$2.unsafeRunSync(Runtime.scala:226) at com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:382) at com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:406) at com.normation.plugins.branding.BrandingConfService.cache$lzycompute(BrandingConfService.scala:81) - locked <0x000000035b405888> (a com.normation.plugins.branding.BrandingConfService) at com.normation.plugins.branding.BrandingConfService.cache(BrandingConfService.scala:80) at com.normation.plugins.branding.BrandingConfService.getConf(BrandingConfService.scala:117) at com.normation.plugins.branding.snippet.CommonBranding.display(CommonBranding.scala:63) at com.normation.plugins.branding.snippet.CommonBranding.$anonfun$pluginCompose$1(CommonBranding.scala:57) at com.normation.plugins.branding.snippet.CommonBranding$$Lambda$3873/1008420943.apply(Unknown Source) at com.normation.plugins.PluginExtensionPoint.guard(ExtendableSnippet.scala:82) at com.normation.plugins.PluginExtensionPoint.guard$(ExtendableSnippet.scala:82) at com.normation.plugins.branding.snippet.CommonBranding.guard(CommonBranding.scala:54) at com.normation.plugins.PluginExtensionPoint.$anonfun$compose$2(ExtendableSnippet.scala:86) at com.normation.plugins.PluginExtensionPoint$$Lambda$3875/1785707003.apply(Unknown Source) at scala.Function1.$anonfun$compose$1(Function1.scala:77) at scala.Function1$$Lambda$3879/2111058667.apply(Unknown Source) at net.liftweb.http.LiftSession.$anonfun$processSnippet$25(LiftSession.scala:1717) at net.liftweb.http.LiftSession$$Lambda$3447/896536552.apply(Unknown Source) at net.liftweb.common.EmptyBox.openOr(Box.scala:912) at net.liftweb.http.LiftSession.$anonfun$processSnippet$23(LiftSession.scala:1691) at net.liftweb.http.LiftSession$$Lambda$3445/398276383.apply(Unknown Source) at net.liftweb.common.EmptyBox.openOr(Box.scala:912) at net.liftweb.http.LiftSession.$anonfun$processSnippet$20(LiftSession.scala:1689) at net.liftweb.http.LiftSession$$Lambda$3437/335766189.apply(Unknown Source) at net.liftweb.http.LiftSession.runWhitelist$1(LiftSession.scala:1676) at net.liftweb.http.LiftSession.$anonfun$processSnippet$19(LiftSession.scala:1687) at net.liftweb.http.LiftSession$$Lambda$3436/507342292.apply(Unknown Source) at net.liftweb.http.S.doSnippet(S.scala:2497) at net.liftweb.http.S.doSnippet$(S.scala:2493) at net.liftweb.http.S$.doSnippet(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSnippet$18(LiftSession.scala:1687) at net.liftweb.http.LiftSession$$Lambda$3435/175114374.apply(Unknown Source) at net.liftweb.http.NoOpSnippetTimer$.timeSnippet(SnippetTimer.scala:19) at net.liftweb.http.LiftSession.$anonfun$processSnippet$15(LiftSession.scala:1686) at net.liftweb.http.LiftSession$$Lambda$3432/1996632787.apply(Unknown Source) at net.liftweb.common.Full.map(Box.scala:856) at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1681) at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:1970) at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:1958) at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:35) at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$8(LiftSession.scala:2264) at net.liftweb.http.LiftSession$$Lambda$3424/1003298682.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withAttrs(S.scala:2241) at net.liftweb.http.S.withAttrs$(S.scala:2234) at net.liftweb.http.S$.withAttrs(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$7(LiftSession.scala:2259) at net.liftweb.http.LiftSession$$Lambda$3423/1665809264.apply(Unknown Source) at net.liftweb.http.S.doSnippet(S.scala:2497) at net.liftweb.http.S.doSnippet$(S.scala:2493) at net.liftweb.http.S$.doSnippet(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$6(LiftSession.scala:2258) at net.liftweb.http.LiftSession$$Lambda$3422/837071080.apply(Unknown Source) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) at net.liftweb.http.S.withCurrentSnippetNodeSeq(S.scala:2458) at net.liftweb.http.S.withCurrentSnippetNodeSeq$(S.scala:2457) at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:46) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$5(LiftSession.scala:2257) at net.liftweb.http.LiftSession$$Lambda$3420/1821891577.apply(Unknown Source) at net.liftweb.http.LiftSession.processOrDefer(LiftSession.scala:2045) at net.liftweb.http.LiftSession.$anonfun$processSurroundAndInclude$1(LiftSession.scala:2256) at net.liftweb.http.LiftSession$$Lambda$3416/2089492266.apply(Unknown Source) snip at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:500) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel$$Lambda$2630/167096295.dispatch(Unknown Source) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.lang.Thread.run(Thread.java:748)
Updated by Nicolas CHARLES over 3 years ago
To reproduce:
- open a login page to rudder
- install the plugin
- used the previously opened login page (so without branding)
- log in
- experience error 502
If the login page is branded, there is no error
Updated by François ARMAND over 3 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/380
Updated by François ARMAND over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|f62ec61a8177410ae5488067c2882c8e239a6997.
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1-1.9 to 6.2-1.11
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2-1.11 which was released today.