Project

General

Profile

Actions

Bug #18659

closed

Webapp is unable to start after plugin install

Added by Félix DALLIDET almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Plugins integration
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

In 6.2-nightly I am not able to start a webapp after installing plugins.
Here are the webapp logs after a fresh DSC install:

[2020-11-23 15:08:42+0100] INFO  application.plugin - Initializing plugin 'rudder-plugin-dsc': 6.2-1.21.0-SNAPSHOT
Fiber failed.
An unchecked error was produced.
java.lang.NoSuchMethodError: 'zio.ZIO zio.ZIO$.foreach(scala.collection.Iterable, scala.Function1)'
>-at bootstrap.rudder.plugin.CheckDSCSystemPolicy.$anonfun$checks$1(CheckDSCSystemPolicy.scala:118)
>-at com.normation.ldap.sdk.LDAPConnectionProvider.$anonfun$flatMap$2(LDAPConnectionProvider.scala:92)
>-at com.normation.ldap.sdk.LDAPConnectionProvider.$anonfun$withCon$2(LDAPConnectionProvider.scala:117)
>-at zio.ZIO$.$anonfun$bracketExit$2(ZIO.scala:2270)
>-at zio.internal.tracing.ZIOFn$$anon$1.apply(ZIOFn.scala:46)
>-at zio.internal.FiberContext.evaluateNow(FiberContext.scala:916)
>-at zio.internal.FiberContext.$anonfun$evaluateLater$1(FiberContext.scala:778)
>-at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>-at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>-at java.base/java.lang.Thread.run(Thread.java:834)
Fiber:Id(1606140522686,77) was supposed to continue to:
  a future continuation at zio.ZIO.run(ZIO.scala:1640)
  a future continuation at zio.ZIO.bracket_(ZIO.scala:256)
  a future continuation at zio.ZIO$.zio$ZIO$$_succeedRight(ZIO.scala:4121)
  a future continuation at zio.ZIO.run(ZIO.scala:1640)
  a future continuation at zio.ZIO.bracket_(ZIO.scala:256)
  a future continuation at zio.ZIO.run(ZIO.scala:1640)
  a future continuation at zio.ZIO.bracket_(ZIO.scala:256)
  a future continuation at com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:382)

Actions #1

Updated by Félix DALLIDET almost 4 years ago

  • Fix check changed from To do to Error - Blocking
Actions #2

Updated by François ARMAND almost 4 years ago

  • Status changed from New to Resolved

It's a problem with the plugin, we can't solve it here. It is resolved in #18665

Actions #4

Updated by François ARMAND almost 4 years ago

  • Fix check changed from Error - Blocking to Checked
Actions

Also available in: Atom PDF