Reconciliation failed after changing metrics to metricsconfig #6362
Replies: 4 comments 5 replies
-
Can you please share the log with some better formatting? It seems to be all squashed into a single line with log messages starting int he middle. Also, you should probably share the custom resource. |
Beta Was this translation helpful? Give feedback.
-
Sure, Here it is. Attached Crd-kafka and configmap... 2022-02-13 22:58:28 INFO ClusterOperator:125 - Triggering periodic reconciliation for namespace strimzi... configmap.txt |
Beta Was this translation helpful? Give feedback.
-
Yes, You are right. Configmap not created. created configmap now. Getting this log now. 2022-02-14 00:16:01 INFO AbstractOperator:254 - Reconciliation #1(watch) Kafka(strimzi/staginglogs): Kafka staginglogs will be checked for creation or modification |
Beta Was this translation helpful? Give feedback.
-
Yep evrything went fine, But upgrading to 0.27 went wrong. Error: UPGRADE FAILED: release strimzi failed. i am upgrading from 0.22 to 0.27. And we have srtmzi chart in artifactory. I dont know whats wrong here. Here is the tgz file in artifactory strimzi-kafka-operator-helm-3-chart-0.27.0.tgz 07-Jan-2022 14:55 76.04 KB |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am getting this below error after changing the spec.kafka.metrics to spec.kafka.metricsconfig to support v1beta2.
As per documentation i made changes. I am getting below errors in the strmizi operator pod logs,
2022-02-13 22:58:28 INFO ClusterOperator:125 - Triggering periodic reconciliation for namespace strimzi... 2022-02-13 22:58:28 WARN AbstractOperator:144 - Kafka resource staginglogs in namespace strimzi: Contains object at path spec.kafka with unknown properties: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols 2022-02-13 22:58:28 WARN AbstractOperator:144 - Kafka resource staginglogs in namespace strimzi: Contains object at path spec.zookeeper with an unknown property: rack 2022-02-13 22:58:28 WARN AbstractOperator:144 - Kafka resource staginglogs in namespace strimzi: Contains object at path spec.kafka with unknown properties: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols 2022-02-13 22:58:28 WARN AbstractOperator:144 - Kafka resource staginglogs in namespace strimzi: Contains object at path spec.zookeeper with an unknown property: rack 2022-02-13 22:58:28 INFO AbstractOperator:254 - Reconciliation #34(timer) Kafka(strimzi/staginglogs): Kafka staginglogs will be checked for creation or modification 2022-02-13 22:58:31 WARN AbstractModel:582 - ConfigMap kafka-metrics does not exist. Metrics disabled. 2022-02-13 22:58:31 ERROR AbstractOperator:275 - Reconciliation #34(timer) Kafka(strimzi/staginglogs): createOrUpdate failed io.strimzi.operator.cluster.model.InvalidResourceException: ConfigMap kafka-metrics does not exist. at io.strimzi.operator.cluster.model.AbstractModel.parseMetrics(AbstractModel.java:584) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.model.AbstractModel.generateMetricsAndLogConfigMap(AbstractModel.java:569) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.model.KafkaCluster.generateAncillaryConfigMap(KafkaCluster.java:2051) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.operator.assembly.KafkaAssemblyOperator$ReconciliationState.lambda$getKafkaAncillaryCm$103(KafkaAssemblyOperator.java:2408) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.vertx.core.Future.lambda$compose$3(Future.java:368) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.Future.lambda$map$4(Future.java:416) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:176) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.CompositeFutureImpl.doComplete(CompositeFutureImpl.java:252) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.CompositeFutureImpl.lambda$join$3(CompositeFutureImpl.java:110) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:176) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:327) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [io.netty.netty-transport-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at java.lang.Thread.run(Thread.java:834) [?:?] 2022-02-13 22:58:31 WARN AbstractOperator:508 - Reconciliation #34(timer) Kafka(strimzi/staginglogs): Failed to reconcile io.strimzi.operator.cluster.model.InvalidResourceException: ConfigMap kafka-metrics does not exist. at io.strimzi.operator.cluster.model.AbstractModel.parseMetrics(AbstractModel.java:584) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.model.AbstractModel.generateMetricsAndLogConfigMap(AbstractModel.java:569) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.model.KafkaCluster.generateAncillaryConfigMap(KafkaCluster.java:2051) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.strimzi.operator.cluster.operator.assembly.KafkaAssemblyOperator$ReconciliationState.lambda$getKafkaAncillaryCm$103(KafkaAssemblyOperator.java:2408) ~[io.strimzi.cluster-operator-0.22.0.jar:0.22.0] at io.vertx.core.Future.lambda$compose$3(Future.java:368) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.Future.lambda$map$4(Future.java:416) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:176) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.CompositeFutureImpl.doComplete(CompositeFutureImpl.java:252) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.CompositeFutureImpl.lambda$join$3(CompositeFutureImpl.java:110) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:105) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:150) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:176) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:21) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:327) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) ~[io.vertx.vertx-core-3.9.1.jar:3.9.1] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [io.netty.netty-transport-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty.netty-common-4.1.60.Final.jar:4.1.60.Final] at java.lang.Thread.run(Thread.java:834) [?:?]
Beta Was this translation helpful? Give feedback.
All reactions