Hi All,
I am having a problem while vagrant provision. It gives an error about
docker something.
I am trying full_development

any help appretiated.

Metron 0.4.0
--
* master
--
commit 58d5318a0a9a40ea33c63d83885c11115eacd32c
Author: mattf-horton <[email protected]>
Date:   Tue Apr 18 22:57:04 2017 -0700

    METRON-862 Add Mattf gpg public key to KEYS file (mattf-horton) closes
apache/incubator-metron#536
--
--
ansible 2.0.0.2
  config file = /home/ekicim/incubator-metron/metron-deployment/ansible.cfg
  configured module search path = extra_modules
--
Vagrant 1.9.1
--
Python 2.7.12
--
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.4.0-62-generic", arch: "amd64", family: "unix"
--
Linux ubuntu 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 15922.8 MB
Processor Model: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
Processor Speed: 3399.875 MHz
Processor Speed: 3400.000 MHz
Total Physical Processors: 4
Total cores: 16
Disk information:
/dev/sda1       451G   24G  405G   6% /


 Running with ansible-skip-tags: ["sensors", "quick_dev"]
==> node1: Running provisioner: ansible...
    node1: Running ansible-playbook...

PLAY
***************************************************************************

TASK [setup]
*******************************************************************
ok: [node1]

TASK [Verify Ansible Version]
**************************************************
skipping: [node1]

PLAY
***************************************************************************

TASK [setup]
*******************************************************************
ok: [node1]

TASK [metron-builder : Build Metron]
*******************************************
changed: [node1 -> localhost]

TASK [metron-builder : Build Metron RPMs]
**************************************
fatal: [node1 -> localhost]: FAILED! => {"changed": true, "cmd": "cd
/home/ekicim/incubator-metron/metron-deployment/playbooks/../../metron-deployment
&& mvn clean package -DskipTests -P build-rpms", "delta": "0:00:02.409969",
"end": "2017-04-20 16:08:57.286309", "failed": true, "rc": 1, "start":
"2017-04-20 16:08:54.876340", "stderr": "Got permission denied while trying
to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post
http://%2Fvar%2Frun%2Fdocker.sock/v1.26/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=rpm-docker&ulimits=null:
dial unix /var/run/docker.sock: connect: permission denied", "stdout":
"[INFO] Scanning for projects...\n[INFO]
------------------------------------------------------------------------\n[INFO]
Reactor Build Order:\n[INFO] \n[INFO] metron-deployment\n[INFO]
metron-rpm\n[INFO]
                \n[INFO]
------------------------------------------------------------------------\n[INFO]
Building metron-deployment 0.4.0\n[INFO]
------------------------------------------------------------------------\n[INFO]
\n[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
metron-deployment ---\n[INFO]
                          \n[INFO]
------------------------------------------------------------------------\n[INFO]
Building metron-rpm 0.4.0\n[INFO]
------------------------------------------------------------------------\n[INFO]
\n[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ metron-rpm
---\n[INFO] Deleting
/home/ekicim/incubator-metron/metron-deployment/packaging/docker/rpm-docker/SOURCES
(includes = [], excludes = [])\n[INFO] \n[INFO] ---
maven-antrun-plugin:1.1:run (default) @ metron-rpm ---\n[INFO] Executing
tasks\n     [echo] ******** Displaying value of property ********\n
[echo] ../../../..\n[INFO] Executed tasks\n[INFO] \n[INFO] ---
maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm
---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO]
Copying 1 resource\n[INFO] Copying 1 resource\n[INFO] Copying 1
resource\n[INFO] Copying 1 resource\n[INFO] Copying 1 resource\n[INFO]
Copying 1 resource\n[INFO] Copying 1 resource\n[INFO] Copying 1
resource\n[INFO] Copying 1 resource\n[INFO] Copying 1 resource\n[INFO]
\n[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
---\n[ERROR] Command execution
failed.\norg.apache.commons.exec.ExecuteException: Process exited with an
error: 1 (Exit value: 1)\n\tat
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)\n\tat
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)\n\tat
org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)\n\tat
org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)\n\tat
org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)\n\tat
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)\n\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)\n\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\n\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\n\tat
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)\n\tat
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\n\tat
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\n\tat
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)\n\tat
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)\n\tat
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)\n\tat
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)\n\tat
org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)\n\tat
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)\n\tat
org.apache.maven.cli.MavenCli.main(MavenCli.java:199)\n\tat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
java.lang.reflect.Method.invoke(Method.java:498)\n\tat
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\n\tat
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\n\tat
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\n\tat
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\n[INFO]
------------------------------------------------------------------------\n[INFO]
Reactor Summary:\n[INFO] \n[INFO] metron-deployment
.................................. SUCCESS [  0.104 s]\n[INFO] metron-rpm
......................................... FAILURE [  1.102 s]\n[INFO]
------------------------------------------------------------------------\n[INFO]
BUILD FAILURE\n[INFO]
------------------------------------------------------------------------\n[INFO]
Total time: 1.321 s\n[INFO] Finished at: 2017-04-20T16:08:57+03:00\n[INFO]
Final Memory: 12M/303M\n[INFO]
------------------------------------------------------------------------\n[ERROR]
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
(docker-build) on project metron-rpm: Command execution failed. Process
exited with an error: 1 (Exit value: 1) -> [Help 1]\n[ERROR] \n[ERROR] To
see the full stack trace of the errors, re-run Maven with the -e
switch.\n[ERROR] Re-run Maven using the -X switch to enable full debug
logging.\n[ERROR] \n[ERROR] For more information about the errors and
possible solutions, please read the following articles:\n[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\n[ERROR]
\n[ERROR] After correcting the problems, you can resume the build with the
command\n[ERROR]   mvn <goals> -rf :metron-rpm", "stdout_lines": ["[INFO]
Scanning for projects...", "[INFO]
------------------------------------------------------------------------",
"[INFO] Reactor Build Order:", "[INFO] ", "[INFO] metron-deployment",
"[INFO] metron-rpm", "[INFO]
                          ", "[INFO]
------------------------------------------------------------------------",
"[INFO] Building metron-deployment 0.4.0", "[INFO]
------------------------------------------------------------------------",
"[INFO] ", "[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
metron-deployment ---", "[INFO]
                            ", "[INFO]
------------------------------------------------------------------------",
"[INFO] Building metron-rpm 0.4.0", "[INFO]
------------------------------------------------------------------------",
"[INFO] ", "[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
metron-rpm ---", "[INFO] Deleting
/home/ekicim/incubator-metron/metron-deployment/packaging/docker/rpm-docker/SOURCES
(includes = [], excludes = [])", "[INFO] ", "[INFO] ---
maven-antrun-plugin:1.1:run (default) @ metron-rpm ---", "[INFO] Executing
tasks", "     [echo] ******** Displaying value of property ********", "
[echo] ../../../..", "[INFO] Executed tasks", "[INFO] ", "[INFO] ---
maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm
---", "[INFO] Using 'UTF-8' encoding to copy filtered resources.", "[INFO]
Copying 1 resource", "[INFO] Copying 1 resource", "[INFO] Copying 1
resource", "[INFO] Copying 1 resource", "[INFO] Copying 1 resource",
"[INFO] Copying 1 resource", "[INFO] Copying 1 resource", "[INFO] Copying 1
resource", "[INFO] Copying 1 resource", "[INFO] Copying 1 resource",
"[INFO] ", "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @
metron-rpm ---", "[ERROR] Command execution failed.",
"org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)", "\tat
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
"\tat
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
"\tat
org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
"\tat
org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
"\tat org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)", "\tat
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
"\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
"\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)",
"\tat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)",
"\tat
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)",
"\tat
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)",
"\tat
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)",
"\tat
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)",
"\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)",
"\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)",
"\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)", "\tat
org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)", "\tat
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)", "\tat
org.apache.maven.cli.MavenCli.main(MavenCli.java:199)", "\tat
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "\tat
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)",
"\tat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)",
"\tat java.lang.reflect.Method.invoke(Method.java:498)", "\tat
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)",
"\tat
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)",
"\tat
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)",
"\tat
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)",
"[INFO]
------------------------------------------------------------------------",
"[INFO] Reactor Summary:", "[INFO] ", "[INFO] metron-deployment
.................................. SUCCESS [  0.104 s]", "[INFO] metron-rpm
......................................... FAILURE [  1.102 s]", "[INFO]
------------------------------------------------------------------------",
"[INFO] BUILD FAILURE", "[INFO]
------------------------------------------------------------------------",
"[INFO] Total time: 1.321 s", "[INFO] Finished at:
2017-04-20T16:08:57+03:00", "[INFO] Final Memory: 12M/303M", "[INFO]
------------------------------------------------------------------------",
"[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
value: 1) -> [Help 1]", "[ERROR] ", "[ERROR] To see the full stack trace of
the errors, re-run Maven with the -e switch.", "[ERROR] Re-run Maven using
the -X switch to enable full debug logging.", "[ERROR] ", "[ERROR] For more
information about the errors and possible solutions, please read the
following articles:", "[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException";,
"[ERROR] ", "[ERROR] After correcting the problems, you can resume the
build with the command", "[ERROR]   mvn <goals> -rf :metron-rpm"],
"warnings": []}

PLAY RECAP
*********************************************************************
node1                      : ok=3    changed=1    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Reply via email to