There are two race conditions in dynamic provisioner that can have these results: * two (or more) PersistentVolumes are created for a single claim, each with its own AWS EBS, GCE PD or Cinder volume. * one PersistentVolumes is correctly created for a single claim, but several AWS EBS, GCE PD or Cinder volumes are created in the cloud. In both cases, too many volumes in the cloud are created and they are not deleted when the claim is removed by the user. Version-Release number of selected component (if applicable): 3.1 How reproducible: <10% Steps to reproduce: https://trello.com/c/Mol8D2Gb/79-dynamic-provisioner-sometimes-creates-two-volumes-for-one-claim Kubernetes PRs: https://github.com/kubernetes/kubernetes/pull/19868 https://github.com/kubernetes/kubernetes/pull/20213
Filled OpenShift PRs: https://github.com/openshift/origin/pull/7260 https://github.com/openshift/origin/pull/7258
Merged to OpenShift.
Test is passed on oc v1.1.3-282-gc423082 kubernetes v1.2.0-alpha.7-703-gbc4550d