-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consul 0.6.4 crash #2125
Comments
We have the same issue, consul crash ~300 times a day !!!! , on all cluster nodes ( we have 3) Please Advise |
Upgrade to 6.4 solved the crash... |
I think I see how we could get into this situation. A similar situation exists for services as well as checks. If a check was being deleted and gets removed from The cleanest way to solve this is probably just to remove the |
Fix for this is in review. |
If you have a question, please direct it to the
consul mailing list if it hasn't been
addressed in either the FAQ or in one
of the Consul Guides.
When filing a bug, please include the following:
consul version
for both Client and ServerClient: 0.6.4
Server: 0.6.4
consul info
for both Client and Serveragent:
check_monitors = 0
check_ttls = 0
checks = 22
services = 24
build:
prerelease =
revision = 26a0ef8
version = 0.6.4
consul:
bootstrap = false
known_datacenters = 1
leader = false
server = true
raft:
applied_index = 999
commit_index = 999
fsm_pending = 0
last_contact = 20.884238ms
last_log_index = 999
last_log_term = 3
last_snapshot_index = 0
last_snapshot_term = 0
num_peers = 12
state = Follower
term = 3
runtime:
arch = amd64
cpu_count = 4
goroutines = 86
max_procs = 2
os = linux
version = go1.6
serf_lan:
encrypted = true
event_queue = 0
event_time = 3
failed = 0
intent_queue = 0
left = 0
member_time = 16
members = 13
query_queue = 0
query_time = 1
serf_wan:
encrypted = true
event_queue = 0
event_time = 1
failed = 0
intent_queue = 0
left = 0
member_time = 1
members = 1
query_queue = 0
query_time = 1
Operating system and Environment details
Amazon Linux update to date with all update
Description of the Issue (and unexpected/desired result)
Crash of consul
Reproduction steps
Not able to reproducre
Log Fragments or Link to gist
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x68 pc=0x4f00e0]
goroutine 20 [running]:
panic(0xcb9ec0, 0xc82000e0c0)
/goroot/src/runtime/panic.go:464 +0x3e6
github.com/hashicorp/consul/command/agent.(_localState).syncCheck(0xc820001cb0, 0xc822dd35c0, 0x5c, 0x0, 0x0)
/gopath/src/github.com/hashicorp/consul/command/agent/local.go:606 +0x90
github.com/hashicorp/consul/command/agent.(_localState).syncChanges(0xc820001cb0, 0x0, 0x0)
/gopath/src/github.com/hashicorp/consul/command/agent/local.go:488 +0x446
github.com/hashicorp/consul/command/agent.(_localState).antiEntropy(0xc820001cb0, 0xc82000acc0)
/gopath/src/github.com/hashicorp/consul/command/agent/local.go:339 +0x208
created by github.com/hashicorp/consul/command/agent.(_Agent).StartSync
/gopath/src/github.com/hashicorp/consul/command/agent/agent.go:580 +0x4f
The text was updated successfully, but these errors were encountered: