Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tenants are getting skipp #6581

Open
Tamy8891 opened this issue Feb 8, 2025 · 2 comments
Open

Tenants are getting skipp #6581

Tamy8891 opened this issue Feb 8, 2025 · 2 comments

Comments

@Tamy8891
Copy link

Tamy8891 commented Feb 8, 2025

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

@dsabsay
Copy link
Contributor

dsabsay commented Feb 13, 2025

Did you check the logs on all compactor instances? It's possible that user is assigned to a different instance.

@dsabsay
Copy link
Contributor

dsabsay commented Feb 13, 2025

Sorry, maybe I misread. You are saying there are no logs at all when you use enabled_tenants: ""?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants