Comments (5)
I have the same issue, running Docker-Plugin 0.7 on an Ubuntu 14.04 with Jenkins package installed. Docker host is configured as http://127.0.0.1:2375.
The job starts and docker-plugin tries to download the requested image (it is not on host yet), then this appears in the jenkins log:
Jul 28, 2014 4:37:41 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
INFO: Excess workload after pending Spot instances: 1
Jul 28, 2014 4:37:41 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Images found: []
Jul 28, 2014 4:37:41 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Pulling image camunda/camunda-ci-docker-mysql since one was not found. This may take awhile...
Jul 28, 2014 4:37:41 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Finished pulling image camunda/camunda-ci-docker-mysql
Jul 28, 2014 4:37:41 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
WARNING: Failed to count the # of live instances on Docker
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:917)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:822)
at org.glassfish.jersey.client.JerseyInvocation.access$600(JerseyInvocation.java:90)
at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:693)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:689)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:405)
at org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:318)
at com.sun.proxy.$Proxy76.inspectImage(Unknown Source)
at com.nirima.docker.client.DockerClient$Image.inspect(DockerClient.java:466)
at com.nirima.jenkins.plugins.docker.DockerCloud.countCurrentDockerSlaves(DockerCloud.java:264)
at com.nirima.jenkins.plugins.docker.DockerCloud.addProvisionedSlave(DockerCloud.java:284)
at com.nirima.jenkins.plugins.docker.DockerCloud.provision(DockerCloud.java:154)
at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:281)
at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:51)
at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:368)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Jul 28, 2014 4:37:51 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
INFO: Excess workload after pending Spot instances: 1
Jul 28, 2014 4:37:51 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Images found: []
Jul 28, 2014 4:37:51 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Pulling image camunda/camunda-ci-docker-mysql since one was not found. This may take awhile...
Jul 28, 2014 4:37:51 PM com.nirima.jenkins.plugins.docker.DockerCloud countCurrentDockerSlaves
INFO: Finished pulling image camunda/camunda-ci-docker-mysql
Jul 28, 2014 4:37:51 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
WARNING: Failed to count the # of live instances on Docker
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:917)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:822)
at org.glassfish.jersey.client.JerseyInvocation.access$600(JerseyInvocation.java:90)
at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:693)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:689)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:405)
at org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:318)
at com.sun.proxy.$Proxy76.inspectImage(Unknown Source)
at com.nirima.docker.client.DockerClient$Image.inspect(DockerClient.java:466)
at com.nirima.jenkins.plugins.docker.DockerCloud.countCurrentDockerSlaves(DockerCloud.java:264)
at com.nirima.jenkins.plugins.docker.DockerCloud.addProvisionedSlave(DockerCloud.java:284)
at com.nirima.jenkins.plugins.docker.DockerCloud.provision(DockerCloud.java:154)
at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:281)
at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:51)
at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:368)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Test connection in Jenkins works.
from docker-plugin.
Nvm, I had a typo in the image name.
from docker-plugin.
I had the same problem with Docker-Plugin 0.7. I then looked into the code... recognized, that currently the latest tag is added automatically removed it from my id et voila... it worked.
from docker-plugin.
I'm experiencing the same issue with 0.7 using custom tags (user/repository:my_tag). Quick fix is to use image ID
from docker-plugin.
@abraverm please try new hpi from https://jenkins.ci.cloudbees.com/job/plugins/job/docker-plugin/246/com.nirima$docker-plugin/ if issue still exists please open new issue with full description https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue#Howtoreportanissue-WhatinformationtoprovideforEnvironmentandDescription
from docker-plugin.
Related Issues (20)
- Dynamic provision of Docker Agent Templates HOT 14
- can not get container id if the Jenkins is running in a podman HOT 4
- Client certificate doesn't provide to remote docker daemon HOT 1
- NPE in DockerComputerJNLPConnector.beforeContainerCreated starting with Jenkins 2.437 HOT 9
- Docker cloud does not show credentials dropdown HOT 1
- Support to connect to docker/podman socket via SSH tunnel HOT 2
- Docker.inside() sh block doesn't wait until "$@" is executed
- Unable to run Jenkins build node if I set "User Jenkins" in the dockerfile HOT 11
- No logs when using awslogs log driver
- Deprecated value in DEFAULT_ENTRY_POINT_ARGUMENTS
- Is there a way to add build time options like --add-host?
- uninstallation pending HOT 1
- Pipeline withDockerContainer() report an Error:Cannot run program "docker": error=2, No such file or directory HOT 1
- Add Instance Number to Environment Variables
- Support for sysctl settings
- Introduce how to use this plugin in a Pipeline HOT 4
- Docker 27.0.1: Failure to login to docker registry with port HOT 2
- Duplicated slaves spawned
- Agents can't be reused - Broken Pipe HOT 1
- Docker plugin stopped starting Docker containers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-plugin.