Skip to content

reclaimspace: Add UNIMPLEMENTED error code to prevent retrying#81

Merged
mergify[bot] merged 1 commit into
csi-addons:mainfrom
nixpanic:reclaim-space/unimplemented
Jun 30, 2026
Merged

reclaimspace: Add UNIMPLEMENTED error code to prevent retrying#81
mergify[bot] merged 1 commit into
csi-addons:mainfrom
nixpanic:reclaim-space/unimplemented

Conversation

@nixpanic

@nixpanic nixpanic commented Jun 25, 2026

Copy link
Copy Markdown
Member

The filesystem may not support fstrim, or the block-device may lack
support for DISCARD operations. In these cases there is no need to retry
unless there was an update of some component that could add support for
space reclaiming.

The Unimplemented error code is already detected by the controller:

ControllerReclaimSpace

https://github.com/csi-addons/kubernetes-csi-addons/blob/93075184b184af4b635602461c714085c19c7e14/internal/controller/csiaddons/reclaimspacejob_controller.go#L435-L443

NodeReclaimSpace

https://github.com/csi-addons/kubernetes-csi-addons/blob/93075184b184af4b635602461c714085c19c7e14/internal/controller/csiaddons/reclaimspacejob_controller.go#L474-L482

The filesystem may not support fstrim, or the block-device may lack
support for DISCARD operations. In these cases there is no need to retry
unless there was an update of some component that could add support for
space reclaiming.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
@Madhu-1 Madhu-1 requested a review from black-dragon74 June 30, 2026 05:52
@mergify

mergify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Queued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added the queued label Jun 30, 2026
@mergify

mergify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Merge Queue Status

  • Entered queue2026-06-30 05:54 UTC · Rule: default · triggered by rule merge after one approval (no design changes)
  • Checks passed · on draft merge queue: checking main (c52cb24) and #81 together #84
  • Merged2026-06-30 05:57 UTC · at dab4db3369f52e41595202ae55d918041f3964a9 · rebase

This pull request spent 2 minutes 41 seconds in the queue, including 2 minutes 22 seconds running CI.

Required conditions to merge

mergify Bot added a commit that referenced this pull request Jun 30, 2026
@mergify mergify Bot merged commit c025479 into csi-addons:main Jun 30, 2026
6 checks passed
@mergify mergify Bot removed the queued label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants