AWS Plugin causing error in 2.4.0


(123dev) #1

Hi,
Just upgraded to the latest Graylog 2.4.0.

I’m seeing these entries in the logs

2018-01-19_17:55:01.79272 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-19_17:55:01.96339 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-19_17:55:01.96383 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-19_17:55:01.96528  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-19_17:55:01.96568       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-19_17:55:01.96633       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-19_17:55:01.96721       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-19_17:55:01.96758       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-19_17:55:01.96860       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-19_17:55:01.96916       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-19_17:55:01.97051       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.0.jar:?]
2018-01-19_17:55:01.97095       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
2018-01-19_17:55:01.97198       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_151]
2018-01-19_17:55:01.97258       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_151]
2018-01-19_17:55:01.97361       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_151]
2018-01-19_17:55:01.97430       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
2018-01-19_17:55:01.97508       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
2018-01-19_17:55:01.97563       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
2018-01-19_17:55:01.97674 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-19_17:55:01.97819  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-19_17:55:01.98044       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-19_17:55:01.98131       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-19_17:55:01.98250       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-19_17:55:01.98394       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-19_17:55:01.98490       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-19_17:55:01.98554       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-19_17:55:01.98724       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-19_17:55:01.98793       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-19_17:55:01.98927       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-19_17:55:01.98992       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-19_17:55:01.99064       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-19_17:55:01.99174       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-19_17:55:01.99204       ... 13 more
2018-01-19_17:55:01.99256 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)

Configuration tells me that the plugin is disabled.

Why am I getting these errors if it is disabled?
Should I be deleting the plugin and restarting Graylog to avoid these issues? or is there a bug?

PS: long long time ago, we had installed much earlier version of the plugin, which we had removed many versions ago, could that have left outdated remnants in mongodb?
If that is the root of the issue?
How can I clean that up, we will eventually configure and use the plugin, so I prefer not to delete it.

Thanks


(123dev) #2

Even disabling AWS Instance Name Lookup in Message Processor Configuration didn’t help

What am I missing?

Thanks


(Jochen) #3

This has been fixed in Graylog 2.4.1.


(123dev) #4

Upgraded to 2.4.1
Still getting the errors

