influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

[0.9.0]: Error:no leader - HTTP CODE 500 -

Open dtouzeau opened this issue 11 years ago • 26 comments

We receive this error while injecting data What does it means ?

dtouzeau avatar Jun 22 '15 19:06 dtouzeau

It sounds like the cluster is not up and running. Can you please provide the example writes and the logs surrounding the time of the issue?

beckettsean avatar Jun 22 '15 20:06 beckettsean

This errors occurs when adding an user to the DB After this i was unable to remove it and this error occurs in all writes. Destroy the DB without adding any user privileges fix the issue..

dtouzeau avatar Jun 22 '15 20:06 dtouzeau

@dtouzeau Any chance you can paste in the exact CLI or curl commands you were using? That will help us trying to reproduce the issue.

In your original comment you said this error happened when writing data, but in your update you mentioned that it was a CREATE USER query that seemed to lead to the problem. Do you mean that after the CREATE USER statement you could no longer write to the database?

Also, can you include your logs, please?

beckettsean avatar Jun 22 '15 20:06 beckettsean

Testing create user by the example given in doc

> show USERS
user    admin
jdoe    false
> DROP USER jdoe
ERR: no leader
> use proxydb
Using database proxydb
> DROP USER jdoe
ERR: no leader
> quit

dtouzeau avatar Jun 22 '15 20:06 dtouzeau

I run in a similar state. I think it's when I tried to change the hostname in the [meta] section. I put something like 0.0.0.0 (disclaimer: I am a total noob). I believe then raft entered in a weird state getting confused with leader election between 0.0.0.0 and 127.0.0.1 that it had to abort each time. Restoring the value localhost in hostname didn't actually fix anything. What did help was a complete remove / purge of the package and reinstall. HTH.

behaghel avatar Jun 28 '15 19:06 behaghel

Hi,

Do any of you have an idea how to resolve this "no leader" error ?

I had a similar problem while writing JSON using v9.0. I could write JSON just fine in v8.0.

I am trying to use the examples provided in the website for localhost.

This is the curl request I am sending curl -i -XPOST 'http://localhost:8086/write?db=mydb' -d '{"database":"mydb","points":[{"measurement":"cpu_load","tags":{"host":"server01","core":"0"},"time":"2009-11-10T23:00:00Z","fields":{"value":0.45}},{"measurement":"cpu_load","tags":{"host":"server01","core":"1"},"time":"2009-11-10T23:00:00Z","fields":{"value":1.56}},{"measurement":"cpu_load","tags":{"host":"server02","core":"0"},"time":"2009-11-10T23:00:00Z","fields":{"value":0.72}},{"measurement":"cpu_load","tags":{"host":"server02","core":"1"},"time":"2009-11-10T23:00:00Z","fields":{"value":2.14}}]}'

Response HTTP/1.1 500 Internal Server Error Content-Type: application/json Request-Id: 8ff1bdad-240f-11e5-8006-000000000000 X-Influxdb-Version: FIXME Date: Mon, 06 Jul 2015 18:48:17 GMT Content-Length: 22 {"error":"no leader"}

This is the log generated locally [http] 2015/07/06 11:48:17 ::1 - - [06/Jul/2015:11:48:16 -0700] POST /write?db=mydb HTTP/1.1 500 22 - curl/7.37.1 8ff1bdad-240f-11e5-8006-000000000000 1.003088328s


Now, even if I try with non JSON data I still face this problem.

% curl -i -XPOST 'http://localhost:8086/write?db=mydb' -d 'cpu_load_short,host=server01,region=us-west value=0.64 cpu_load_short,host=server02,region=us-west value=0.55 1422568543702900257 cpu_load_short,direction=in,host=server01,region=us-west value=23422.0 1422568543702900257' HTTP/1.1 500 Internal Server Error Request-Id: 5c1519a0-2419-11e5-8002-000000000000 X-Influxdb-Version: FIXME Date: Mon, 06 Jul 2015 19:58:25 GMT Content-Length: 9 Content-Type: text/plain; charset=utf-8 no leader%

Do any of you have an idea how to resolve this "no leader" error ?

jananithiru avatar Jul 06 '15 18:07 jananithiru

Hello,

