You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
Pod startup failed after helm installs loki, The error is CrashLoopBackOff, err="query filtering for deletes requires 'compactor_grpc_address' or 'compactor_address' to be configured
I am using version 2.7.5 with the following configuration:
After adding the above configuration, I encounter the following error(querier, query-frontend):
level=warn ts=2023-08-01T10:35:17.299890182Z caller=loki.go:251 msg="per-tenant timeout not configured, using default engine timeout (\"5m0s\"). This behavior will change in the next major to always use the default per-tenant timeout (\"5m\")."
query filtering for deletes requires 'compactor_grpc_address' or 'compactor_address' to be configured
error initialising module: cache-generation-loader
github.com/grafana/dskit/modules.(*Manager).initModule
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122
github.com/grafana/dskit/modules.(*Manager).InitModuleServices
/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92
github.com/grafana/loki/pkg/loki.(*Loki).Run
/src/loki/pkg/loki/loki.go:422
main.main
/src/loki/cmd/loki/main.go:110
runtime.main
/usr/local/go/src/runtime/proc.go:250
runtime.goexit
/usr/local/go/src/runtime/asm_arm64.s:1172
level=info ts=2023-08-01T10:35:17.497084809Z caller=main.go:108 msg="Starting Loki" version="(version=2.7.5, branch=HEAD, revision=fd33f6a18)"
level=error ts=2023-08-01T10:35:17.497180898Z caller=log.go:171 msg="error running loki" err="query filtering for deletes requires 'compactor_grpc_address' or 'compactor_address' to be configured\nerror initialising module: cache-generation-loader\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/src/loki/pkg/loki/loki.go:422\nmain.main\n\t/src/loki/cmd/loki/main.go:110\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_arm64.s:1172"
Could not flush logger <nil>
Everything works fine until I add the following section.
Describe the bug:
Pod startup failed after helm installs loki, The error is CrashLoopBackOff,
err="query filtering for deletes requires 'compactor_grpc_address' or 'compactor_address' to be configured
I am using version 2.7.5 with the following configuration:
After adding the above configuration, I encounter the following error(querier, query-frontend):
Everything works fine until I add the following section.
But I don't understand why this is required. Is there any other use case where
compactor_grpc_address
orcompactor_address
is needed?Currently I am upgrading from
2.6.1
to2.7.5
and nothing has changed in my existing settings.In addition, it seems that
deletion_mode
wasdisabled
in the past2.6.1
.(https://github.com/grafana/loki/blob/v2.6.1/docs/sources/configuration/_index.md) Is there a reason why it was changed tofilter-and-delete
in the 2.7.x version?(https://github.com/grafana/loki/blob/v2.7.0/docs/sources/configuration/_index.md)In my understanding, adding the compactor endpoint in the configuration seems to signal that the deletion is possible, and I don't want to add it.
Similar issues
query filtering for deletes requires 'compactor_address' to be configured
#8030compactor_address
if target=querier #7222Tasks
The text was updated successfully, but these errors were encountered: