Gandi / ganesha_exporter

Prometheus exporter for NFS-Ganesha
9 stars 9 forks source link

dbus error #3

Open bds006 opened 3 years ago

bds006 commented 3 years ago

Hello, It has dbus error when run:

dbus.Store: length mismatch panic: dbus.Store: length mismatch

goroutine 38 [running]: log.Panic(0xc00025d6c0, 0x1, 0x1) /usr/lib/golang/src/log/log.go:351 +0xae github.com/Gandi/ganesha_exporter/dbus.ExportMgr.GetNFSv41IO(0x9bbd00, 0xc000202000, 0x64, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/---/go/src/github.com/Gandi/ganesha_exporter/dbus/export_mgr.go:105 +0x58a main.ExportsCollector.Collect(0x9bbd00, 0xc000202000, 0xc000208000, 0xc000208001, 0xc000208002, 0xc000208003, 0xc00021a120) /home/---/go/src/github.com/Gandi/ganesha_exporter/exportsCollector.go:282 +0x2e98 github.com/Gandi/ganesha_exporter/vendor/github.com/prometheus/client_golang/prometheus.DescribeByCollect.func1(0x9b6420, 0xc000202b10, 0xc00021a120) /home/---/go/src/github.com/Gandi/ganesha_exporter/vendor/github.com/prometheus/client_golang/prometheus/collector.go:90 +0x3b created by github.com/Gandi/ganesha_exporter/vendor/github.com/prometheus/client_golang/prometheus.DescribeByCollect /home/---/go/src/github.com/Gandi/ganesha_exporter/vendor/github.com/prometheus/client_golang/prometheus/collector.go:89 +0x75

How to fix it? Thanks!