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

cephfs: Fix cephfs PVC sizing #4180

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Commits on Oct 12, 2023

  1. cephfs: Fix cephfs PVC sizing

    Issue:
    The RoundOffCephFSVolSize() function omits the fractional
    part when calculating the size for cephfs volumes, leading
    to the created volume capacity to be lesser than the requested
    volume capacity.
    
    Fix:
    Consider the fractional part during the size calculation so the
    rounded off volume size will be greater than or equal to the
    requested volume size.
    
    Signed-off-by: karthik-us <ksubrahm@redhat.com>
    Fixes: ceph#4179
    karthik-us authored and nixpanic committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    5abef0f View commit details
    Browse the repository at this point in the history
  2. e2e: To test 500MB PVC creation

    Adding e2e test to check for successful PVC creation
    of 500MB.
    
    Signed-off-by: karthik-us <ksubrahm@redhat.com>
    karthik-us authored and nixpanic committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    0e1d5de View commit details
    Browse the repository at this point in the history