[BUG] Failed to add block storage device. Invalid size (8GB) - Must be between 10GB and 10000GB.","status":400
Closed this issue · 2 comments
suhaibaffan commented
Describe the bug
When the pvc is less than 10 Gb it throws error:
failed to provision volume with StorageClass "vultr-block-storage": rpc error: code = Internal desc = {"error":"Unable to add block storage: Failed to add block storage device. Invalid size (8GB) - Must be between 10GB and 10000GB.","status":400}
To Reproduce
Steps to reproduce the behavior:
- Create a PVC of volume 8Gb
- See error
Expected behavior
The PVC volume claim should either fix the volume to 10Gb or should create volume as per the claim.
ddymko commented
@suhaibaffan Vultr doesn't support block storage sizes less than 10 Gb (NVMe) and less than 40 Gb (HDD)
https://github.com/vultr/vultr-csi/tree/master/docs/kubernetes#nvme-block-type
https://github.com/vultr/vultr-csi/tree/master/docs/kubernetes#hdd-block-type
cc @optik-aper
optik-aper commented
Thanks for checking this @ddymko