matt-8319 commented on issue #5475:
URL: https://github.com/apache/openwhisk/issues/5475#issuecomment-2063376764
I have been stuggling for the last two days to try and get a working
environment up and running. Using the devtools quick-start to spin up an
environment using Docker Compose. First issue I encountered was the Kafka
container failing:
`[2024-04-18 08:35:15,092] FATAL (kafka.Kafka$)
java.lang.IllegalArgumentException: Error creating broker listeners from
'PLAINTEXT://kafka:': Unable to parse PLAINTEXT://kafka: to a broker endpoint
at
kafka.utils.CoreUtils$.listenerListToEndPoints(CoreUtils.scala:274)
at
kafka.server.KafkaConfig.getAdvertisedListeners(KafkaConfig.scala:1115)
at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1075)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:867)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:864)
at
kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:28)
at kafka.Kafka$.main(Kafka.scala:58)
at kafka.Kafka.main(Kafka.scala)
Caused by: kafka.common.KafkaException: Unable to parse PLAINTEXT://kafka:
to a broker endpoint
at kafka.cluster.EndPoint$.createEndPoint(EndPoint.scala:57)
at
kafka.utils.CoreUtils$.$anonfun$listenerListToEndPoints$6(CoreUtils.scala:271)
at
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
at
scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
at
scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
at
scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)
at scala.collection.TraversableLike.map(TraversableLike.scala:234)
at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at
kafka.utils.CoreUtils$.listenerListToEndPoints(CoreUtils.scala:271)
... 7 more
Error response from daemon: {"message":"client version 1.23 is too old.
Minimum supported API version is 1.24, please upgrade your client to a newer
version"}`
This appears to be resolved by using the latest image
(wurstmeister/kafka:latest).
Other containers start and stay running. The only exceptions are the
Controller and Invoker containers. They are both failing with:
'Exception in thread "main" pureconfig.error.ConfigReaderException: Cannot
convert configuration to a org.apache.openwhisk.core.etcd.EtcdConfig. Failures
are:
at 'whisk':
- Key not found: 'etcd'.
at pureconfig.package$.getResultOrThrow(package.scala:139)
at pureconfig.package$.loadConfigOrThrow(package.scala:161)
at
org.apache.openwhisk.core.loadBalancer.FPCPoolBalancer$.instance(FPCPoolBalancer.scala:721)
at
org.apache.openwhisk.core.controller.Controller.<init>(Controller.scala:119)
at
org.apache.openwhisk.core.controller.Controller$.start(Controller.scala:338)
at
org.apache.openwhisk.core.controller.Controller$.main(Controller.scala:291)
at
org.apache.openwhisk.core.controller.Controller.main(Controller.scala)'
We are currently evaluating OpenWhisk and it has been quite challenging so
far with the current documentation. Could you please point me in the direction
as to how I might adjust the SPI's for this deployment configuration? Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]