Skip to content

Commit

Permalink
fix(csi/expansion): disable feature-gate RecoverVolumeExpansionFailure
Browse files Browse the repository at this point in the history
longhorn/longhorn-10411

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and derekbit committed Feb 13, 2025
1 parent be22faf commit e61d0f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions csi/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ func NewResizerDeployment(namespace, serviceAccount, resizerImage, rootDir strin
// Issue: https://github.com/longhorn/longhorn/issues/3303
// TODO: Remove this after upgrading the CSI resizer version that contains the fix of https://github.com/kubernetes-csi/external-resizer/issues/175
"--handle-volume-inuse-error=false",
// Since v1.13.1, the CSI resizer enabled features.RecoverVolumeExpansionFailure
// by default. This silently requeues the PVC without logging the error.
// https://github.com/longhorn/longhorn/issues/10411#issuecomment-2655252262
// TODO: Investigate and fix potential cause of the failure if we want
// to use this feature.
"--feature-gates=RecoverVolumeExpansionFailure=false",
},
int32(replicaCount),
tolerations,
Expand Down

0 comments on commit e61d0f6

Please sign in to comment.