2018-01-22_20:15:36.50009 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-22_20:16:34.98296 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-22_20:16:34.98336 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:34.98420  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:34.98851       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-22_20:16:34.98947       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-22_20:16:34.99095       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-22_20:16:34.99178       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-22_20:16:34.99982       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-22_20:16:34.99984       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-22_20:16:34.99985       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.1.jar:?]
2018-01-22_20:16:34.99985       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
2018-01-22_20:16:34.99986       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_161]
2018-01-22_20:16:34.99986       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_161]
2018-01-22_20:16:35.00146       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_161]
2018-01-22_20:16:35.00192       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
2018-01-22_20:16:35.00238       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
2018-01-22_20:16:35.00586       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
2018-01-22_20:16:35.00626 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:35.00703  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:35.00780       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-22_20:16:35.00930       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-22_20:16:35.00967       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-22_20:16:35.00970       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-22_20:16:35.01011       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-22_20:16:35.01049       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-22_20:16:35.01086       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-22_20:16:35.01121       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-22_20:16:35.01156       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-22_20:16:35.01195       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-22_20:16:35.01238       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-22_20:16:35.01282       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-22_20:16:35.01324       ... 13 more
2018-01-22_20:16:35.01364 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-22_20:16:35.54833 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-22_20:16:35.54883 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:35.54974  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:35.55208       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-22_20:16:35.55289       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-22_20:16:35.55398       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-22_20:16:35.55426       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-22_20:16:35.55457       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-22_20:16:35.55501       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-22_20:16:35.55543       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.1.jar:?]
2018-01-22_20:16:35.55587       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
2018-01-22_20:16:35.55632       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_161]
2018-01-22_20:16:35.55677       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_161]
2018-01-22_20:16:35.55722       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_161]
2018-01-22_20:16:35.55769       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
2018-01-22_20:16:35.55818       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
2018-01-22_20:16:35.55961       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
2018-01-22_20:16:35.56267 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:35.56362  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:35.56467       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-22_20:16:35.56633       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-22_20:16:35.57320       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-22_20:16:35.57468       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-22_20:16:35.57983       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-22_20:16:35.58111       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-22_20:16:35.58461       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-22_20:16:35.58512       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-22_20:16:35.58592       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-22_20:16:35.59141       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-22_20:16:35.59305       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-22_20:16:35.59468       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-22_20:16:35.59536       ... 13 more
2018-01-22_20:16:35.59861 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-22_20:16:35.93056 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-22_20:16:35.93116 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:35.93194  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:35.93443       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-22_20:16:35.93485       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-22_20:16:35.93717       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-22_20:16:35.94027       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-22_20:16:35.94060       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-22_20:16:35.94110       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-22_20:16:35.94239       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.1.jar:?]
2018-01-22_20:16:35.94390       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
2018-01-22_20:16:35.94428       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_161]
2018-01-22_20:16:35.95277       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_161]
2018-01-22_20:16:35.95385       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_161]
2018-01-22_20:16:35.95528       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
2018-01-22_20:16:35.96047       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
2018-01-22_20:16:35.96049       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
2018-01-22_20:16:35.96050 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:35.96051  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:35.96895       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-22_20:16:35.96952       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-22_20:16:35.97290       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-22_20:16:35.97292       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-22_20:16:35.97293       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-22_20:16:35.97397       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-22_20:16:35.97507       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-22_20:16:35.97649       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-22_20:16:35.97715       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-22_20:16:35.97817       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-22_20:16:35.97995       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-22_20:16:35.98054       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-22_20:16:35.98110       ... 13 more
2018-01-22_20:16:35.98166 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-22_20:16:36.19938 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-22_20:16:36.19993 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:36.20174  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:36.20181       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-22_20:16:36.20254       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-22_20:16:36.20424       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-22_20:16:36.20541       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-22_20:16:36.20681       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-22_20:16:36.20764       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-22_20:16:36.20981       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.1.jar:?]
2018-01-22_20:16:36.21182       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
2018-01-22_20:16:36.21433       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_161]
2018-01-22_20:16:36.21471       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_161]
2018-01-22_20:16:36.21758       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_161]
2018-01-22_20:16:36.21869       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
2018-01-22_20:16:36.21936       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
2018-01-22_20:16:36.22373       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
2018-01-22_20:16:36.22445 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:36.22615  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:36.22780       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-22_20:16:36.22834       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-22_20:16:36.22917       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-22_20:16:36.23043       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-22_20:16:36.23255       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-22_20:16:36.23299       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-22_20:16:36.23385       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-22_20:16:36.23496       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-22_20:16:36.23634       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-22_20:16:36.23712       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-22_20:16:36.23756       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-22_20:16:36.23867       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-22_20:16:36.23918       ... 13 more
2018-01-22_20:16:36.24057 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)
2018-01-22_20:16:36.47108 ERROR [ClusterConfigServiceImpl] Error while deserializing payload
2018-01-22_20:16:36.47163 java.lang.IllegalArgumentException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:36.51614  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:36.51615       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3605) ~[graylog.jar:?]
2018-01-22_20:16:36.51616       at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3524) ~[graylog.jar:?]
2018-01-22_20:16:36.51616       at org.graylog2.cluster.ClusterConfigServiceImpl.extractPayload(ClusterConfigServiceImpl.java:93) [graylog.jar:?]
2018-01-22_20:16:36.51616       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:109) [graylog.jar:?]
2018-01-22_20:16:36.51617       at org.graylog2.cluster.ClusterConfigServiceImpl.get(ClusterConfigServiceImpl.java:119) [graylog.jar:?]
2018-01-22_20:16:36.51617       at org.graylog2.cluster.ClusterConfigServiceImpl.getOrDefault(ClusterConfigServiceImpl.java:124) [graylog.jar:?]
2018-01-22_20:16:36.51617       at org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor$1.run(AWSInstanceNameLookupProcessor.java:62) [graylog-plugin-aws-2.4.1.jar:?]
2018-01-22_20:16:36.51618       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
2018-01-22_20:16:36.51619       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_161]
2018-01-22_20:16:36.51619       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_161]
2018-01-22_20:16:36.51619       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_161]
2018-01-22_20:16:36.51620       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
2018-01-22_20:16:36.51620       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
2018-01-22_20:16:36.51621       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
2018-01-22_20:16:36.51621 Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "flowlogs_last_run" (class org.graylog.aws.config.AutoValue_AWSPluginConfiguration), not marked as ignorable (5 known properties: "secret_key", "lookup_regions", "lookups_enabled", "access_key", "proxy_enabled"])
2018-01-22_20:16:36.51621  at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.aws.config.AutoValue_AWSPluginConfiguration["flowlogs_last_run"])
2018-01-22_20:16:36.51622       at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) ~[graylog.jar:?]
2018-01-22_20:16:36.51623       at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) ~[graylog.jar:?]
2018-01-22_20:16:36.51623       at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) ~[graylog.jar:?]
2018-01-22_20:16:36.51623       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1478) ~[graylog.jar:?]
2018-01-22_20:16:36.51624       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1456) ~[graylog.jar:?]
2018-01-22_20:16:36.51638       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:246) ~[graylog.jar:?]
2018-01-22_20:16:36.51639       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(BeanDeserializerBase.java:1521) ~[graylog.jar:?]
2018-01-22_20:16:36.51639       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:484) ~[graylog.jar:?]
2018-01-22_20:16:36.51640       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191) ~[graylog.jar:?]
2018-01-22_20:16:36.51641       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314) ~[graylog.jar:?]
2018-01-22_20:16:36.51641       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[graylog.jar:?]
2018-01-22_20:16:36.51641       at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3600) ~[graylog.jar:?]
2018-01-22_20:16:36.51642       ... 13 more
2018-01-22_20:16:36.51642 ERROR [ClusterConfigServiceImpl] Couldn't extract payload from cluster config (type: org.graylog.aws.config.AWSPluginConfiguration)

(123dev) #5

Update

After posting my message, I went back to Graylog and noticed that it was saying version 2.4.0
I know I had upgraded to 2.4.1
Navigated to few pages, they all said 2.4.0
Went back to home page and did CTRL+F5 on the browser, and it showed version 2.4.1

Weird, I’m no longer seeing the errors either.
So is there a procedure to run after upgrade that would initialize things?
Does every user that has a browser open before the upgrade need to clear their cache or do CTRL + F5 ?

Thanks


(Jochen) #6

Yes, that’s pretty much how refreshing (upgrading) a single-page app (SPA) works. :wink:


(123dev) #7

Thanks
I get it from the perspective of users seeing old (not refreshed) data, but graylog server giving AWS errors even though it was upgraded, that I don’t get.
The errors stopped only after I performed the refresh.


(Jochen) #8

Feel free to create a bug report on GitHub for this issue.


(system) #9

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