-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.8 - incompatibility with Docker 1.4.0 - 'Failed to mkdirs' #129
Comments
I doubt that this is a plugin problem (NB: the stacktrace is entirely docker plugin free at this point, it's purely jenkins). |
I know but strange. Has anyone else observed same behavior? |
If you're feeling brave, you can try a -SNAPSHOT version here: I am successfully running on a fleet of dockers, some are 1.4.1. |
Thanks for the hint, I'll test it next week in my test environment and report. |
Hi, tested with the 0.9-SNAPSHOT, together with Docker 1.4.1. I'll investigate further - if no one else observes the same maybe this is a issue with the image. |
Hi, I've done intensive testing today (built new images etc., tested with different docker version and so on). I've still this issue. Maybe it's related to mounting volumes to the containers started by the plugin as the directory's which are provided by the volume in a running build container don't exists but then I start the container manually supplying -v parameter Doing a inspect shows me this for the slave container:
And this is from the manually started container:
The main difference is that in the container started by the plugin the Binds part is empty. And this difference at the end of inspect: Generated by plugin:
manually:
In this output the volume references to a path in the docker directory. An example for a jenkins log file:
(I've used here the jenkins log for another container creation, not exact the same as the inspected above). Due to this, my jenkins is unable to create directorys in /data/jenkins/ :-( Is this maybe a problem with the used java docker client? |
BTW, using a data container instead of defining the volume in the cloud definition works. |
Is #131 related to this? |
@hcguersoy: yeah. #131 fixed the mounting for me. without it docker didn't properly mount host-directories into the containers. #131 needs an update of jDocker as well. |
According to description it was fixed, but volumes handling will be also reviewed as part of volumes support PR. |
Hi, just wanted to mention that this issue is fixed in 0.9-rc - tested intensively with Docker 1.6. |
Hi,
I tested today the plugin version 0.8 against docker 1.4.0.
Looks at the first glance nice e.g. containers starting very fast.
But trying to build a simple java project fails immediately while trying to install Maven:
Downgrading Docker on my slaves to 1.3.2 helps and the job runs fine again.
The text was updated successfully, but these errors were encountered: