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

Upgrading From Streams 2.7 to Streams 2.8 With Quota Plugin Already Configured Breaks Upgrade

XMLWordPrintable

    • False
    • None
    • False
    • Important

      When upgrading to Streams 2.8 with the (tech preview) quota plugin already configured, reconciliation fails, due to non rollable pods. Investigating the pods reveals pods in crash-loop status with the following logged errors:

      2024-11-14 11:04:36,664 ERROR [KafkaServer id=1] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer) [main]
      org.apache.kafka.common.config.ConfigException: Missing required configuration "client.quota.callback.static.kafka.admin.bootstrap.servers" which has no default value.
      	at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:534)
      	at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:524)
      	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:114)
      	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:147)
      	at io.strimzi.kafka.quotas.StaticQuotaConfig$KafkaClientConfig.<init>(StaticQuotaConfig.java:199)
      	at io.strimzi.kafka.quotas.StaticQuotaConfig.<init>(StaticQuotaConfig.java:91)
      	at io.strimzi.kafka.quotas.StaticQuotaConfig.<init>(StaticQuotaConfig.java:67)
      	at io.strimzi.kafka.quotas.StaticQuotaCallback.configure(StaticQuotaCallback.java:160)
      	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:404)
      	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:436)
      	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:421)
      	at kafka.server.QuotaFactory$.instantiate(QuotaFactory.scala:80)
      	at kafka.server.KafkaServer.startup(KafkaServer.scala:281)
      	at kafka.Kafka$.main(Kafka.scala:112)
      	at kafka.Kafka.main(Kafka.scala)
      

      This should be noted in the documentation as a warning or described in the upgrade instructions. Alternatively, the upgrade should automatically migrate the configuration, if present.

              pmellor@redhat.com Paul Mellor
              rhn-support-dhawkins Duane Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: