Juniper / open-nti

Open Network Telemetry Collector build with open source tools
Apache License 2.0
233 stars 93 forks source link

Does open-nti support installing on raspberry pi v7 #178

Closed songtianyi closed 7 years ago

songtianyi commented 7 years ago

I am following the instructions, but not works

root@raspberrypi:~# git clone https://github.com/Juniper/open-nti.git
Cloning into 'open-nti'...
remote: Counting objects: 2357, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 2357 (delta 0), reused 2 (delta 0), pack-reused 2351
Receiving objects: 100% (2357/2357), 5.80 MiB | 10.00 KiB/s, done.
Resolving deltas: 100% (1397/1397), done.
Checking connectivity... done.
root@raspberrypi:~# cd open-nti/
root@raspberrypi:~/open-nti# ls
dashboards     docker-compose             docker.start.persistent.sh  docker.update.sh  Makefile           open-nti-start-cron.sh  README.md
data           docker-compose-persistent.yml  docker.start.sh         docs          open-nti           open-nti-stop-cron.sh   requirements.txt
docker         docker-compose.yml         docker.stop.persistent.sh   insecure_key      open-nti.params    plugins         tests
docker.cli.sh  Dockerfile             docker.stop.sh          LICENSE       open-nti-show-cron.sh  ppt
root@raspberrypi:~/open-nti#
root@raspberrypi:~/open-nti#
root@raspberrypi:~/open-nti#
root@raspberrypi:~/open-nti# make start
Use docker compose file: docker-compose.yml
IMAGE_TAG=latest docker-compose -f docker-compose.yml up -d
Pulling opennti (juniper/open-nti:latest)...
latest: Pulling from juniper/open-nti
6ffe5d2d6a97: Pulling fs layer
f4e00f994fd4: Pulling fs layer
e99f3d1fc87b: Pulling fs layer
a3ed95caeb02: Waiting
ededd75b6753: Waiting
1ddde157dd31: Waiting
2e37fee6c02f: Waiting
2ba4e08c927e: Waiting
7f6255ffd7a5: Waiting
b9f4f39681f2: Pull complete
bab6f615f2cf: Pull complete
9b1ff15b0594: Pull complete
80582d52a5e9: Pull complete
1a09bce6afc9: Pull complete
202a789b4782: Pull complete
a84ffc5dd6b2: Pull complete
5dfa44665bd6: Pull complete
400e96e580bf: Pull complete
865b734fc380: Pull complete
77c95c87a889: Pull complete
781f27b38a8a: Pull complete
89dcc6b5c054: Pull complete
bc219f2b16c3: Pull complete
23302042bce9: Pull complete
eb5cb3d5e7fa: Pull complete
9235d22ead52: Pull complete
3ab4dd0496ad: Pull complete
8fae2a14afc9: Pull complete
f4cff6327706: Pull complete
f09d8d701472: Pull complete
1ec5732f3ef8: Pull complete
94b4212165d4: Pull complete
507f2e4b3562: Pull complete
bff91a09778b: Pull complete
124793b67aa7: Pull complete
30cafdf89152: Pull complete
3d221aa4d679: Pull complete
Digest: sha256:c45efc371298d71f86581a30fff1c6caeef7047d0c8cd634f56fcd64b0fb7d6f
Status: Downloaded newer image for juniper/open-nti:latest
Pulling input-syslog (juniper/open-nti-input-syslog:latest)...
latest: Pulling from juniper/open-nti-input-syslog
e110a4a17941: Pull complete
2b3730f08b98: Pull complete
01bbd7d4a2f9: Pull complete
a1949c91ad97: Pull complete
d1dc0c8bb461: Pull complete
c4d6853a23f8: Pull complete
2222a88b9be3: Pull complete
2cfd79515b53: Pull complete
5e2cb0d40f1c: Pull complete
83aad2ecc9f4: Pull complete
4a45b4146d58: Pull complete
a0a3a461e0da: Pull complete
e71ffff085e0: Pull complete
87b3aa543a11: Pull complete
bfec093fc1bf: Pull complete
e1816a85afa1: Pull complete
aa97ee1bac17: Pull complete
Digest: sha256:36bf6c6d771b9b0b9d0de90a3b64a3d816df1ed1e817a14d88b4a0f0b62ad389
Status: Downloaded newer image for juniper/open-nti-input-syslog:latest
Building input-internal
Step 1/13 : FROM juniper/pyez:2.0.1
2.0.1: Pulling from juniper/pyez
e110a4a17941: Already exists
aea75ef34f1b: Pull complete
28c4efcf0437: Pull complete
8bb7e91c8afc: Pull complete
33c55a935dd2: Pull complete
62ba65f52652: Pull complete
Digest: sha256:9f19616a048de3baba121602745c8e442c25067a6dde49a82dcd9b64912ff81a
Status: Downloaded newer image for juniper/pyez:2.0.1
 ---> e61c159ee89f
Step 2/13 : WORKDIR /source
 ---> 2cefd367c62e
Removing intermediate container 990308957cea
Step 3/13 : USER root
 ---> Running in 60982ffbc33d
 ---> 9636493482ab
Removing intermediate container 60982ffbc33d
Step 4/13 : RUN apk add --no-cache ca-certificates &&     update-ca-certificates
 ---> Running in 3b735a318f1e
standard_init_linux.go:178: exec user process caused "exec format error"
ERROR: Service 'input-internal' failed to build: The command '/bin/sh -c apk add --no-cache ca-certificates &&     update-ca-certificates' returned a non-zero code: 1
Makefile:75: recipe for target 'start' failed
make: *** [start] Error 1
root@raspberrypi:~/open-nti#
mwiget commented 7 years ago

Only x86_64 architecture is currently supported. It looks to me, you are trying to install it on a Raspberry Pi (based on the hostname and the "exec format error").