I am also running into a "no leader" error when trying to write data or create a database. Here is the corresponding log entry, where I don't see any clue as to the reason of the error. [http] 2015/07/10 14:20:34 127.0.0.1 - - [10/Jul/2015:14:20:34 +0200] GET /query?db=&q=create+database+TEST HTTP/1.1 200 59 - InfluxDBShell/0.9.0 10b981ef-26fe-11e5-8023-000000000000 1.823399ms

In addition, while there is an existing database on this server, a SHOW DATABASES request returns an empty response.

pjalet avatar Jul 10 '15 12:07 pjalet

@benbjohnson -- any ideas?

otoolep avatar Jul 14 '15 19:07 otoolep

I tried reproducing this but I haven't had any luck. The no leader error will occur if the nodes in the cluster cannot form a quorum (e.g. you have 2 nodes in your cluster and only 1 is up) or if the node you're communicating with cannot communicate with the current leader. This could also occur if there is a large lag between the nodes which would make it impossible to form a consensus.

This could also occur if you change your [meta].peers in your configuration file. Can someone share their log files from all machines in their cluster as well as their configuration for each machine? That would help narrow down the problem.

benbjohnson avatar Jul 14 '15 20:07 benbjohnson

The strange thing is I don’t have a cluster. My configuration file is reproduced below. The InfluxDB server was first installed on a test machine and then on a production machine, using the same directory for data. It worked for a while. The log file looks pretty uninformative (below the configuration file). Here I tried to create a database called “TEST” first with the web client (there I got a message saying the database had successfully been created but it does not show in the list of databases), and then with the Influx shell (where I got the “no leader” error).


### Welcome to the InfluxDB configuration file.

# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
# The data includes raft id (random 8 bytes), os, arch, version, and metadata.
# We don't track ip addresses of servers reporting. This is only used
# to track the number of instances running and the versions, which
# is very helpful for us.
# Change this option to true to disable reporting.
reporting-disabled = false

###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###

[meta]
  dir = "/export/home/scratch/influxdb/meta"
  hostname = "localhost"
  bind-address = ":8088"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"

###
### [data]
###
### Controls where the actual shard data for InfluxDB lives.
###

[data]
  dir = "/export/home/scratch/influxdb/data"

###
### [cluster]
###
### Controls non-Raft cluster behavior, which generally includes how data is
### shared across shards.
###

[cluster]
  shard-writer-timeout = "5s"

###
### [retention]
###
### Controls the enforcement of retention policies for evicting old data.
###

[retention]
  enabled = true
  check-interval = "10m"

###
### [admin]
###
### Controls the availability of the built-in, web-based admin interface.
###

[admin]
  enabled = true
  bind-address = ":8083"

###
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = false
  log-enabled = true
  write-tracing = false
  pprof-enabled = false

###
### [[graphite]]
###
### Controls one or many listeners for Graphite data.
###

[[graphite]]
  enabled = false
  # bind-address = ":2003"
  # protocol = "tcp"
  # consistency-level = "one"
  # name-separator = "."
  # name-position = "last"

###
### [collectd]
###
### Controls the listener for collectd data.
###

[collectd]
  enabled = false
  # bind-address = ""
  # database = ""
  # typesdb = ""

###
### [opentsdb]
###
### Controls the listener for OpenTSDB data.
###

[opentsdb]
  enabled = false
  # bind-address = ""
  # database = ""
  # retention-policy = ""

###
### [udp]
###
### Controls the listener for InfluxDB line protocol data via UDP.
###

[udp]
  enabled = false
  # bind-address = ""
  # database = ""
  # batch-size = 0
  # batch-timeout = "0"

###
### [monitoring]
###

[monitoring]
  enabled = false
  write-interval = "24h"

###
### [continuous_queries]
###
### Controls how continuous queries are run within InfluxDB.
###

[continuous_queries]
  enabled = true
  recompute-previous-n = 2
  recompute-no-older-than = "10m"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m"

###
### [hinted-handoff]
###
### Controls the hinted handoff feature, which allows nodes to temporarily
### store queued data when one node of a cluster is down for a short period
### of time.
###

[hinted-handoff]
  enabled = true
  dir = "/export/home/scratch/influxdb/hh"
  max-size = 1073741824
  max-age = "168h"
  retry-rate-limit = 0
  retry-interval = "1s"

Log file:

[http] 2015/07/15 09:12:46 138.131.76.242 - - [15/Jul/2015:09:12:46 +0200] GET /query?u=<username>&p=<password>&q=SHOW%20DATABASES HTTP/1.1 200 76 http://<hostname>:8083/ Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 e50cf706-2ac0-11e5-802b-000000000000 8.60601ms
[http] 2015/07/15 09:13:33 138.131.76.242 - - [15/Jul/2015:09:13:33 +0200] GET /query?u=<username>&p==<password>&q=CREATE%20DATABASE%20TEST HTTP/1.1 200 59 http:// <hostname>:8083/ Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 008cb9df-2ac1-11e5-802c-000000000000 975.92µs
[http] 2015/07/15 09:13:33 138.131.76.242 - - [15/Jul/2015:09:13:33 +0200] GET /query?u=<username>&p==<password>&q=SHOW%20DATABASES HTTP/1.1 200 76 http:// <hostname>:8083/ Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 008dbf19-2ac1-11e5-802d-000000000000 55.544411ms
[http] 2015/07/15 09:14:23 127.0.0.1 - - [15/Jul/2015:09:14:23 +0200] GET /ping HTTP/1.1 204 0 - InfluxDBShell/0.9.0 1ede67c4-2ac1-11e5-802e-000000000000 93.032µs
[http] 2015/07/15 09:14:28 127.0.0.1 - - [15/Jul/2015:09:14:28 +0200] GET /query?db=&q=SHOW+DATABASES HTTP/1.1 200 76 - InfluxDBShell/0.9.0 21db3a45-2ac1-11e5-802f-000000000000 7.101866ms
[http] 2015/07/15 09:14:40 127.0.0.1 - - [15/Jul/2015:09:14:40 +0200] GET /query?db=&q=CREATE+DATABASE+TEST HTTP/1.1 200 59 - InfluxDBShell/0.9.0 28c5b3ab-2ac1-11e5-8030-000000000000 480.801µs

pjalet avatar Jul 15 '15 07:07 pjalet

@pjalet thanks for the info. when you moved your data directory over to the production machine, did you also move the meta directory?

benbjohnson avatar Jul 15 '15 15:07 benbjohnson

The whole influxdb directory (/export/home/scratch/influxdb/ in the configuration file above) including data and meta are accessible by both the test and production servers. So I didn't move them strictly speaking but they stayed together.

pjalet avatar Jul 15 '15 15:07 pjalet

Recreated the issue from a server build from scratch with 0.9.1. Here is the config:

###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###

[meta]
  dir = "/data/influxdb/meta"
  hostname = "product1"
  bind-address = ":8087"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"

###
### [data]
###
### Controls where the actual shard data for InfluxDB lives.
###

[data]
  dir = "/data/influxdb/data"
  #max-wal-size = 104857600
  #wal-flush-interval = "10m0s"
  #wal-partition-flush-delay = "2s"

###
### [cluster]
###
### Controls non-Raft cluster behavior, which generally includes how data is
### shared across shards.
###

[cluster]
  shard-writer-timeout = "5s"

###
### [retention]
###
### Controls the enforcement of retention policies for evicting old data.
###

[retention]
  enabled = true
  check-interval = "10m"

###
### [admin]
###
### Controls the availability of the built-in, web-based admin interface.
###

[admin]
  enabled = true
  bind-address = ":8083"

###
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = false
  log-enabled = true
  write-tracing = false
  pprof-enabled = false

###
### [[graphite]]
###
### Controls one or many listeners for Graphite data.
###

[[graphite]]
  enabled = false
  # bind-address = ":2003"
  # database = "graphite"
  # protocol = "tcp"
  # batch-size = 0
  # batch-timeout = "0"
  # consistency-level = "one"
  # separator = "."

###
### [collectd]
###
### Controls the listener for collectd data.
###

[collectd]
  enabled = false
  # bind-address = ""
  # database = ""
  # retention-policy = ""
  # batch-size = 5000
  # batch-timeout = "10s"
  # typesdb = ""

###
### [opentsdb]
###
### Controls the listener for OpenTSDB data.
###

[opentsdb]
  enabled = false
  # bind-address = ""
  # database = ""
  # retention-policy = ""
  # consistency-level = "one"

###
### [udp]
###
### Controls the listener for InfluxDB line protocol data via UDP.
###

[udp]
  enabled = false
  # bind-address = ""
  # database = ""
  # batch-size = 0
  # batch-timeout = "0"

