Skip to content

seaweedfs: tenant maxVolumes is hardcoded in four places and unasserted #4245

Closed

Description

packages/extra/seaweedfs/templates/seaweedfs.yaml hardcodes maxVolumes: 0 in four places: lines 251, 270, 286 and 311, covering the default volume server, pools, zones and zone-pools.

That zero is what makes a volume server derive its slot count from free disk. Drop it and the vendored chart falls back to 7, so the server reports seven slots no matter how large the PVC is.

extra/seaweedfs overrides dataDirs for every real instance, so those four lines are what a tenant actually renders, not the defaults in packages/system/seaweedfs/values.yaml. Nothing under packages/extra/seaweedfs/tests/ asserts any of them.

A change to any of the four therefore caps the instance at seven volume slots per server and nothing catches it. The rendered -max is the thing worth asserting, not the values key.

Activity

  1. added
    kind/bugCategorizes issue or PR as related to a bug
    area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)
    area/testingIssues or PRs related to testing (e2e, bats, unit tests)
    on Sep 14, 2026
  2. added a commit that references this issue on Sep 17, 2026
    6818795
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)area/testingIssues or PRs related to testing (e2e, bats, unit tests)kind/bugCategorizes issue or PR as related to a bugtriage/needs-triageIndicates an issue needs triage by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions