Created 12-13-2018 02:09 PM
screen-shot-2018-12-13-at-70528-pm.pngAfter vagrant provision the build got stucked at this point (TASK [metron-builder : Build Metron DEB Packages]).
I am not able to track its status whats happening inside. How much time does it take to append running .
Is there any logs where we can track that something is happening and we should wait before terminating.
I have done this process 6-7 times , every time it gets stucks here and nothing progress after this.
Created 12-13-2018 02:27 PM
Hi @suhans dev , can you try to run the following command separately?
cd metron/metron-deployment mvn clean package -Pbuild-debs
Created 12-13-2018 06:13 PM
Thanks for the reply @asubramanian
I tried doing the above steps
This time it got stucked at this point . (attached screenshot . screen-shot-2018-12-13-at-105921-pm.png)
exec-maven-plugin:1.5.0:exec (deb-build) @ metron-debs ---
Created 12-17-2018 06:18 AM
Lets take a step back to see if everything else is ok. Can you paste the output of the following command:
cd metron/metron-deployment/scripts ./platform-info.sh
Also, just to isolate if this is a Deb-only issue, can you try the following as well:
cd metron/metron-deployment mvn clean package -Pbuild-rpms
Created 12-17-2018 06:36 AM
Thanks a lot for your help.
Please find attached screenshot of the followiing command.
Created 12-17-2018 03:18 PM
I am getting the following error while running the command mvn clean package-Pbuild-rpms
One more thing
I am trying to install metron on ubuntu , Is mvn clean package-Pbuild-rpms is for centOS and mvn clean package-Pbuild-debs for ubuntu ?
Created 12-17-2018 07:35 AM
From your platform-info output, I see that you are running a more recent version of Docker (than what I have; I have pasted my platform info output below for your reference.).
I recall someone from the community talk about issues with Docker. You can join the #metron slack channel in ASF and search for it in the archives. I think they mention having to reset Docker to factory default which resolved the issue.
Also, let me know if the `buildrpms` command worked for you.
My platform-info output:
➜ metron git:(master) metron-deployment/scripts/platform-info.sh Metron 0.6.1 -- * master -- commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master, origin/master, origin/HEAD) Author: nickwallen <email@example.com> Date: Tue Nov 27 12:44:58 2018 -0500 METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276 -- -- ansible 2.5.0 config file = None configured module search path = [u'/Users/asubramanian/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python2.7/site-packages/ansible executable location = /usr/local/bin/ansible python version = 2.7.15 (default, Aug 17 2018, 22:39:05) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] -- Vagrant 2.0.2 -- vagrant-hostmanager (1.8.9) -- Python 2.7.15 -- Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T00:03:14+05:30) Maven home: /usr/local/Cellar/maven/3.5.4/libexec Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac" -- Docker version 17.12.0-ce, build c97c6d6 -- node v9.11.1 -- npm 5.6.0 -- Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.1.0 (clang-902.0.39.2) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin -- Compiler is C++11 compliant -- Darwin HW10098-2.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64 -- Total System Memory = 16384 MB Processor Model: Intel(R) Core(TM) i7-4770HQ CPU Processor Speed: 2.20GHz Total Physical Processors: 4 Total cores: 4 Disk information: /dev/disk1s1 466Gi 251Gi 201Gi 56% 2175192 9223372036852600615 0% / /dev/disk1s4 466Gi 13Gi 201Gi 7% 13 9223372036854775794 0% /private/var/vm /dev/disk2s1 118Mi 82Mi 36Mi 70% 26 4294967253 0% /Volumes/next-macos-webkit /Volumes/next-macos-webkit/Next.app 118Mi 82Mi 36Mi 70% 26 4294967253 0% /private/var/folders/1f/071y_b_n4fv95v1xvl8qd82w0000gp/T/AppTranslocation/C93448EF-8135-4526-BC2F-0ACBF977787C This CPU appears to support virtualization
Created 12-17-2018 03:28 PM
buildrpms command didn't work for me. screen-shot-2018-12-17-at-122403-pm.jpg
Please find attached screenshot of the result of the command mvn clean package-Pbuild-rpms
One more thing
I am trying to run the metron for Ubuntu14 . Is the command mvn clean package-Pbuild-rpms is for centOS and
mvn clean package-Pbuild-debs for ubuntu ??
Created 12-17-2018 03:29 PM
The buildrpms command didn't work for me.
Please find screenshot of the result of the command mvn clean package-Pbuild-rpms.
One more thing
I want to run the metron for ubuntu14 . Is "mvn clean package-Pbuild-rpms" is for centOS and mvn clean package-Pbuild-debs is for ubuntu ??screen-shot-2018-12-17-at-122403-pm.jpg