###
### [monitoring]
###

[monitoring]
  enabled = false
  write-interval = "24h"

###
### [continuous_queries]
###
### Controls how continuous queries are run within InfluxDB.
###

[continuous_queries]
  enabled = true
  recompute-previous-n = 2
  recompute-no-older-than = "10m"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m"

###
### [hinted-handoff]
###
### Controls the hinted handoff feature, which allows nodes to temporarily
### store queued data when one node of a cluster is down for a short period
### of time.
###

[hinted-handoff]
  enabled = false
  dir = "/data/influxdb/hh"
  # max-size = 1073741824
  # max-age = "168h"
  # retry-rate-limit = 0
  # retry-interval = "1s"

Here is the output of the log:

Jan  1 06:36:16 product1 influxd[1029]: [http] 2000/01/01 06:36:16 10.33.135.216 - - [01/Jan/2000:06:36:16 +0000] POST /write HTTP/1.1 204 0 - python-requests/2.7.0 CPython/3.4.0 Windows/7 bf8fef2a-c015-11d3-acc3-000000000000 229.610708ms
Jan  1 06:36:16 product1 influxd[1029]: panic: runtime error: index out of range
Jan  1 06:36:16 product1 influxd[1029]: panic: runtime error: index out of range
Jan  1 06:36:16 product1 influxd[1029]: goroutine 181800 [running]:
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Tx).rollback(0x162e4e00)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/tx.go:224 +0x100
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.func·010()
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/db.go:539 +0x38
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Tx).page(0x162e4e00, 0x80002, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/tx.go:505 +0xd8
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Bucket).pageNode(0x162e4e0c, 0x80002, 0x0, 0x48fa68, 0x8c)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/bucket.go:692 +0x218
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Cursor).search(0x15a78d60, 0x15a78d50, 0x3, 0x8, 0x80002, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/cursor.go:238 +0x38
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Cursor).seek(0x15a78d60, 0x15a78d50, 0x3, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/cursor.go:152 +0x10c
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Bucket).Bucket(0x162e4e0c, 0x15a78d50, 0x3, 0x8, 0x8)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/bucket.go:111 +0x190
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*Tx).Bucket(0x162e4e00, 0x15a78d50, 0x3, 0x8, 0x8)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/tx.go:91 +0x5c
Jan  1 06:36:16 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.func·009(0x162e4e00, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:291 +0x3f0
Jan  1 06:36:16 product1 influxd[1029]: github.com/boltdb/bolt.(*DB).Update(0x10a8d300, 0x10a68f08, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/boltdb/bolt/db.go:547 +0xe8
Jan  1 06:36:16 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints(0x10a9a500, 0x15596000, 0x200, 0x200, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:311 +0x434
Jan  1 06:36:16 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard(0x10a34580, 0x7, 0x0, 0x15596000, 0x200, 0x200, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/store.go:281 +0x10c
Jan  1 06:36:16 product1 influxd[1029]: github.com/influxdb/influxdb/cluster.func·002(0x7, 0x0, 0x1, 0x0, 0x15596000, 0x200, 0x200)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cluster/points_writer.go:241 +0xfc
Jan  1 06:36:16 product1 influxd[1029]: created by github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cluster/points_writer.go:271 +0x300
Jan  1 06:36:16 product1 influxd[1029]: goroutine 1 [chan receive (nil chan), 395 minutes]:
Jan  1 06:36:16 product1 influxd[1029]: main.(*Main).Run(0x10ada7a8, 0x10a0a008, 0x2, 0x2, 0x0, 0x0)
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/main.go:75 +0x41c
Jan  1 06:36:16 product1 influxd[1029]: main.main()
Jan  1 06:36:16 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/main.go:35 +0x278
Jan  1 06:36:16 product1 influxd[1029]: goroutine 6 [syscall, 396 minutes]:
Jan  1 06:36:16 product1 influxd[1029]: os/signal.loop()
Jan  1 06:36:16 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/os/signal/signal_unix.go:21 +0x1c
Jan  1 06:36:16 product1 influxd[1029]: created by os/signal.init·1
Jan  1 06:36:16 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x40
Jan  1 06:36:16 product1 influxd[1029]: goroutine 8 [chan receive, 395 minutes]:
Jan  1 06:36:16 product1 influxd[1029]: github.com/influxdb/influxdb/cmd/influxd/run.func·004()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:461 +0xd8
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/cmd/influxd/run.startProfile
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:464 +0x404
Jan  1 06:36:17 product1 influxd[1029]: goroutine 17 [syscall, 395 minutes, locked to thread]:
Jan  1 06:36:17 product1 influxd[1029]: runtime.goexit()
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/runtime/asm_arm.s:1322 +0x4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 9 [IO wait, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: net.(*pollDesc).Wait(0x10a34b38, 0x72, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x3c
Jan  1 06:36:17 product1 influxd[1029]: net.(*pollDesc).WaitRead(0x10a34b38, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x38
Jan  1 06:36:17 product1 influxd[1029]: net.(*netFD).accept(0x10a34b00, 0x0, 0xb6dd5c48, 0x10a39ea0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x390
Jan  1 06:36:17 product1 influxd[1029]: net.(*TCPListener).AcceptTCP(0x10ab85c8, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x50
Jan  1 06:36:17 product1 influxd[1029]: net.(*TCPListener).Accept(0x10ab85c8, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x3c
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tcp.(*Mux).Serve(0x10aa7d20, 0xb6dd6808, 0x10ab85c8, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tcp/mux.go:45 +0x44
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:290 +0x6c4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 10 [chan receive, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tcp.(*listener).Accept(0x10ab85d0, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x64
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/meta.(*raftLayer).Accept(0x10aa7d60, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/meta/store.go:1817 +0x64
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*NetworkTransport).listen(0x10a103c0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/net_transport.go:346 +0x4c
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/hashicorp/raft.NewNetworkTransport
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/net_transport.go:138 +0x2f8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 11 [select]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*Raft).leaderLoop(0x10a48360)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:863 +0xab4
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*Raft).runLeader(0x10a48360)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:779 +0x6c0
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*Raft).run(0x10a48360)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:576 +0xdc
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.run)·fm()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:241 +0x24
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.func·011()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:152 +0x70
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/hashicorp/raft.(*raftState).goFunc
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:153 +0xf4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 12 [select, 335 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*Raft).runFSM(0x10a48360)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:491 +0xc0c
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.runFSM)·fm()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:242 +0x24
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.func·011()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:152 +0x70
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/hashicorp/raft.(*raftState).goFunc
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:153 +0xf4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 13 [select, 2 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.(*Raft).runSnapshots(0x10a48360)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:1594 +0x37c
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.runSnapshots)·fm()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/raft.go:243 +0x24
Jan  1 06:36:17 product1 influxd[1029]: github.com/hashicorp/raft.func·011()
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:152 +0x70
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/hashicorp/raft.(*raftState).goFunc
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/hashicorp/raft/state.go:153 +0xf4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 15 [chan receive, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tcp.(*listener).Accept(0x10ab85d8, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x64
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/meta.(*Store).serveExecListener(0x10aa40d0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/meta/store.go:467 +0xa4
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/meta.(*Store).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/meta/store.go:205 +0x1d4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 16 [select, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/cmd/influxd/run.(*Server).monitorErrorChan(0x10a3c230, 0x10a34500)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:412 +0x11c
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:296 +0x7fc
Jan  1 06:36:17 product1 influxd[1029]: goroutine 18 [select, 3 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9aa00, 0x10a35ec0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 19 [select, 4 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9b700, 0x10ae0dc0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 20 [select, 4 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9ba00, 0x10ae1100)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 21 [select, 4 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9bc80, 0x10ae1440)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 22 [select, 4 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9a100, 0x10a35040)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 23 [select, 4 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tsdb.(*Shard).autoflusher(0x10a9a480, 0x10a35a40)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:453 +0x318
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/tsdb.func·008
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tsdb/shard.go:149 +0x5e8
Jan  1 06:36:17 product1 influxd[1029]: goroutine 24 [select]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/hh.(*Service).retryWrites(0x10a3c2a0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/hh/service.go:98 +0x2e0
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/services/hh.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/hh/service.go:62 +0x124
Jan  1 06:36:17 product1 influxd[1029]: goroutine 25 [select, 35 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/hh.(*Service).expireWrites(0x10a3c2a0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/hh/service.go:116 +0x298
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/services/hh.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/hh/service.go:63 +0x14c
Jan  1 06:36:17 product1 influxd[1029]: goroutine 26 [chan receive, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tcp.(*listener).Accept(0x10ab85e0, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x64
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/cluster.(*Service).serve(0x10a10230)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cluster/service.go:79 +0x118
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/cluster.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/cluster/service.go:56 +0x78
Jan  1 06:36:17 product1 influxd[1029]: goroutine 27 [select, 5 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/precreator.(*Service).runPrecreation(0x10a34680)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/precreator/service.go:72 +0x3b0
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/services/precreator.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/precreator/service.go:50 +0xe4
Jan  1 06:36:17 product1 influxd[1029]: goroutine 28 [chan receive, 395 minutes]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/tcp.(*listener).Accept(0x10ab85e8, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x64
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/snapshotter.(*Service).serve(0x10a0cc60)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/snapshotter/service.go:68 +0xc8
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/services/snapshotter.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/snapshotter/service.go:46 +0x68
Jan  1 06:36:17 product1 influxd[1029]: goroutine 29 [select]:
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/continuous_querier.(*Service).backgroundLoop(0x10a34800)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:151 +0x2b4
Jan  1 06:36:17 product1 influxd[1029]: created by github.com/influxdb/influxdb/services/continuous_querier.(*Service).Open
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:87 +0x1f0
Jan  1 06:36:17 product1 influxd[1029]: goroutine 30 [IO wait]:
Jan  1 06:36:17 product1 influxd[1029]: net.(*pollDesc).Wait(0x10a35ff8, 0x72, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x3c
Jan  1 06:36:17 product1 influxd[1029]: net.(*pollDesc).WaitRead(0x10a35ff8, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x38
Jan  1 06:36:17 product1 influxd[1029]: net.(*netFD).accept(0x10a35fc0, 0x0, 0xb6dd5c48, 0x15d12d4c)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x390
Jan  1 06:36:17 product1 influxd[1029]: net.(*TCPListener).AcceptTCP(0x10ab80a8, 0x20026c, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x50
Jan  1 06:36:17 product1 influxd[1029]: net.(*TCPListener).Accept(0x10ab80a8, 0x0, 0x0, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x3c
Jan  1 06:36:17 product1 influxd[1029]: net/http.(*Server).Serve(0x10ae0240, 0xb6dd6808, 0x10ab80a8, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/http/server.go:1728 +0x98
Jan  1 06:36:17 product1 influxd[1029]: net/http.Serve(0xb6dd6808, 0x10ab80a8, 0xb6dd7e78, 0x10a34980, 0x0, 0x0)
Jan  1 06:36:17 product1 influxd[1029]: /root/.gvm/gos/go1.4/src/net/http/server.go:1606 +0x9c
Jan  1 06:36:17 product1 influxd[1029]: github.com/influxdb/influxdb/services/httpd.(*Service).serve(0x10aa7ba0)
Jan  1 06:36:17 product1 influxd[1029]: /root/gocodez/src/github.com/influxdb/influxdb/services/httpd/service.go:83 +0x90
Jan  1 06:36:17 product1 rsyslogd-2177: imuxsock begins to drop messages from pid 1029 due to rate-limiting
Jan  1 06:36:17 product1 systemd[1]: graco-influx.service: main process exited, code=exited, status=2
Jan  1 06:36:19 product1 systemd[1]: graco-influx.service holdoff time over, scheduling restart.
Jan  1 06:36:19 product1 systemd[1]: Unit graco-influx.service entered failed state.
Jan  1 06:36:19 product1 influxd[4618]: 8888888           .d888 888                   8888888b.  888888b.
Jan  1 06:36:19 product1 influxd[4618]: 888            d88P"  888                   888  "Y88b 888  "88b
Jan  1 06:36:19 product1 influxd[4618]: 888            888    888                   888    888 888  .88P
Jan  1 06:36:19 product1 influxd[4618]: 888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
Jan  1 06:36:19 product1 influxd[4618]: 888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
Jan  1 06:36:19 product1 influxd[4618]: 888   888  888 888    888 888  888   X88K   888    888 888    888
Jan  1 06:36:19 product1 influxd[4618]: 888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
Jan  1 06:36:19 product1 influxd[4618]: 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
Jan  1 06:36:20 product1 influxd[4618]: using configuration at: /awi2/awi/database/influxdb/awi_config.toml
Jan  1 06:36:20 product1 influxd[4618]: 2000/01/01 06:36:20 [INFO] raft: Node at 10.33.135.236:8087 [Follower] entering Follower state
Jan  1 06:36:20 product1 influxd[4618]: 2000/01/01 06:36:20 read local node id: 1
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [WARN] raft: Heartbeat timeout reached, starting election
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [INFO] raft: Node at 10.33.135.236:8087 [Candidate] entering Candidate state
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [DEBUG] raft: Votes needed: 1
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [DEBUG] raft: Vote granted. Tally: 1
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [INFO] raft: Election won. Tally: 1
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [INFO] raft: Node at 10.33.135.236:8087 [Leader] entering Leader state
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [INFO] raft: Disabling EnableSingleNode (bootstrap)
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [DEBUG] raft: Node 10.33.135.236:8087 updated peer set (2): [10.33.135.236:8087]
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [DEBUG] raft: Node 10.33.135.236:8087 updated peer set (2): [10.33.135.236:8087]
Jan  1 06:36:21 product1 influxd[4618]: 2000/01/01 06:36:21 [DEBUG] raft: Node 10.33.135.236:8087 updated peer set (2): [10.33.135.236:8087]
Jan  1 06:36:38 product1 influxd[4618]: [httpd] 2000/01/01 06:36:38 listening on HTTP: [::]:8086
Jan  1 06:36:38 product1 influxd[4618]: 2000/01/01 06:36:38 InfluxDB starting, version 0.9, commit unknown
Jan  1 06:36:38 product1 influxd[4618]: 2000/01/01 06:36:38 GOMAXPROCS set to 1

BGraco avatar Jul 15 '15 20:07 BGraco

@BGraco Are you seeing "no leader" in the influx shell? That looks like a separate issue.

benbjohnson avatar Jul 16 '15 16:07 benbjohnson

I will verify with the engineer who was pushing the data on Monday. It seems the 500 error did not make it into the server log.

BGraco avatar Jul 17 '15 20:07 BGraco

I get into this problem too, and that because in configuration I set [meta]hostname to hostname returned by cat /etc/hostname. All other bind-address was set to localhost:port.

The problem was that the meta even if binded to localhost wasn't accessible do the hostname binded ip.. (I think)

Changing all bind-address with corresponding hostname IP network correct the problem.

/etc/hostname : server-1 /etc/hosts :

127.0.0.1   localhost
127.0.1.1   server-1

How to reproduce : Set a hostname Set a IP to this hostname into /etc/hosts In Influxdb conf do like :

[meta]
  dir = "/var/lib/influxdb/meta"
  hostname = "thehostname"
  bind-address = "localhost:8088"
[http]
  enabled = true
  bind-address = "localhost:8086"

Connect to localhost, you can do read op. but no C/U/D. C/U/D Op give Err: No leader

Herve-M avatar Jul 18 '15 19:07 Herve-M

Thanks for the info Herve-M!

I will update my config to match what you recommend and report back with results.

BGraco avatar Jul 22 '15 21:07 BGraco

Sorry I took so long to get back to you on this, but we finally recreated the issue.

Below is the syslog capture. The error returned by the post is 500: b'{"error":"no leader"}\n'

[http] 2015/08/18 00:00:01 127.0.0.1 - - [18/Aug/2015:00:00:01 +0000] POST /write HTTP/1.1 500 46 - python-requests/2.7.0 CPython/3.4.1 Linux/3.8.13-bone70 1242a92e-453c-11e5-a0cb-000000000000 5.62275ms [http] 2015/08/18 00:00:05 127.0.0.1 - - [18/Aug/2015:00:00:05 +0000] POST /write HTTP/1.1 500 46 - python-requests/2.7.0 CPython/3.4.1 Linux/3.8.13-bone70 14ac91dc-453c-11e5-a0cc-000000000000 92.742084ms run.py[1604]: database.influxdb.client.InfluxDBClientError: 500: b'{"error":"no leader"}\n'

BGraco avatar Aug 18 '15 12:08 BGraco

@BGraco what version of InfluxDB are you running?

beckettsean avatar Aug 18 '15 19:08 beckettsean

Same issue here, another observation is show databases returns no _internal

est avatar Dec 03 '15 07:12 est