Details
-
Bug
-
Resolution: Done
-
Critical
-
1.0
-
None
Description
Saw this when running cbmultimanager:
2022-02-18T10:45:07.093Z WARN (REST) (Attempt 1) (GET) Request to endpoint '/stats/storage' failed due to error: failed to prepare request: failed to get host for service 'Indexing': failed to get host for service 'Indexing': Indexing Service is not available
|
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x43a2936]goroutine 42 [running]:
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/couchbase.(*Client).GetIndexStorageStats.func1(0x70, 0xc0002213b0, 0xc00064d6f8)
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/couchbase/gsi.go:92 +0x416
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/couchbase.(*Client).GetIndexStorageStats(0xc0002213b0)
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/couchbase/gsi.go:97 +0x8e
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status.imbalancedIndexPartitionsCheck({0x492aed8, 0xc0002213b0})
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status/cluster_checkers.go:569 +0x142
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status.sharedClientChecks(0xc00018a460)
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status/cluster_checkers.go:104 +0x5c2
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status.(*apiWorker).runCheckers(0xc000370780, 0xc00018a460)
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status/api_worker.go:76 +0x49f
|
github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status.(*apiWorker).start(0xc000370780)
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status/api_worker.go:45 +0x15b
|
created by github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status.(*apiMonitor).start
|
/Users/marks.polakovs@couchbase.com/go/src/github.com/couchbaselabs/cbmultimanager/cluster-monitor/pkg/status/api_monitor.go:74 +0x1b8
|