codis3.2 dashboard online failed
- Vorherrschende Sprache
- Go
- Sterne
- 13.2k
- Forks
- 2.7k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere den Fehler mit dem gezeigten Befehl und der gezeigten Konfiguration und beginne dann bei cmd/dashboard/main.go:169, um über topom.go:188-189 zu pkg/models/etcd/etcdclient.go:133-137 zu verfolgen. Prüfe die konfigurierten Coordinator-Endpunkte gegen die vom Client erwartete Antwort und halte einen erfolgreichen Dashboard-Start mit erworbener topom-Sperre als Abschlussbedingung fest.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- distributed-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100