Logstash 7.3.2 deployment not starting after upgrade from 7.1.1

Hi,

We have an ELK 7.1.1 deployment running fine on IKS (IBMCLOUD Kubernetes Service). We tried a re-deploy changing the 7.1.1 images for all the components with 7.3.2. All are working fine except logstash is not starting.

The new image we used is :

image:
 repository: [docker.elastic.co/logstash/logstash-oss](http://docker.elastic.co/logstash/logstash-oss)
 tag: 7.3.2

One of the errors for example:

2019-11-22T16:35:06,253][DEBUG][io.netty.util.internal.logging.InternalLoggerFactory] Using SLF4J as the default logging framework
[2019-11-22T16:35:06,395][DEBUG][io.netty.util.internal.PlatformDependent0] -Dio.netty.noUnsafe: false
[2019-11-22T16:35:06,396][DEBUG][io.netty.util.internal.PlatformDependent0] Java version: 11
[2019-11-22T16:35:06,402][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.theUnsafe: available
[2019-11-22T16:35:06,415][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.copyMemory: available
[2019-11-22T16:35:06,420][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Buffer.address: available
[2019-11-22T16:35:06,423][DEBUG][io.netty.util.internal.PlatformDependent0] direct buffer constructor: available
[2019-11-22T16:35:06,428][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Bits.unaligned: available, true
[2019-11-22T16:35:06,434][DEBUG][io.netty.util.internal.PlatformDependent0] jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @34c27c60
       at jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361) ~[?:?]
       at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591) ~[?:?]
       at java.lang.reflect.Method.invoke(Method.java:558) ~[?:?]
       at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:312) ~[logstash-input-tcp-6.0.3.jar:?]
       at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
       at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:303) [logstash-input-tcp-6.0.3.jar:?]
       at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:208) [logstash-input-tcp-6.0.3.jar:?]
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED

I can attach the full trace logs if you provide the link.

Thank you,
Gergely Zoltan

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.