openebs-archive / device-localpv

CSI Driver for using Local Block Devices
Apache License 2.0
26 stars 17 forks source link

Fix Error Handling On Creation Failure #51

Closed vakul-gupta-flp closed 2 years ago

vakul-gupta-flp commented 2 years ago

Currently, If a node is selected for provisioning a volume and sufficient storage is not available on that node, we keep on trying to provision the volume on the same node, Instead of trying to reschedule PVC on another node In this change, we send an error message to the controller plugin when we have insufficient storage on the node, and the controller plugin reschedules the volume claim on some other node Fixes #30 Signed-off-by: Vakul Gupta vakul.gupta@flipkart.com