Hello.
I tried unsuccessfully to execute the following tutorial :
http://roboconf.net/en/user-guide/tutorial-local-deployment-with-docker.html
After the correct docker configuration listening at the 4243 port and with the pulled ubuntu-latest
for the 0.9.1 version of roboconf and lamp-webapp-bash application, I logged the following errors :
Karaf.log
2017-11-13 17:18:50,422 | ERROR | pool-22-thread-1 | edTargetHandler$CheckingRunnable | 36 - net.roboconf.target-api - 0.9.1 | An error occurred while configuring machine 'rbcf_4e7d1f37-3ace-4b31-97e6-0582ac72759b'. org.apache.http.conn.HttpHostConnectException: Connect to localhost:4243 [localhost/127.0.0.1] failed: Connexion refusée (Connection refused)
roboconf.log
2017-11-14 11:14:39,376 | ERROR | edTargetHandler$CheckingRunnable | An error occurred while configuring machine 'rbcf_8d6bd158-4b52-4a81-a1d9-1124577f53cd'. com.github.dockerjava.api.exception.NotFoundException: {"message":"No such image: demo_roboconf_demo:latest"}
...
2017-11-14 11:17:26,870 | ERROR | ManagedApplication | Agent /MySQL VM has not sent heart beats for quite a long time. Status changed to PROBLEM.
If, instead I tag manually a demo_robo_demo image from the ubuntu:latest, I have no error, but the created and started containers of lamp application exit immediately with the following warning on the logs:
A method was found for cap-add but it does not have the right parameter type. Skipping it. You may want to add a feature request.
for the 0.8 version of roboconf and lamp-webapp-bash application, I have the following error :
roboconf.log
com.github.dockerjava.api.exception.DockerClientException: Could not build image: The command '/bin/sh -c apt-get update && apt-get install -y openjdk-7-jre-headless && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
at com.github.dockerjava.core.command.BuildImageResultCallback.getImageId(BuildImageResultCallback.java:71)
at com.github.dockerjava.core.command.BuildImageResultCallback.awaitImageId(BuildImageResultCallback.java:48)
at net.roboconf.target.docker.internal.DockerMachineConfigurator.createImage(DockerMachineConfigurator.java:344)
at net.roboconf.target.docker.internal.DockerMachineConfigurator.configure(DockerMachineConfigurator.java:153)
at net.roboconf.target.api.AbstractThreadedTargetHandler$CheckingRunnable.run(AbstractThreadedTargetHandler.java:207)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Is there a way to execute successfully this tutorial ?
Many thanks in advance.
2017-11-13 17:18:50,422 | ERROR | pool-22-thread-1 | edTargetHandler$CheckingRunnable | 36 - net.roboconf.target-api - > 0.9.1 | An error occurred while configuring machine 'rbcf_4e7d1f37-3ace-4b31-97e6-0582ac72759b'. org.apache.http.conn.HttpHostConnectException: Connect to localhost:4243 [localhost/127.0.0.1] failed: Connexion refusée (Connection refused)
2017-11-14 11:17:26,870 | ERROR | ManagedApplication | Agent /MySQL VM has not sent heart beats for quite a long time. Status changed to PROBLEM.