Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-3959

[DOC OCP] inter.broker.protocol.version should be "3.0", not 3.0 in Kafka CR yaml

XMLWordPrintable

    • False
    • None
    • False

      • inter.broker.protocol.version should be "3.0", not 3.0 in Kafka CR yaml
        • log.message.format.version also has the same problem
      • If these settings are 3.0 instead of "3.0", then when the Kafka CR yaml file was registered with OpenShift, these settings are simply converted to 3, and an error(1) occurs on the Cluster Operator.
      • As far as I checked, the problematic Kafka CR yaml is present inĀ "Using AMQ Streams on OpenShift" and "Deploying and Upgrading AMQ Streams on OpenShift" documents for AMQ Streams 2.0.
        • In AMQ Streams 2.1, these values default to 3.1, so there was no problematic Kafka CR yaml.

      (1) Cluster Operator error

      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator 2022-04-19 05:00:54 WARN  AbstractOperator:481 - Reconciliation #3(watch) Kafka(namespace-name/my-cluster): Failed to reconcile
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator io.strimzi.operator.cluster.model.InvalidResourceException: Kafka namespace-name/my-cluster has invalid spec.kafka.config: inter.broker.protocol.version has value '3' which does not match the required pattern: \Q0.8.0\E(\.[0-9]+)*|\Q0.8.0\E|\Q0.8.1\E(\.[0-9]+)*|\Q0.8.1\E|\Q0.8.2\E(\.[0-9]+)*|\Q0.8.2\E|\Q0.9.0\E(\.[0-9]+)*|\Q0.9.0\E|\Q0.10.0\E(\.[0-9]+)*|\Q0.10.0-IV0\E|\Q0.10.0-IV1\E|\Q0.10.1\E(\.[0-9]+)*|\Q0.10.1-IV0\E|\Q0.10.1-IV1\E|\Q0.10.1-IV2\E|\Q0.10.2\E(\.[0-9]+)*|\Q0.10.2-IV0\E|\Q0.11.0\E(\.[0-9]+)*|\Q0.11.0-IV0\E|\Q0.11.0-IV1\E|\Q0.11.0-IV2\E|\Q1.0\E(\.[0-9]+)*|\Q1.0-IV0\E|\Q1.1\E(\.[0-9]+)*|\Q1.1-IV0\E|\Q2.0\E(\.[0-9]+)*|\Q2.0-IV0\E|\Q2.0-IV1\E|\Q2.1\E(\.[0-9]+)*|\Q2.1-IV0\E|\Q2.1-IV1\E|\Q2.1-IV2\E|\Q2.2\E(\.[0-9]+)*|\Q2.2-IV0\E|\Q2.2-IV1\E|\Q2.3\E(\.[0-9]+)*|\Q2.3-IV0\E|\Q2.3-IV1\E|\Q2.4\E(\.[0-9]+)*|\Q2.4-IV0\E|\Q2.4-IV1\E|\Q2.5\E(\.[0-9]+)*|\Q2.5-IV0\E|\Q2.6\E(\.[0-9]+)*|\Q2.6-IV0\E|\Q2.7\E(\.[0-9]+)*|\Q2.7-IV0\E|\Q2.7-IV1\E|\Q2.7-IV2\E|\Q2.8\E(\.[0-9]+)*|\Q2.8-IV0\E|\Q2.8-IV1\E|\Q3.0\E(\.[0-9]+)*|\Q3.0-IV0\E|\Q3.0-IV1\E
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.strimzi.operator.cluster.model.KafkaCluster.validateConfiguration(KafkaCluster.java:663) ~[io.strimzi.cluster-operator-0.26.0.redhat-00005.jar:0.26.0.redhat-00005]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.strimzi.operator.cluster.model.KafkaCluster.fromCrd(KafkaCluster.java:426) ~[io.strimzi.cluster-operator-0.26.0.redhat-00005.jar:0.26.0.redhat-00005]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.strimzi.operator.cluster.operator.assembly.KafkaAssemblyOperator$ReconciliationState.lambda$getKafkaClusterDescription$56(KafkaAssemblyOperator.java:1481) ~[io.strimzi.cluster-operator-0.26.0.redhat-00005.jar:0.26.0.redhat-00005]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.Composition.onSuccess(Composition.java:38) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.PromiseImpl.tryComplete(PromiseImpl.java:23) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.PromiseImpl.onSuccess(PromiseImpl.java:49) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.vertx.core.impl.future.FutureBase.lambda$emitSuccess$0(FutureBase.java:54) ~[io.vertx.vertx-core-4.1.5.redhat-00001.jar:4.1.5.redhat-00001]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [io.netty.netty-common-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) [io.netty.netty-common-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [io.netty.netty-transport-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) [io.netty.netty-common-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [io.netty.netty-common-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty.netty-common-4.1.68.Final-redhat-00002.jar:4.1.68.Final-redhat-00002]
      strimzi-cluster-operator-74d5d6f48b-5kng7 strimzi-cluster-operator      at java.lang.Thread.run(Thread.java:829) [?:?]
      

              pmellor@redhat.com Paul Mellor
              rhn-support-tyamashi Tomonari Yamashita
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: