diff --git a/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go b/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go index 01674464298..d06a5f2cf58 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go +++ b/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go @@ -225,8 +225,7 @@ const ( createTagFactor = 2.0 createTagSteps = 9 - // volumeCreate* is configuration of exponential backoff for created volume to check - // it has not been silently removed by AWS. + // volumeCreate* is configuration of exponential backoff for created volume. // On a random AWS account (shared among several developers) it took 4s on // average, 8s max. volumeCreateInitialDelay = 5 * time.Second @@ -2420,6 +2419,7 @@ func (c *Cloud) waitUntilVolumeAvailable(volumeName KubernetesVolumeID) error { // Unreachable code return err } + time.Sleep(5 * time.Second) backoff := wait.Backoff{ Duration: volumeCreateInitialDelay, Factor: volumeCreateBackoffFactor,