Skip to content

Hyperdisk smaller than 4GiB can not be created #2038

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

Open
dfajmon opened this issue Apr 3, 2025 · 3 comments
Open

Hyperdisk smaller than 4GiB can not be created #2038

dfajmon opened this issue Apr 3, 2025 · 3 comments

Comments

@dfajmon
Copy link

dfajmon commented Apr 3, 2025

When trying to create a hyperdisk smaller than 4GiB it fails.

Warning  ProvisioningFailed    20s (x10 over 5m1s)  pd.csi.storage.gke.io_ahafe-gcp-high-bhhd5-master-2.c.ocpstrat-1278.internal_ee5a8bd3-b1d9-4e9f-837d-73d624d90e91  failed to provision volume with StorageClass "balanced-storage": rpc error: code = InvalidArgument desc = CreateVolume failed: rpc error: code = InvalidArgument desc = CreateVolume failed to create single zonal disk pvc-4b0d2cc9-a677-4d36-9b34-bc14c8650826: failed to insert zonal disk: unknown Insert disk error: googleapi: Error 400: Disk size cannot be smaller than 4 GB for disk type hyperdisk-balanced., badRequest%!v(MISSING)

Resolution:
The driver should check if the size is valid, if the size is invalid it should round up to the closest.

@sunnylovestiramisu
Copy link
Contributor

This will bypass quota check in Kubernetes, which is not the experience we want?

@dfajmon
Copy link
Author

dfajmon commented Apr 8, 2025

this has been discussed in upstream meeting and was accepted that it should be implemented
https://docs.google.com/document/d/1-oiNg5V_GtS_JBAEViVBhZ3BYVFlbSz70hreyaD7c5Y/edit?tab=t.0

cc @jsafrane

@sunnylovestiramisu
Copy link
Contributor

sunnylovestiramisu commented Apr 11, 2025

Ignore this comment, I was mixing it with another issue

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

No branches or pull requests

2 participants