Project

General

Profile

Actions

Bug #24945

closed

Error when going to group page

Added by Nicolas CHARLES 7 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
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

clipboard-202405292128-hzubo.png (41.3 KB) clipboard-202405292128-hzubo.png Nicolas CHARLES, 2024-05-29 21:28
Actions #1

Updated by Nicolas CHARLES 7 months ago

I don't have the rules Global configuration for all nodes existing. Might be related

Actions #2

Updated by Nicolas CHARLES 7 months ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • UX impact set to I hate Rudder for that
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Small
  • Priority changed from 0 to 157
  • Regression changed from No to Yes
Actions #3

Updated by Nicolas CHARLES 7 months ago

Creating a rule that applies on everyone workaround the issue

Actions #4

Updated by François ARMAND 7 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #5

Updated by François ARMAND 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/5692
Actions #6

Updated by Anonymous 7 months ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Elaad FURREEDAN 7 months ago

  • Fix check changed from To do to Checked
Actions #8

Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.3 which was released today.

Actions

Also available in: Atom PDF