You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Sometimes a streamlet that was working fine fails after the pod restarts. Further investigation discovered that all the configuration properties disappear from the secret that contains the config.
Example:
A streamlet was working fine for some time. Then, after a pod was restarted by Kubernetes, it failed to start with the following exception:
Exception in thread "main" com.typesafe.config.ConfigException$Missing: /etc/cloudflow-runner-secret/secret.conf: 1: No configuration setting found for key 'store-info-config-path'
at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:250)
at cloudflow.streamlets.StringConfigParameter.value(ConfigParameters.scala:156)
at com.hbc.streams.stores.StoresStreamlet$$anon$1.runnableGraph(StoresStreamlet.scala:45)
at cloudflow.akkastream.scaladsl.RunnableGraphStreamletLogic.run(RunnableGraphStreamletLogic.scala:34)
at cloudflow.akkastream.AkkaStreamlet.run(AkkaStreamlet.scala:96)
at cloudflow.akkastream.AkkaStreamlet.run(AkkaStreamlet.scala:37)
at cloudflow.streamlets.Streamlet.run(Streamlet.scala:106)
at cloudflow.runner.Runner$.run(Runner.scala:68)
at cloudflow.runner.Runner$.main(Runner.scala:46)
at cloudflow.runner.Runner.main(Runner.scala)
Listing the configuration for this application shows that this property is present:
Hi @vkorenev ,
reading your report puzzles me a little.
Can you please check and confirm the Cloudflow versions of the components you are using:
Cloudflow operator version ( kubectl describe <cloudflow-operator-pod> and check the image tag)
Cloudflow CLI used for the deployment ( kubectl cloudflow version )
Cloudflow Sbt Plugin used to build the application ( kubectl get cloudflowapplications.cloudflow.lightbend.com -n <your namespace> -o yaml and look for library_version)
Describe the bug
Sometimes a streamlet that was working fine fails after the pod restarts. Further investigation discovered that all the configuration properties disappear from the secret that contains the config.
Example:
A streamlet was working fine for some time. Then, after a pod was restarted by Kubernetes, it failed to start with the following exception:
Listing the configuration for this application shows that this property is present:
However, all the configuration properties disappeared from the secret which is mounted to
/etc/cloudflow-runner-secret
:When decoded, the properties are these:
But when this application is freshly deployed, the values are present there:
So at some point all the config values except
cloudflow.kafka.bootstrap-servers
are wiped out.To Reproduce
I have not found exact steps to reproduce this yet. But this happens periodically every 1-2 weeks.
Expected behavior
Streamlets should continue to run indefinitely with the last applied configuration.
Additional context
The deployed Cloudflow version is 2.0.21.
The text was updated successfully, but these errors were encountered: