Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30500

jclouds docker support

XMLWordPrintable

      Hello, tried to setup jclouds plugin to launch docker slaves. I had to build it from master as it includes latest jclouds. Basically I had to add the `docker` artifact and I've got ability to select docker type slaves. But I'm hitting an issue that docker connection cannot be established.

      Cannot connect to specified cloud, please check the identity and credentials: Guice creation errors:
      
      1) Error in custom provider, java.lang.RuntimeException: java.io.FileNotFoundException: ddd (No such file or directory)
        while locating org.jclouds.http.okhttp.config.OkHttpCommandExecutorServiceModule$OkHttpClientProvider
        at org.jclouds.http.okhttp.config.OkHttpCommandExecutorServiceModule.configure(OkHttpCommandExecutorServiceModule.java:51)
        while locating com.squareup.okhttp.OkHttpClient
          for parameter 7 at org.jclouds.http.okhttp.OkHttpCommandExecutorService.<init>(OkHttpCommandExecutorService.java:70)
        while locating org.jclouds.http.okhttp.OkHttpCommandExecutorService
        at org.jclouds.http.okhttp.config.OkHttpCommandExecutorServiceModule.configure(OkHttpCommandExecutorServiceModule.java:50)
        while locating org.jclouds.http.HttpCommandExecutorService
      Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: ddd (No such file or directory)
      at shaded.com.google.common.base.Throwables.propagate(Throwables.java:160)
      at org.jclouds.docker.suppliers.D
      

      See also attached screenshot.

      Any ideas for proper configuration? When I selected an empty file in the `identity` field, then I didn't see same exception but a TLS error (while the URL provided is plain HTTP).

      P.S. The docker plug-in is very rough and even latest version seems broken (JENKINS-30422) so it's preferable if jclouds works given it also allows other types of slaves.

            felfert Fritz Elfert
            akostadinov akostadinov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: