Cannot connect to fresh InfluxDB

Description

CMR can not connect to a fresh InfluxDB because it executes a write test before using it. This will fail on a brand new InfluxDB because the database it writes this test to is created (if it does not exist yet) after this write test.

Environment

None

Activity

Show:
Technical User
August 18, 2017, 11:37 AM

SUCCESS: Integrated in

inspectIT - Integration #341
INSPECTIT-2493: Cannot connect to fresh InfluxDB (ivan.senic: 7ae5477806297e970dbfefe80a8bbd29d5b7470d)

  • (edit) inspectit.server/src/test/java/rocks/inspectit/server/influx/dao/InfluxDBDaoTest.java

  • (edit) inspectit.server/src/main/java/rocks/inspectit/server/influx/dao/InfluxDBDao.java

Tobias Angerstein
August 18, 2017, 9:23 AM

I noticed a different behaviour using influxDB 1.3.x than using 1.2.x:

If a the influx user only has READ privileges on the database, using influxDB 1.3.x it is possible to execute "SHOW DATABASES". For influx 1.2.x this is not possible. This is considered in the current implementation.

Marius Oehler
July 17, 2017, 9:35 AM

I will fix this ticket.

Ivan Senic
July 17, 2017, 6:51 AM

Can you have a quick look into this please..

Fixed

Assignee

Tobias Angerstein

Reporter

Andreas Reinhardt

Integrator

Ivan Senic