This repository was archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Configure command breaks akka server streamlets #1106
Copy link
Copy link
Open
Description
Describe the bug
Cloudflow version: 2.2.2
using configure beaks akka server streamlets with the following exception
Exception in thread "main" com.typesafe.config.ConfigException$Missing: merge of /etc/cloudflow-runner-secret/secret.conf: 1,/etc/cloudflow-runner-secret/application.conf: 1,reference.conf @ jar:file:/opt/cloudflow/cloudflow-runner_2.12-2.2.2.jar!/reference.conf: 1,reference.conf @ jar:file:/opt/cloudflow/cloudflow-akka_2.12-2.2.2.jar!/reference.conf: 12,String: 2: No configuration setting found for key 'cloudflow.internal'
at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:157)
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:150)
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:177)
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:181)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:194)
at com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:224)
at com.typesafe.config.impl.SimpleConfig.getInt(SimpleConfig.java:235)
at cloudflow.streamlets.ServerAttribute$.containerPort(ServerAttribute.scala:30)
at cloudflow.akkastream.Server.containerPort(AkkaServerStreamlet.scala:42)
at cloudflow.akkastream.Server.containerPort$(AkkaServerStreamlet.scala:42)
at cloudflow.akkastream.AkkaServerStreamlet.containerPort(AkkaServerStreamlet.scala:29)
at cloudflow.akkastream.ServerStreamletLogic.containerPort(ServerStreamletLogic.scala:28)
at cloudflow.akkastream.util.scaladsl.HttpServerLogic.run(HttpServerLogic.scala:166)
at cloudflow.akkastream.AkkaStreamlet.run(AkkaStreamlet.scala:93)
at cloudflow.akkastream.AkkaStreamlet.run(AkkaStreamlet.scala:37)
at cloudflow.streamlets.Streamlet.run(Streamlet.scala:107)
at cloudflow.runner.Runner$.run(Runner.scala:67)
at cloudflow.runner.Runner$.main(Runner.scala:45)
at cloudflow.runner.Runner.main(Runner.scala)
we use it in this way kubectl cloudflow configure --conf --conf --logback-config logback.xml
To Reproduce
- kubectl cloudflow deploy release --no-registry-credentials --conf --logback-config
- app is healthy and logs should be okay
- change any streamlet/akka config tracked in the conf file
- kubectl cloudflow configure --conf --logback-config
- server pods throw the exception
Expected behavior
Using configure command does not break akka server streamlets
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels