Giter Club home page Giter Club logo

docker's People

Contributors

matvey-kuk avatar optiz0r avatar timevens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

All router ips are the docker gateway

I have two routers establish BMP session with openbmp collector, I am always receiving the message reply with ip 172.18.0.1 which is the docker gateway

root@controller:/data/lib/openbmp-python-api-message/examples# python3 log_consumer.py
log_consumer.py:89: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_content = yaml.load(f)
Connecting to kafka... takes a minute to load offsets and topics, please wait
Now consuming/waiting for messages...

Received Message (2020-06-22 07:24:33.620140) : COLLECTOR(V: 1.7)
[
{
"action": "heartbeat",
"seq": 41,
"admin_id": "collector",
"hash": "91e3a7ff9f5676ed6ae6fcd8a6b455ec",
"routers": "172.18.0.1, 172.18.0.1",
"router_count": 2,
"timestamp": 1592810673000
}
]
Received Message (2020-06-22 07:17:35.565263) : PEER(V: 1.7)
[
{
"action": "down",
"seq": 11,
"hash": "8b8961485bd9ef597474884076b6a8e9",
"router_hash": "e7e9fa1b62c27b8833dbcdc3af0e5179",
"name": "",
"remote_bgp_id": "10.11.11.11",
"router_ip": "172.18.0.1",
"timestamp": 1592810255000,
"remote_asn": 65000,
"remote_ip": "10.11.11.11",
"peer_rd": "0:0",
"remote_port": 0,
"local_asn": 0,
"local_ip": "",
"local_port": 0,
"local_bgp_id": "",
"info_data": "",
"adv_cap": "",
"recv_cap": "",
"remote_holddown": 0,
"adv_holddown": 0,
"bmp_reason": 1,
"bgp_error_code": 6,
"bgp_error_sub_code": 2,
"error_text": "Administrative shutdown",
"isL3VPN": 0,
"isPrePolicy": 1,
"isIPv4": 1,
"isLocRib": "0",
"isLocRibFiltered": "0",
"tableName": ""
}
]

docker-compose not working

Attaching to docker_openbmp_kafka_1, docker_openbmp_mysql_1, docker_openbmp_collector_1
openbmp_kafka_1      | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
openbmp_kafka_1      | rsyslogd: activation of module imklog.so failed [v8.31.0 try http://www.rsyslog.com/e/2145 ]
openbmp_kafka_1      | sed: /usr/local/kafka/config/server.properties: No such file or directory
openbmp_collector_1  | /usr/sbin/run: line 35: /etc/default/openbmpd: No such file or directory
openbmp_kafka_1      | sed: /usr/local/kafka/config/server.properties: No such file or directory
openbmp_collector_1  |  * Starting enhanced syslogd rsyslogd
openbmp_kafka_1      | /usr/sbin/run: line 55: bin/zookeeper-server-start.sh: No such file or directory
openbmp_mysql_1      | Installing MariaDB/MySQL system tables in '/data/mysql' ...
openbmp_collector_1  |    ...done.
openbmp_collector_1  | sed: can't read /usr/etc/openbmp/openbmpd.conf: No such file or directory
openbmp_collector_1  | sed: can't read /usr/etc/openbmp/openbmpd.conf: No such file or directory
openbmp_collector_1  | /usr/sbin/run: line 73: /usr/bin/openbmpd: No such file or directory
docker_openbmp_collector_1 exited with code 127
openbmp_mysql_1      | OK
openbmp_mysql_1      | 
openbmp_mysql_1      | To start mysqld at boot time you have to copy
openbmp_mysql_1      | support-files/mysql.server to the right place for your system
openbmp_mysql_1      | 
openbmp_mysql_1      | 
openbmp_mysql_1      | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
openbmp_mysql_1      | To do so, start the server, then issue the following commands:
openbmp_mysql_1      | 
openbmp_mysql_1      | '/usr/bin/mysqladmin' -u root password 'new-password'
openbmp_mysql_1      | '/usr/bin/mysqladmin' -u root -h 8496e6cd7948 password 'new-password'
openbmp_mysql_1      | 
openbmp_mysql_1      | Alternatively you can run:
openbmp_mysql_1      | '/usr/bin/mysql_secure_installation'
openbmp_mysql_1      | 
openbmp_mysql_1      | which will also give you the option of removing the test
openbmp_mysql_1      | databases and anonymous user created by default.  This is
openbmp_mysql_1      | strongly recommended for production servers.
openbmp_mysql_1      | 
openbmp_mysql_1      | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
openbmp_mysql_1      | MySQL manual for more instructions.
openbmp_mysql_1      | 
openbmp_mysql_1      | You can start the MariaDB daemon with:
openbmp_mysql_1      | cd '/usr' ; /usr/bin/mysqld_safe --datadir='/data/mysql'
openbmp_mysql_1      | 
openbmp_mysql_1      | You can test the MariaDB daemon with mysql-test-run.pl
openbmp_mysql_1      | cd '/usr/mysql-test' ; perl mysql-test-run.pl
openbmp_mysql_1      | 
openbmp_mysql_1      | Please report any problems at http://mariadb.org/jira
openbmp_mysql_1      | 
openbmp_mysql_1      | The latest information about MariaDB is available at http://mariadb.org/.
openbmp_mysql_1      | You can find additional information about the MySQL part at:
openbmp_mysql_1      | http://dev.mysql.com
openbmp_mysql_1      | Consider joining MariaDB's strong and vibrant community:
openbmp_mysql_1      | https://mariadb.org/get-involved/
openbmp_mysql_1      | 
openbmp_mysql_1      |  * Starting MariaDB database server mysqld
openbmp_mysql_1      |    ...done.
openbmp_kafka_1      | /usr/sbin/run: line 57: bin/kafka-server-start.sh: No such file or directory
docker_openbmp_kafka_1 exited with code 127
openbmp_mysql_1      |  * Stopping MariaDB database server mysqld
openbmp_mysql_1      |    ...fail!
openbmp_mysql_1      |  * Starting MariaDB database server mysqld
openbmp_mysql_1      |    ...done.
openbmp_mysql_1      |  -----| RUNNING |------
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar
openbmp_mysql_1      | Error: Unable to access jarfile /usr/local/openbmp-mysql-consumer.jar

How to change BMP DATA's TimeZone

How to change BMP DATA's TimeZone

Even though 'date' is based on KST(GMT+9).
But .log is not...

 sudo docker exec -it openbmp_collector bash
root@a9321725e853:/tmp# date
Tue Sep  8 18:27:08 KST 2020
sudo docker exec openbmp_collector tail -f /var/log/openbmpd.log
2020-09-08T09:16:11.694915 | INFO     | runServer          | Initializing server
2020-09-08T09:16:12.699026 | ERROR    | event_cb           | Kafka error: Local: Broker transport failure
2020-09-08T09:16:12.699122 | ERROR    | event_cb           | Kafka error: Local: All broker connections are down
2020-09-08T09:16:12.699142 | ERROR    | event_cb           | Kafka all brokers down: Local: All broker connections are down
2020-09-08T09:16:12.699155 | INFO     | runServer          | Ready. Waiting for connections
2020-09-08T09:21:12.008832 | WARN     | produce            | rtr=: Not connected to Kafka, attempting to reconnect
2020-09-08T09:23:09.375669 | INFO     | runServer          | Initializing server
2020-09-08T09:23:10.479187 | INFO     | runServer          | Ready. Waiting for connections
tail: unrecognized file system type 0x794c7630 for '/var/log/openbmpd.log'. please report this to [email protected]. reverting to polling
2020-09-08T09:25:43.276744 | INFO     | runServer          | Accepted new connection; active connections = 1
2020-09-08T09:25:43.276768 | INFO     | runServer          | Client Connected => 10.118.0.19:54254, sock = 10
2020-09-08T09:25:46.381316 | INFO     | ClientThread       | Thread started to monitor BMP from router 10.118.0.19 using socket 10 buffer in bytes = 15728640
2020-09-08T09:25:46.381512 | INFO     | ReadIncomingMsg    | 10.118.0.19: Init message received with length of 86

docker aio errors - mysql not getting populated

Ubuntu 14.04, deployed via docker instructions in Readme.md file,

openbmp.log:
2016-01-22T22:07:56.156179 | ERROR | send_bmp_raw | rtr=X.X.X.X: Failed to produce bmp raw message: Local: Queue full
2016-01-22T22:08:00.140914 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:00.140943 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:00.140952 | ERROR | send_bmp_raw | rtr=X.X.X.X: Failed to produce bmp raw message: Local: Queue full
2016-01-22T22:08:01.189515 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:01.189544 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:01.189554 | ERROR | send_bmp_raw | rtr=X.X.X.X: Failed to produce bmp raw message: Local: Queue full
2016-01-22T22:08:01.190859 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:01.190879 | ERROR | produce | rtr=X.X.X.X: Failed to produce message: Local: Queue full
2016-01-22T22:08:01.190886 | ERROR | send_bmp_raw | rtr=X.X.X.X: Failed to produce bmp raw message: Local: Queue full

tomcat logs:
root@7dae2c3346b1:/var/log/tomcat7# tail *log
==> catalina.2016-01-19.log <==
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:372)
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:673)
... 35 more

Jan 19, 2016 8:01:25 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not connect to localhost:3306 : Connection refused

==> catalina.2016-01-22.log <==
Jan 22, 2016 10:03:32 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Jan 22, 2016 10:03:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/db_rest
Jan 22, 2016 10:03:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Jan 22, 2016 10:03:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8001"]
Jan 22, 2016 10:03:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4194 ms

==> localhost.2016-01-19.log <==

==> localhost.2016-01-22.log <==

mysql default root password not working ("OpenBMP"). mysql user openbmp with pass openbmp - indeed does works. No data in tables.

Juniper routers sending data.

Database empty

Hello,

I followed instructions for a docker deploy, but when I run the openbmp_psql conteiner I got some errors in log.
I can see in kafka consumer that there is some topics from collector, but the databse itself is completely empty.

root@snas:~# docker logs openbmp_psql
===> Updating /etc/hosts
===> Performing Kafka check
===> Checking Kafka bootstrap server connection
Metadata for all topics (from broker -1: kafka.domain:9092/bootstrap):
 1 brokers:
  broker 0 at 172.17.0.3:9092
===> Checking if we can successfully consume messages
===> Configuring PostgreSQL
===> Enabling RPKI
===> Downloading and Installing ARIN TAL
[ warn ] JAVA_HOME is not set, will try to find java on path.
[ info ] Starting rpki-validator...
[ info ] writing logs under log directory
[ info ] Web user interface is available on port 8080
[ info ] Routers can connect on port 8282
[ info ] Writing PID 96 to validator.pid
===> Enabling IRR
Loading IRR data
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: cron.
Starting PostgreSQL 10 database server: main.
    Waiting for PostgreSQL to start...
===> Postgres ready
===> Starting consumer
===> Now running!!!
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  File "/usr/local/openbmp/gen_whois_route.py", line 345, in <module>
    main()
  File "/usr/local/openbmp/gen_whois_route.py", line 331, in main
    download_data_file()
  File "/usr/local/openbmp/gen_whois_route.py", line 226, in download_data_file
    traceback.print_stack()

grafana almost empty , see only inventory

hi guys ,

i get this logs on the collector :
docker exec openbmp_collector tail -f /var/log/openbmpd.log

2020-08-16T13:05:20.284831 | INFO     | handleInitMsg      | Init message type 2 and length 2 parsed
2020-08-16T13:05:20.284838 | INFO     | handleInitMsg      | Init message type 2 = R2
2020-08-16T13:05:20.284845 | INFO     | ReadIncomingMsg    | Router ID hashed with hash_type: 1
2020-08-16T13:05:20.285037 | INFO     | ReadIncomingMsg    | 192.168.245.202: PEER UP Received, local addr=10.1.2.2:54512 remote addr=10.1.2.1:179
2020-08-16T13:05:20.506180 | INFO     | ReadIncomingMsg    | 192.168.245.202: Caught: ERROR: Unsupported BMP message version
2020-08-16T13:05:20.663553 | INFO     | ClientThread       | 192.168.245.202: Thread for sock [0] ended normally

i have connected a vMX routers version 19.1...

attached files of what i see in grafana , and my netowrk topology ... all rest of dash boards are empty
*192.168.245.202 - this is the ip of my juniper router.

image
imasdfsdfsdfge

docker aio fails to start tomcat7

when running the container without -d I see that tomcat fails to start, also trying to restart the service manually fails with the same error

root@b8d7896707e1:/tmp# service tomcat7 status

  • Tomcat servlet engine is not running.
    root@b8d7896707e1:/tmp# service tomcat7 start
  • Starting Tomcat servlet engine tomcat7
    ...fail!

root@b8d7896707e1:/tmp# tail -f /var/log/tomcat7/catalina.out
Sep 24, 2016 9:59:45 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Sep 24, 2016 9:59:45 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/db_rest] registered the JDBC driver [org.mariadb.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 24, 2016 9:59:45 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/db_rest] appears to have started a thread named [PoolCleaner[1695611352:1474711183076]] but has failed to stop it. This is very likely to create a memory leak.
Sep 24, 2016 9:59:45 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8001"]
Sep 24, 2016 9:59:45 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8001"]

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"

Running PostgreSQL getting error:
assume there is dependency to be fix, I'm not sure how to fix it.

Starting PostgreSQL 10 database server: main.
    Waiting for PostgreSQL to start...
===> Postgres ready
===> Starting consumer
===> Now running!!!
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

The wget path for openbmp daemon does not resolve

When building a docker image for the openbmp collector, the WGET path to download latest openbmp daemon does not seem to resolve to a host. This is impeding the successful build of the container.

Error as seen below:

#8 23.42 Resolving build-jenkins.openbmp.org (build-jenkins.openbmp.org)... failed: Name or service not known.
#8 23.43 wget: unable to resolve host address 'build-jenkins.openbmp.org'
#8 23.43 unzip: cannot find or open archive.zip, archive.zip.zip or archive.zip.ZIP.
#8 23.44 dpkg: error processing archive archive/build/deb_package/openbmp*.deb (--install):
#8 23.44 cannot access archive: No such file or directory
#8 23.44 Errors were encountered while processing:
#8 23.44 archive/build/deb_package/openbmp*.deb

java exception

On starting the openbmp container, I get the following error. Should this be of concern?

com.googlecode.flyway.core.command.FlywaySqlScriptException: Error executing statement at line 5: CALL DROP_TABLE_IF_EXISTS('RETRIEVED_OBJECTS')
       	at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:92)
       	at com.googlecode.flyway.core.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:72)
       	at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:243)
       	at com.googlecode.flyway.core.command.DbMigrate$2.doInTransaction(DbMigrate.java:241)
       	at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
       	at com.googlecode.flyway.core.command.DbMigrate.applyMigration(DbMigrate.java:241)
       	at com.googlecode.flyway.core.command.DbMigrate.access$700(DbMigrate.java:44)
       	at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:186)
       	at com.googlecode.flyway.core.command.DbMigrate$1.doInTransaction(DbMigrate.java:135)
       	at com.googlecode.flyway.core.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
       	at com.googlecode.flyway.core.command.DbMigrate.migrate(DbMigrate.java:135)
       	at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:872)
       	at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:819)
       	at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1200)
       	at com.googlecode.flyway.core.Flyway.migrate(Flyway.java:819)
       	at net.ripe.rpki.validator.store.DataSources$.net$ripe$rpki$validator$store$DataSources$$migrate(DataSources.scala:87)
       	at net.ripe.rpki.validator.store.DataSources$DSSingletons$$anonfun$$init$$1.apply(DataSources.scala:47)
       	at net.ripe.rpki.validator.store.DataSources$DSSingletons$$anonfun$$init$$1.apply(DataSources.scala:43)
       	at net.ripe.rpki.validator.store.SimpleSingletons.apply(Storage.scala:80)
       	at net.ripe.rpki.validator.store.DataSources$.DurableDataSource(DataSources.scala:54)
       	at net.ripe.rpki.validator.store.DurableCaches$$anonfun$$init$$1.apply(CacheStore.scala:230)
       	at net.ripe.rpki.validator.store.DurableCaches$$anonfun$$init$$1.apply(CacheStore.scala:229)
       	at net.ripe.rpki.validator.store.SimpleSingletons.apply(Storage.scala:80)
       	at net.ripe.rpki.validator.store.DurableCaches$.apply(CacheStore.scala:232)
       	at net.ripe.rpki.validator.config.Main.net$ripe$rpki$validator$config$Main$$runValidator(Main.scala:171)
       	at net.ripe.rpki.validator.config.Main.net$ripe$rpki$validator$config$Main$$runValidator(Main.scala:162)
       	at net.ripe.rpki.validator.config.Main$$anonfun$1.apply$mcV$sp(Main.scala:135)
       	at akka.actor.DefaultScheduler$$anon$4.run(Scheduler.scala:161)
       	at akka.actor.DefaultScheduler$$anon$2$$anon$5.run(Scheduler.scala:172)
       	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:137)
       	at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)
       	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
       	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
       	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
       	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.sql.SQLSyntaxErrorException: The class 'net.ripe.rpki.validator.StoredProcedures' does not exist or is inaccessible. This can happen if the class is not public.
       	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
       	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
       	at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
       	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
       	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
       	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
       	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
       	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
       	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
       	at com.googlecode.flyway.core.dbsupport.JdbcTemplate.executeStatement(JdbcTemplate.java:230)
       	at com.googlecode.flyway.core.dbsupport.SqlScript.execute(SqlScript.java:90)
       	... 34 more
