codis3.2 dashboard online failed
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
etcd 已经有/codis3/codis-service/topom 了,删掉再启动就好
@ahnselina 兄弟,咋解决的。
@ahnselina 兄弟,咋解决的。
用etcd 的客户端连上,然后删掉对应的/codis3/codis-service/topom 这个就可以了