8000 Bug: [Helmchart] You have set ingester.zoneAwareReplication.migration.replicas, but ingester.zoneAwareReplication.migration.enabled=false · Issue #11553 · grafana/mimir · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bug: [Helmchart] You have set ingester.zoneAwareReplication.migration.replicas, but ingester.zoneAwareReplication.migration.enabled=false #11553
Open
@Breee

Description

@Breee

What is the bug?

When upgrading I get:

Error: UPGRADE FAILED: execution error at (maas/charts/mimir/templates/validate.yaml:162:4): You have set ingester.zoneAwareReplication.migration.replicas, but ingester.zoneAwareReplication.migration.enabled=false. Please consult the Migrating from single zone with Helm document.

Although the values clearly state:

  ingester:
    persistentVolume:
      enabled: false
    affinity:
      podAntiAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
                - key: app.kubernetes.io/component
                  operator: In
                  values:
                    - ingester
            topologyKey: "kubernetes.io/hostname"
    zoneAwareReplication:
      enabled: false
      topologyKey: "kubernetes.io/hostname"
      migration:
        enabled: false

that means the default values of ingester.zoneAwareReplication.migration.replicas seems to be wrong.

How to reproduce it?

see above

What did you think would happen?

i would assume that if migration=false, the replicas are automatically 0 by default

What was your environment?

Any additional context to share?

Setting:

     migration:
        replicas: 0
        enabled: false

fixes the problem, but confused us in the first place, because the upgrade just failed for no good reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0