Repository navigation
Closed
Labels
area/extraIssues or PRs related to tenant-specific modules (packages/extra/)Issues or PRs related to tenant-specific modules (packages/extra/)area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)Issues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)kind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next releaseMust be staffed and worked on either currently, or very soon, ideally in time for the next releasetriage/acceptedIndicates an issue is ready to be actively worked onIndicates an issue is ready to be actively worked on
Description
Describe the bug
Hi! I found 2 missed parameters:
- filer.replicas
- s3.replicas
Environment
- Cozystack version: all
- Provider: any
To Reproduce
Steps to reproduce the behavior:
- Create manifest SeaweedFS with custom values
filer.replicasand/ors3.replicas - Apply
Expected behaviour
helm release with custom values
Actual behaviour
Real values in helm release are defaults (2, 2)
Checklist
- I have checked the documentation
- I have searched for similar issues
- I have included all required information
- I have provided clear steps to reproduce
- [] I have included relevant logs
Reacted by dosubot
Metadata
Metadata
Assignees
Labels
area/extraIssues or PRs related to tenant-specific modules (packages/extra/)Issues or PRs related to tenant-specific modules (packages/extra/)area/storageIssues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)Issues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor)kind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next releaseMust be staffed and worked on either currently, or very soon, ideally in time for the next releasetriage/acceptedIndicates an issue is ready to be actively worked onIndicates an issue is ready to be actively worked on
Activity
dosubot commentedon Apr 29, 2026
Hi Chernosov Denis (@dvc)! I'm Dosu and I’m helping the cozystack team.
Good catch! This is confirmed — the
filer.replicasands3.replicasvalues are defined invalues.yaml[1] [2] and are referenced in the WorkloadMonitor resources [3] [4], but they are not interpolated into the HelmReleasespec.valuessection [5]. Other components likemaster,volume, anddbcorrectly pass their replica counts [6] [7] [8], so filer and s3 are just missing the same pattern.The fix would be adding
replicas:to the filer and s3 sections in the HelmRelease values:This is also related to issue #2038 which tracks broader SeaweedFS value passthrough improvements [9].
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
lexfrei commentedon Apr 29, 2026
Confirmed on
main(6e045e69). The same.Values.*.replicasis referenced in two places, only one of which works:spec.values.seaweedfscorrectly passesreplicas:fordb(templates/seaweedfs.yaml:127),master(:140), andvolume(:146) — but thefilerblock (:229-237) ands3block (:238-253) omit it. Sofiler.replicas/s3.replicasfrom user values are silently dropped and the upstream chart defaults take over.WorkloadMonitorresources forfiler(:284) ands3(:378) do read.Values.filer.replicas/.Values.s3.replicas. As a second-order effect, when a user sets these values the monitor's expected replica count diverges from the actual deployment, which can trigger spurious alerts.Fix is straightforward — mirror the
master/volumepattern and addreplicas: {{ .Values.filer.replicas }}/replicas: {{ .Values.s3.replicas }}to the corresponding blocks in the HelmRelease values.Related (not a duplicate): #2038 tracks per-tenant SeaweedFS value passthrough at the Tenant chart level.
fix(seaweedfs): pass filer.replicas and s3.replicas to HelmRelease (c…