CodisLabs / CodisLabs/codis

codis3.2 dashboard online failed

Open
#1,683 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.2k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

**start cmd:**
./bin/codis-dashboard --ncpu=1 --config=config/dashboard.toml --log=dashboard.log --log-level=DEBUG >> /var/log/codis_dashboard.log

**config:**

coordinator_name = "etcd"
coordinator_addr = "10.193.98.140:2379,10.193.98.1:2379,10.193.98.10:2379"

Set Codis Product Name/Auth.
product_name = "codis-service"
product_auth = ""

Set bind address for admin(rpc), tcp only.
admin_addr = "0.0.0.0:18080"

migration_method = "semi-async"
migration_parallel_slots = 100
migration_async_maxbulks = 200
migration_async_maxbytes = "32mb"
migration_async_numkeys = 500
migration_timeout = "30s"

sentinel_client_timeout = "10s"
sentinel_quorum = 2
sentinel_parallel_syncs = 1
sentinel_down_after = "30s"
sentinel_failover_timeout = "5m"
sentinel_notification_script = ""
sentinel_client_reconfig_script = ""

**error log:**
2019/10/12 15:43:24 main.go:171: [WARN] [0xc4202f37a0] dashboard online failed [1]
2019/10/12 15:43:26 etcdclient.go:133: [DEBUG] etcd create node /codis3/codis-service/topom
2019/10/12 15:43:26 etcdclient.go:136: [DEBUG] etcd create node /codis3/codis-service/topom failed: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
2019/10/12 15:43:26 topom.go:189: [ERROR] store: acquire lock of codis-service failed
[error]: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
3 /usr/local/gopath/src/github.com/CodisLabs/codis/pkg/models/etcd/etcdclient.go:137
github.com/CodisLabs/codis/pkg/models/etcd.(*Client).Create
2 /usr/local/gopath/src/github.com/CodisLabs/codis/pkg/models/store.go:119
github.com/CodisLabs/codis/pkg/models.(*Store).Acquire
1 /usr/local/gopath/src/github.com/CodisLabs/codis/pkg/topom/topom.go:188
github.com/CodisLabs/codis/pkg/topom.(*Topom).Start
0 /usr/local/gopath/src/github.com/CodisLabs/codis/cmd/dashboard/main.go:169
main.main
... ...
[stack]:
1 /usr/local/gopath/src/github.com/CodisLabs/codis/pkg/topom/topom.go:189
github.com/CodisLabs/codis/pkg/topom.(*Topom).Start
0 /usr/local/gopath/src/github.com/CodisLabs/codis/cmd/dashboard/main.go:169
main.main

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.