no useable address found for interfaces [eth0 en0] #8773
Unanswered
toni-ainita-net
asked this question in
Help and support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I am trying to start Mimir using the demo.yaml described in https://grafana.com/docs/mimir/latest/get-started/ and geting the error "err="no useable address found for interfaces [eth0 en0]\ninvalid ring lifecycler config".
Full error:
ts=2024-07-19T19:24:00.848790877Z caller=main.go:225 level=info msg="Starting application" version="(version=2.13.0, branch=release-2.13, revision=4775ec1568)"
ts=2024-07-19T19:24:00.854274835Z caller=server.go:352 level=info msg="server listening on addresses" http=[::]:9009 grpc=[::]:9095
ts=2024-07-19T19:24:00.860241138Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/config auth=false gzip=true
ts=2024-07-19T19:24:00.860413571Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/ auth=false gzip=true
ts=2024-07-19T19:24:00.860430052Z caller=api.go:160 level=debug msg="api: registering route" methods=GET prefix=/static/ auth=false gzip=true
ts=2024-07-19T19:24:00.860442545Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/debug/fgprof auth=false gzip=true
ts=2024-07-19T19:24:00.860457363Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/api/v1/status/buildinfo auth=false gzip=true
ts=2024-07-19T19:24:00.860470718Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/api/v1/status/config auth=false gzip=true
ts=2024-07-19T19:24:00.860495184Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/api/v1/status/flags auth=false gzip=true
ts=2024-07-19T19:24:00.860745945Z caller=api.go:155 level=debug msg="api: registering route" methods=GET path=/memberlist auth=false gzip=true
ts=2024-07-19T19:24:00.861775706Z caller=storage.go:39 level=warn msg="-ruler-storage.backend=filesystem is for development and testing only; you should switch to an external object store for production use or use a shared filesystem"
ts=2024-07-19T19:24:00.862250988Z caller=netutil.go:85 level=debug msg="looking for addresses" inf="[eth0 en0]" inet6enabled=false
ts=2024-07-19T19:24:00.862355424Z caller=netutil.go:90 level=warn msg="error getting addresses for interface" inf=eth0 err="route ip+net: no such network interface"
ts=2024-07-19T19:24:00.862417891Z caller=netutil.go:90 level=warn msg="error getting addresses for interface" inf=en0 err="route ip+net: no such network interface"
ts=2024-07-19T19:24:00.862424313Z caller=netutil.go:118 level=debug msg="detected IP address after looking up all configured interface names" ipAddr="invalid IP"
ts=2024-07-19T19:24:00.862450292Z caller=memberlist_client.go:435 level=info msg="Using memberlist cluster label and node name" cluster_label= node=grafana-8ece3768
ts=2024-07-19T19:24:00.862720629Z caller=log.go:103 level=error msg="error running application" err="no useable address found for interfaces [eth0 en0]\ninvalid ring lifecycler config\ngithub.com/grafana/mimir/pkg/storegateway.newStoreGateway\n\t/go/src/github.com/grafana/mimir/pkg/storegateway/gateway.go:153\ngithub.com/grafana/mimir/pkg/storegateway.NewStoreGateway\n\t/go/src/github.com/grafana/mimir/pkg/storegateway/gateway.go:122\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).initStoreGateway\n\t/go/src/github.com/grafana/mimir/pkg/mimir/modules.go:966\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/go/src/github.com/grafana/mimir/vendor/github.com/grafana/dskit/modules/modules.go:136\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/go/src/github.com/grafana/mimir/vendor/github.com/grafana/dskit/modules/modules.go:108\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).Run\n\t/go/src/github.com/grafana/mimir/pkg/mimir/mimir.go:852\nmain.main\n\t/go/src/github.com/grafana/mimir/cmd/mimir/main.go:227\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1695\nerror initialising module: store-gateway\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/go/src/github.com/grafana/mimir/vendor/github.com/grafana/dskit/modules/modules.go:138\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/go/src/github.com/grafana/mimir/vendor/github.com/grafana/dskit/modules/modules.go:108\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).Run\n\t/go/src/github.com/grafana/mimir/pkg/mimir/mimir.go:852\nmain.main\n\t/go/src/github.com/grafana/mimir/cmd/mimir/main.go:227\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1695"
To Reproduce
./mimir --config.file=./demo.yaml
Expected behavior
Mimir should start.
Environment
Mimir version (2.13.0)
Debian 12
Deployment method (binary)
Additional Context
Beta Was this translation helpful? Give feedback.
All reactions