Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Support Minimum 3GB Volume Size for NFS in CSI-PowerFlex #1366

Closed
adarsh-dell opened this issue Jul 5, 2024 · 1 comment
Closed
Assignees
Labels
area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@adarsh-dell
Copy link
Contributor

Bug Description

Issue Summary:
Currently, the CSI-PowerFlex driver does not support volume sizes less than 3GB for NFS. If a volume size smaller than 3GB is requested, the backend returns a 400 Bad Request error.

Proposed Solution:
Implement a feature in the CSI-PowerFlex driver to round up the requested volume size to the minimum supported size of 3GB before sending the request to the backend. This approach is similar to how we handle block volume types, where sizes are rounded up to the nearest multiple of 8GB, as the minimum size supported for block volumes is 8GB.

Details:

Detect if the requested volume size for NFS is less than 3GB.
Round up the volume size to 3GB if it is below the minimum threshold.
Ensure the request to the backend is adjusted accordingly to prevent the 400 Bad Request error.
Update the documentation to reflect this behavior and specify the minimum supported size for different volume types and platforms.

Logs

NA

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Create a NFS vol of size 1024Mi i.e. 1Gb.

Expected Behavior

Volume creation should take place with min supported size by backend array.

CSM Driver(s)

CSI-Powerflex

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

K8, OCP

Operating System

Any

@adarsh-dell adarsh-dell added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jul 5, 2024
@adarsh-dell adarsh-dell self-assigned this Jul 5, 2024
@adarsh-dell adarsh-dell added area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex and removed needs-triage Issue requires triage. labels Jul 5, 2024
@adarsh-dell adarsh-dell added this to the v1.11.0 milestone Jul 5, 2024
@adarsh-dell
Copy link
Contributor Author

This fix/enhancement will be available from CSM 1.11.0 in V2.11.0 and onwards for the CSI-Powerflex driver.

Thank you.
Adarsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

1 participant