You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
saikat-royc
changed the title
CreateVolume should wait for Disk to reach READY status before returning success
PD CSI Driver CreateVolume should wait for Disk to reach READY status before returning success
Jun 11, 2020
For CreateVolume,
if an existing disk is found a success is directly returned without checking ready status:
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-pd-csi-driver/controller.go#L140
Similarly at the end of the operation we should check for ready status.
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-cloud-provider/compute/gce-compute.go#L304
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-cloud-provider/compute/gce-compute.go#L323
The text was updated successfully, but these errors were encountered: