Juniper / open-nti

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

Error: "Docker-Compose Make" #279

Open cmurrayis opened 1 year ago

cmurrayis commented 1 year ago

I've just came across the Open-NTI project and the README made the deployment simple to try out - However it seems the docker-compose.yml and also the persistent variant are not complete and error out when trying to execute.

Documentation:

image

Running "make" from the open-rti root errors:

Setting up util-linux (2.27.1-6ubuntu3.10) ...

Configuration file '/etc/cron.weekly/fstrim'
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):
 end of file on stdin at conffile prompt
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get -y update &&         apt-get -y upgrade &&         apt-get clean   &&        rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100
make: *** [Makefile:32: build-main] Error 100

Running "make start"

root@flow:/docker/open-nti# sudo make start
Use docker compose file: docker-compose.yml
IMAGE_TAG=latest docker-compose -f docker-compose.yml up -d
(root) Additional property input-jti is not allowed
make: *** [Makefile:81: start] Error 15

Running "make start-persistent"

root@flow:/docker/open-nti# sudo make start-persistent 
Use docker compose file: docker-compose-persistent.yml
IMAGE_TAG=latest docker-compose -f docker-compose-persistent.yml up -d
(root) Additional property input-jti is not allowed
make: *** [Makefile:85: start-persistent] Error 15
integraciones-tiagora commented 1 year ago

Dear Mr Murray: I just cloned this project and faced exactly the same problem after the execution of "make start".

root@gloki:~/project/JJESS/open-nti# make start Use docker compose file: docker-compose.yml IMAGE_TAG=latest docker-compose -f docker-compose.yml up -d (root) Additional property input-jti is not allowed Makefile:82: recipe for target 'start' failed make: *** [start] Error 15 root@gloki:~/project/JJESS/open-nti#

¿ Have you been able to fix the issue? I would appreciate the hint, if possible to my email roychoar@gmail.com

Thanks!!!

Rogelio