Caused by: ERROR 42X51: The class 'net.ripe.rpki.validator.StoredProcedures' does not exist or is inaccessible. This can happen if the class is not public.
       	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
       	at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
       	... 45 more
Caused by: java.lang.ClassNotFoundException: net.ripe.rpki.validator.StoredProcedures : net/ripe/rpki/validator/StoredProcedures : Unsupported major.minor version 52.0
       	at org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(Unknown Source)
       	at org.apache.derby.iapi.services.loader.ClassInspector.getClass(Unknown Source)
       	at org.apache.derby.iapi.services.loader.ClassInspector.accessible(Unknown Source)
       	at org.apache.derby.impl.sql.compile.QueryTreeNode.verifyClassExist(Unknown Source)
       	at org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpressionMinion(Unknown Source)
       	at org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(Unknown Source)
       	at org.apache.derby.impl.sql.compile.JavaToSQLValueNode.bindExpression(Unknown Source)
       	at org.apache.derby.impl.sql.compile.CallStatementNode.bindStatement(Unknown Source)
       	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
       	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
       	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
       	... 38 more```

db_rest Access-Control-Allow-Credentials header fix not available in this container

The fix made to the trailing white space on the Access-Control-Allow-Credentials in src/main/java/org/openbmp/db_rest/RestResponse.java doesnt appear to to be available in the version of db_rest used in the all in one container.
This is causing some 503 errors from proxies that adhere strictly to the rfc on http


Actually it seems that the db_rest master branch has the same error as was previously fixed. This error is in the RestResponse.java
the trailing space on the header needs to be removed from Access-Control-Allow-Credentials

Link State View UI Issues

Couple of issues.

  1. Link State View not showing some of the TE attributes even though those are in the database for example Reserved BW/Available BW
  2. Topology table not displaying any info

Please let me know what additional info is required.

Cannot Login to openbmp_ui web interface.

Hello,

We have just install openbmp_ui docker for testing purposes, but when when we are trying to login ( Username: openbmp Password: CiscoRA ) we are getting the following error : Authentication service is unreachable .
We have also running openbmp_aio docker on the same host with all required services ( mysql, kafka, collector ). Which service is the Authentication service ? Is it MySQL ? Can we change somehow default username/pass ?

Thanks in advance.

Kind Regards,
Miltos

BGP Peers Errors

For some of the BGP peers i'm getting this error attached. I have BGP neighbors which are working fine.
Please let me know how i can solve this issue.

image

EVPN error not parsing

docker exec openbmp_aio tail -f /var/log/openbmpd.log

2019-02-05T00:00:48.244727 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 153 is not implemented yet, skipping
2019-02-05T00:00:48.244733 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 0 is not implemented yet, skipping
2019-02-05T00:00:48.244738 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 10 is not implemented yet, skipping
2019-02-05T00:00:48.244744 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 208 is not implemented yet, skipping
2019-02-05T00:00:48.244749 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 145 is not implemented yet, skipping
2019-02-05T00:00:48.244755 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 0 is not implemented yet, skipping
2019-02-05T00:00:48.245245 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 5 is not implemented yet, skipping
2019-02-05T00:00:48.245256 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 0 is not implemented yet, skipping
2019-02-05T00:00:48.245262 | INFO     | parseNlriData      | 192.168.0.1: EVPN ROUTE TYPE 0 is not implemented yet, skipping

Kafka fails due to inability to load snappy library

docker exec openbmp_kafka tail -f /var/log/kafka.log
....
java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-5395f0cd-f2e4-4d77-ae88-69b6bb215bae-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /tmp/snappy-1.1.2-5395f0cd-f2e4-4d77-ae88-69b6bb215bae-libsnappyjava.so)

This error is then seen repeatedly:

2017-05-19 22:44:23,552] ERROR [Replica Manager on Broker 0]: Error processing append operation on partition openbmp.bmp_raw-1 (kafka.server.ReplicaManager)
java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy

ERROR: Invalid BGP MSG for BMP

We keep getting the following error message in the term_reason_text column of the routers table for some of our routers along with them showing up RED in the Grafana GUI on the Inventory dashboard.

"ERROR: Invalid BGP MSG for BMP Sent OPEN message, expected OPEN message."

From looking at the source code, it looks like SNAS is having an issue parsing some of the BGP header information from some of the routers but not all. We are using Grafana with the PostgreSQL database

Capture
.

Can't connect to Kafka

Hello,

I have installed containers openbmp/collector and openbmp_kafka following instructions, all in same host but openbmp/postgres can't connect to Kafka.
What's wrong?

I'm running with:

docker run -d \
	--name=openbmp_collector -e KAFKA_FQDN=localhost \
	--sysctl net.ipv4.tcp_keepalive_intvl=30 \
	--sysctl net.ipv4.tcp_keepalive_probes=5 \
	--sysctl net.ipv4.tcp_keepalive_time=180 \
	-p 5000:5000 \
	openbmp/collector

docker run -d \
	--name=openbmp_kafka \
	-e KAFKA_FQDN=localhost \
	-v /var/openbmp/kafka:/data/kafka \
	-p 2181:2181 -p 9092:9092 \
	openbmp/kafka

docker run -d \
	--name openbmp_psql \
	-h obmp-psql \
	-e ENABLE_RPKI=1 \
	-e ENABLE_IRR=1 \
	-e KAFKA_FQDN=kafka.domain \
	--add-host kafka.domain:172.17.0.1 \
	-e MEM=16 \
	--shm-size=512m \
	-v /var/openbmp/config:/config \
	-v /var/openbmp/postgres/main:/data/main \
	-v /var/openbmp/postgres/ts:/data/ts \
	-p 5432:5432 -p 9005:9005 -p 8080:8080 \
	openbmp/postgres
===> Updating /etc/hosts
===> Performing Kafka check
===> Checking Kafka bootstrap server connection
%3|1592348056.977|FAIL|rdkafka#producer-1| localhost:9092/0: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
Metadata for all topics (from broker -1: kafka.domain:9092/bootstrap):
 1 brokers:
  broker 0 at localhost:9092
===> Checking if we can successfully consume messages
%3|1592348057.025|FAIL|rdkafka#producer-1| kafka.domain:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
% ERROR: Local: Broker transport failure: kafka.domain:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
% ERROR: Local: All broker connections are down: 1/1 brokers are down: terminating
%3|1592348057.072|FAIL|rdkafka#consumer-1| localhost:9092/0: Connect to ipv4#127.0.0.1:9092 failed: Connection refused
% ERROR: Local: Broker transport failure: localhost:9092/0: Connect to ipv4#127.0.0.1:9092 failed: Connection refused

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.