Skip to content

Loki - Redis Cluster 7.0 support #11069

Closed
@lukasmrtvy

Description

@lukasmrtvy

Describe the bug
Loki does not support Redis Cluster 7.0, fails to err="got 4 elements in cluster info address, expected 2 or 3"
Mimir works OK with Redis Cluster 7.0 ( AWS Elasticache ). CNAME endpoint is probably populated with more IP addresses after some time, depends cluster provider.

To Reproduce
Steps to reproduce the behavior:

  1. Started Loki (2.9.2)
  2. Started Redis Cluster 7.0 ( Elasticache )
  3. Configure CNAME Redis endpoint for Loki
  4. Restart Loki deployment after some time
  5. got level=error ts=2023-10-27T15:55:01.147782465Z caller=redis_cache.go:32 msg="error connecting to redis" name=store.index-cache-write.redis err="got 4 elements in cluster info address, expected 2 or 3"

Expected behavior
Loki supports Redis Cluster 7.0

Environment:

  • Infrastructure: EKS
  • Deployment tool: helm

Screenshots, Promtail config, or terminal output
no

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomehing is not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions