NetApp / trident

Storage orchestrator for containers
Apache License 2.0
762 stars 222 forks source link

Expand PVC uses VolumeSize and ignored Snapshot reserve #834

Closed tgoetheyn closed 2 weeks ago

tgoetheyn commented 1 year ago

Describe the bug Fails to expand PVC if the new requested size is smaller than the total volume size. This should be calculated on the DataSize instead (= Volume size - SnapshotReserve)

Environment Provide accurate information about the environment to help us reproduce the issue.

To Reproduce Steps to reproduce the behavior:

Expected behavior recalculate new size while take in account the snapshotreserve => set Volume size to 14,3Gb (= 11Gb data space + 30% snapshot reserve)

Additional context Add any other context about the problem here.

tgoetheyn commented 1 year ago

Problem still exists in 23.07

sjpeeris commented 3 weeks ago

Hi @tgoetheyn Please let us know if this issue still exists with the newer versions of Trident. If this has been resolved, please close the issue.

sjpeeris commented 2 weeks ago

Closing. Please re-open if you notice this issue with newer versions of Trident.