After Upgrade to 4.3.7: No leader Graylog server node

After the Upgrade from 4.3.3 to 4.3.7 I get periodic error messages that I have no leader Graylog server node in my cluster.

In the Graylog Node view (https:///system/nodes) I can see that my master node is there, than disappears, than appears again … and so on.

Version 4.3.3 was running perfectly fine.

Please help.

Hi,
What is written in the log?
And just for sure: Did you notice the change in configuration " Configuration File Changes"? → https://docs.graylog.org/v1/docs/upgrading-to-graylog-43x

You can post you config file if you like:

  • Use the </> forum tool to make the code readable
  • Obfuscate where needed
  • take out the comments with:
    ** cat /etc/graylog/server/server.conf | egrep -v "^\s*(#|$)"
1 Like

Hi

I’ve a similar problem.
I’m running a 3 node cluster with docker. I tried to upgrade from 4.2.3 to 4.3.7, I know it is a big step :slight_smile:
I downloaded all the plugins for 4.3.7, made change in the config file is_master → is_leader and restarted my graylog docker master node.
When logging into the new master node in system/overview it says: unknown (no_master)
and Cluster ID: Not available
number of nodes: 0

in the log I gets this errors:

graylog_1  | 2022-09-29 06:15:24,628 ERROR: org.graylog2.shared.rest.exceptionmappers.AnyExceptionClassMapper - Unhandled exception in REST resource
graylog_1  | java.lang.NullPointerException: null
graylog_1  |    at org.graylog2.cluster.NodeImpl.isLeader(NodeImpl.java:51) ~[graylog.jar:?]
graylog_1  |    at org.graylog2.rest.resources.system.ClusterResource.nodeSummary(ClusterResource.java:110) ~[graylog.jar:?]
graylog_1  |    at org.graylog2.rest.resources.system.ClusterResource.nodes(ClusterResource.java:76) ~[graylog.jar:?]
graylog_1  |    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_345]
graylog_1  |    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_345]
graylog_1  |    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_345]
graylog_1  |    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_345]
graylog_1  |    at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80) ~[graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680) [graylog.jar:?]
graylog_1  |    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:356) [graylog.jar:?]
graylog_1  |    at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200) [graylog.jar:?]
graylog_1  |    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
graylog_1  |    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_345]
graylog_1  |    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_345]
graylog_1  |    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_345]

kind regards
Jens M. Kofoed

Hello,

It could be a couple different issues, hard to tell from just the information you gave.
BUT the Erro you See NO MASTER , you can check here.

or here

1 Like

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