Actions
Bug #24945
closedError when going to group page
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
157
Name check:
To do
Fix check:
Checked
Regression:
Yes
Description
Happens on 8.1
2024-05-29 19:26:27+0000 INFO net.liftweb.http.LiftServlet - Request for /rudder/secure/api/compliance/summary/groups failed key not found: Rul eId(RuleUid(hasPolicyServer-root),Revision(default)) zio.FiberFailure: key not found: RuleId(RuleUid(hasPolicyServer-root),Revision(default)) at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:674) at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:672) at scala.collection.immutable.HashMap.apply(HashMap.scala:132) at com.normation.rudder.rest.lift.ComplianceAPIService.$anonfun$getByNodeGroupCompliance$19(ComplianceApi.scala:947) at scala.collection.immutable.List.map(List.scala:246) at scala.collection.immutable.List.map(List.scala:79) at com.normation.rudder.rest.lift.ComplianceAPIService.$anonfun$getByNodeGroupCompliance$17(ComplianceApi.scala:934) at zio.ZIO.$anonfun$map$2(ZIO.scala:960) at com.normation.rudder.rest.lift.ComplianceAPIService.getByNodeGroupCompliance(ComplianceApi.scala:928) at com.normation.rudder.rest.lift.ComplianceAPIService.getNodeGroupComplianceSummary(ComplianceApi.scala:1286) Caused by: java.util.NoSuchElementException: key not found: RuleId(RuleUid(hasPolicyServer-root),Revision(default)) at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:674) at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:672) at scala.collection.immutable.HashMap.apply(HashMap.scala:132) at com.normation.rudder.rest.lift.ComplianceAPIService.$anonfun$getByNodeGroupCompliance$19(ComplianceApi.scala:947) at scala.collection.immutable.List.map(List.scala:246) at scala.collection.immutable.List.map(List.scala:79) at com.normation.rudder.rest.lift.ComplianceAPIService.$anonfun$getByNodeGroupCompliance$17(ComplianceApi.scala:934) at zio.ZIO.$anonfun$map$2(ZIO.scala:960) at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:904) at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1024) at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:967) at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:967) at zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:381) at zio.internal.FiberRuntime.evaluateMessageWhileSuspended(FiberRuntime.scala:504) at zio.internal.FiberRuntime.drainQueueOnCurrentThread(FiberRuntime.scala:220) at zio.internal.FiberRuntime.run(FiberRuntime.scala:139) at zio.internal.ZScheduler$$anon$4.run(ZScheduler.scala:478) 2024-05-29 19:26:27.278:WARN :oejs.HttpChannel:qtp237351678-21: /rudder/secure/api/compliance/summary/groups
Files
Actions