Skip to content

Tenants are getting skipp #6581

Open
Open
@Tamy8891

Description

@Tamy8891

Describe the bug
when we use enabled_tenants="" its skipping all the tenants rather to be added

CLI flag: -compactor.enabled-tenants

[enabled_tenants: | default = ""]

To Reproduce
Steps to reproduce the behavior:
Cortex version: v1.17.1
Config:
Compactor:
enabled_tenants: ""(remove this from compactor config)

Expected behavior
It should detect or allow all the tenants rather its skipping.

Expected logs:
where org_id is mentioned in the logs when i remove off enabled tenants from compactor config:

ts=2025-02-08T04:16:56.161889184Z caller=blocks_cleaner.go:314 level=info component=cleaner org_id=mcatemplate-cicd msg="started blocks cleanup and maintenance"

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: Helm

Additional Context
Config:
Compactor:
enabled_tenants: ""(remove this from compactor config)

Logs when we use enabled_tenants: ""

Logs when we use default mode:
ts=2025-02-08T03:30:48.536593685Z caller=compactor.go:708 level=debug component=compactor msg="skipping user because it is not owned by this shard" user=mcatemplate-cicd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions