[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-15 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem closed an issue as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
ok figured it out ... One has to create a docker group and add the jenkins user to it on the respective jenkins slave  

 

sudo usermod -aG docker jenkins
 

 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Change By:
 
 Faheem Nadeem 
 
 
 

Status:
 
 Open Closed 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-15 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Change By:
 
 Faheem Nadeem 
 
 
 

Comment:
 
 ok figured it out ... One has to create a docker group and add the jenkins user to it on the respective jenkins slave :({code:none}sudo usermod -aG docker jenkins{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-15 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem edited a comment on  JENKINS-32914 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 
 ok figured it out ... One has to create a docker group and add the jenkins user to it on the respective jenkins slave :({code: shell none }sudo usermod -aG docker jenkins{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-15 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem commented on  JENKINS-32914 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 
 
ok figured it out ... One has to create a docker group and add the jenkins user to it on the respective jenkins slave  

 

Unable to find source-code formatter for language: shell. Available languages are: actionscript, html, java, _javascript_, none, sql, xhtml, xml


sudo usermod -aG docker jenkins
 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-12 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Change By:
 
 Faheem Nadeem 
 
 
 
 
 
 
 
 
 
 Hi,I have a jenkins slave machine running with docker properly installed according to instructions [Docker installation|https://docs.docker.com/engine/installation/linux/ubuntulinux/]. I have no settings configured in /etc/default/docker and DOCKER_HOST and DOCKER_OPTS are unset. docker info on the machine leads to :{code: shell nonel }$ docker infoContainers: 1 Running: 0 Paused: 0 Stopped: 1Images: 5Server Version: 1.10.1Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 11 Dirperm1 Supported: falseExecution Driver: native-0.2Logging Driver: json-filePlugins: Volume: local Network: host bridge nullKernel Version: 3.13.0-77-genericOperating System: Ubuntu 14.04.3 LTSOSType: linuxArchitecture: x86_64CPUs: 1Total Memory: 3.676 GiBName: ip-10-0-30-218ID: TOIS:D4A3:XIQO:EIOY:DD6F:CLWD:AARK:MSPX:UTLK:O5BN:QCBI:7UZKWARNING: No swap limit support{code}docker version on the machine leads to:{code: shell none }$ docker versionClient: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64Server: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64{code}If I run a pipeline job which is configured to checkout a repository on the specific node, load a Jenkinsfile from repo, which essentially builds a docker image from a Dockerfile in the repo described in the Jenkinsfile. All goes well, I have perfectly cross checked I am on the same node. The result is pipeline cannot find the running docker daemon, which is running perfectly on the machine. I can easily build the docker image from the Dockerfile manually. Are there any docker specific settings that need to be set to access the daemon from pipeline e.g. Any DOCKER_OPTS exposing any unix socket or TCP port?{code: shell none }Running on jenkins-slave-CI in /ebs/jenkins/workspace/test[Pipeline] node {[Pipeline] General Build Wrapper : Start[Pipeline] wrap {[Pipeline] stage: checkout10:53:16 Entering stage checkout10:53:16 Proceeding[Pipeline] gitSome checkout stuff here[Pipeline] load: Loaded script: Jenkinsfile[Pipeline] load {[Pipeline] stage: build10:53:17 Entering stage build10:53:17 Proceeding[Pipeline] sh10:53:18 [test] Running shell script10:53:18 + docker build -t test/test-resources:env .10:53:18 Cannot connect to the Docker daemon. Is the docker daemon running on this host?[Pipeline] echo10:53:18 Failed: hudson.AbortException: script returned exit code 1[Pipeline] mail[Pipeline] } //load[Pipeline] } //wrap[Pipeline] General Build Wrapper : End[Pipeline] } //node[Pipeline] Allocate node : End[Pipeline] End of PipelineFinished: SUCCESS{code} 
 
 
 
 
 
 
 
 
 
 
 
 

[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-12 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Change By:
 
 Faheem Nadeem 
 
 
 
 
 
 
 
 
 
 Hi,I have a jenkins slave machine running with docker properly installed according to instructions [Docker installation|https://docs.docker.com/engine/installation/linux/ubuntulinux/]. I have no settings configured in /etc/default/docker and DOCKER_HOST and DOCKER_OPTS are unset. docker info on the machine leads to :{code: nonel none }$ docker infoContainers: 1 Running: 0 Paused: 0 Stopped: 1Images: 5Server Version: 1.10.1Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 11 Dirperm1 Supported: falseExecution Driver: native-0.2Logging Driver: json-filePlugins: Volume: local Network: host bridge nullKernel Version: 3.13.0-77-genericOperating System: Ubuntu 14.04.3 LTSOSType: linuxArchitecture: x86_64CPUs: 1Total Memory: 3.676 GiBName: ip-10-0-30-218ID: TOIS:D4A3:XIQO:EIOY:DD6F:CLWD:AARK:MSPX:UTLK:O5BN:QCBI:7UZKWARNING: No swap limit support{code}docker version on the machine leads to:{code:none}$ docker versionClient: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64Server: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64{code}If I run a pipeline job which is configured to checkout a repository on the specific node, load a Jenkinsfile from repo, which essentially builds a docker image from a Dockerfile in the repo described in the Jenkinsfile. All goes well, I have perfectly cross checked I am on the same node. The result is pipeline cannot find the running docker daemon, which is running perfectly on the machine. I can easily build the docker image from the Dockerfile manually. Are there any docker specific settings that need to be set to access the daemon from pipeline e.g. Any DOCKER_OPTS exposing any unix socket or TCP port?{code:none}Running on jenkins-slave-CI in /ebs/jenkins/workspace/test[Pipeline] node {[Pipeline] General Build Wrapper : Start[Pipeline] wrap {[Pipeline] stage: checkout10:53:16 Entering stage checkout10:53:16 Proceeding[Pipeline] gitSome checkout stuff here[Pipeline] load: Loaded script: Jenkinsfile[Pipeline] load {[Pipeline] stage: build10:53:17 Entering stage build10:53:17 Proceeding[Pipeline] sh10:53:18 [test] Running shell script10:53:18 + docker build -t test/test-resources:env .10:53:18 Cannot connect to the Docker daemon. Is the docker daemon running on this host?[Pipeline] echo10:53:18 Failed: hudson.AbortException: script returned exit code 1[Pipeline] mail[Pipeline] } //load[Pipeline] } //wrap[Pipeline] General Build Wrapper : End[Pipeline] } //node[Pipeline] Allocate node : End[Pipeline] End of PipelineFinished: SUCCESS{code} 
 
 
 
 
 
 
 
 
 
 
 
 

[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-12 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Jesse Glick 
 
 
 

Components:
 

 docker-workflow-plugin 
 
 
 

Created:
 

 12/Feb/16 11:26 AM 
 
 
 

Environment:
 

 Jenkins 1.639  CloudBees Docker Pipeline 1.3  ubuntu 14.04 LTS 
 
 
 

Priority:
 
  Critical 
 
 
 

Reporter:
 
 Faheem Nadeem 
 
 
 
 
 
 
 
 
 
 
Hi, 
I have a jenkins slave machine running with docker properly installed according to instructions Docker installation. I have no settings configured in /etc/default/docker and DOCKER_HOST and DOCKER_OPTS are unset. docker info on the machine leads to : 

 

Unable to find source-code formatter for language: shell. Available languages are: actionscript, html, java, _javascript_, none, sql, xhtml, xml


$ docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 5
Server Version: 1.10.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 11
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: host bridge null

[JIRA] [docker-workflow-plugin] (JENKINS-32914) Unable to locate docker daemon !!!

2016-02-12 Thread fah...@cliqz.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Faheem Nadeem updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32914 
 
 
 
  Unable to locate docker daemon !!!  
 
 
 
 
 
 
 
 
 

Change By:
 
 Faheem Nadeem 
 
 
 
 
 
 
 
 
 
 Hi,I have a jenkins slave machine running with docker properly installed according to instructions [Docker installation|https://docs.docker.com/engine/installation/linux/ubuntulinux/]. I have no settings configured in /etc/default/docker and DOCKER_HOST and DOCKER_OPTS are unset. docker info on the machine leads to :{code:none}$ docker infoContainers: 1 Running: 0 Paused: 0 Stopped: 1Images: 5Server Version: 1.10.1Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 11 Dirperm1 Supported: falseExecution Driver: native-0.2Logging Driver: json-filePlugins: Volume: local Network: host bridge nullKernel Version: 3.13.0-77-genericOperating System: Ubuntu 14.04.3 LTSOSType: linuxArchitecture: x86_64CPUs: 1Total Memory: 3.676 GiBName: ip-10-0-30-218ID: TOIS:D4A3:XIQO:EIOY:DD6F:CLWD:AARK:MSPX:UTLK:O5BN:QCBI:7UZKWARNING: No swap limit support{code}docker version on the machine leads to:{code:none}$ docker versionClient: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64Server: Version:  1.10.1 API version:  1.22 Go version:   go1.5.3 Git commit:   9e83765 Built:Thu Feb 11 19:27:08 2016 OS/Arch:  linux/amd64{code}If I run a pipeline job which is configured to checkout a repository on the specific node, load a Jenkinsfile from repo, which essentially builds a docker image from a Dockerfile in the repo described in the Jenkinsfile. All goes well, I have perfectly cross checked I am on the same node , as the checkout is happening in the mounted ebs on the machine . The result is pipeline cannot find the running docker daemon, which is running perfectly on the machine. I can easily build the docker image from the Dockerfile manually. Are there any docker specific settings that need to be set to access the daemon from pipeline e.g. Any DOCKER_OPTS exposing any unix socket or TCP port?{code:none}Running on jenkins-slave-CI in /ebs/jenkins/workspace/test[Pipeline] node {[Pipeline] General Build Wrapper : Start[Pipeline] wrap {[Pipeline] stage: checkout10:53:16 Entering stage checkout10:53:16 Proceeding[Pipeline] gitSome checkout stuff here[Pipeline] load: Loaded script: Jenkinsfile[Pipeline] load {[Pipeline] stage: build10:53:17 Entering stage build10:53:17 Proceeding[Pipeline] sh10:53:18 [test] Running shell script10:53:18 + docker build -t test/test-resources:env .10:53:18 Cannot connect to the Docker daemon. Is the docker daemon running on this host?[Pipeline] echo10:53:18 Failed: hudson.AbortException: script returned exit code 1[Pipeline] mail[Pipeline] } //load[Pipeline] } //wrap[Pipeline] General Build Wrapper : End[Pipeline] } //node[Pipeline] Allocate node : End[Pipeline] End of PipelineFinished: SUCCESS{code}