kubernetes/pkg
Kubernetes Submit Queue e3969fed1d
Merge pull request #67825 from nikopen/master
Automatic merge from submit-queue (batch tested with PRs 67745, 67432, 67569, 67825, 67943). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Fix VMWare VM freezing bug by reverting #51066

**What this PR does / why we need it**: kube-controller-manager, VSphere specific: When the controller tries to attach a Volume to Node A that is already attached to Node B, Node A freezes until the volume is attached.  Kubernetes continues to try to attach the volume as it thinks that it's 'multi-attachable' when it's not. #51066 is the culprit.


**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/vmware/kubernetes/issues/500 / https://github.com/vmware/kubernetes/issues/502 (same issue)

**Special notes for your reviewer**:

- Repro:

Vsphere installation, any k8s version from 1.8 and above, pod with attached PV/PVC/VMDK:

1. cordon the node which the pod is in
2. `kubectl delete po/[pod] --force --grace-period=0`
3. the pod is immediately rescheduled to a new node. Grab the new node from a `kubectl describe [pod]` and attempt to Ping it or SSH into it.
4. you can see that pings/ssh fail to reach the new node. `kubectl get node` shows it as 'NotReady'. New node is frozen until the volume is attached - usually 1 minute freeze for 1 volume in a low-load cluster, and many minutes more with higher loads and more volumes involved.

- Patch verification:

Tested a custom patched 1.9.10 kube-controller-manager with #51066 reverted and the above bug is resolved - can't repro it anymore. New node doesn't freeze at all, and attaching happens quite quickly, in a few seconds.


**Release note**:

``` 
Fix VSphere VM Freezing bug by reverting #51066 

```
2018-08-29 15:19:41 -07:00
..
api Address @thockin feedback 2018-08-23 13:14:49 -07:00
apis Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
auth Improve multi-authorizer errors 2018-07-06 10:55:17 -04:00
capabilities Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Deprecate ListWatchUntil, fix it and call places 2018-08-15 13:34:31 +02:00
cloudprovider remove : 2018-08-29 14:28:07 +03:00
controller Merge pull request #67825 from nikopen/master 2018-08-29 15:19:41 -07:00
credentialprovider Merge pull request #65043 from brendandburns/todo4 2018-08-26 14:07:04 -07:00
features Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
fieldpath fieldpath: Add tests for missing cases 2018-07-12 10:26:18 +02:00
generated Merge pull request #67688 from Lion-Wei/kube-proxy-config 2018-08-27 22:18:18 -07:00
kubeapiserver Merge pull request #67497 from yue9944882/refactor/externalize-node-informer-clientset 2018-08-21 13:00:01 -07:00
kubectl Merge pull request #66719 from hanxiaoshuai/fix0727 2018-08-28 10:02:05 -07:00
kubelet Merge pull request #67369 from tianshapjq/should-not-eventf-directly 2018-08-28 16:18:13 -07:00
kubemark Changes according to the approved KEP. SCTP is supported for HostPort and LoadBalancer. Alpha feature flag SCTPSupport controls the support of SCTP. Kube-proxy config parameter is removed. 2018-08-27 05:58:36 +00:00
master Merge pull request #64973 from nokia/k8s-sctp 2018-08-28 07:21:18 -07:00
printers describe allowedTopologies 2018-08-29 10:30:16 +08:00
probe Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
proxy Merge pull request #64973 from nokia/k8s-sctp 2018-08-28 07:21:18 -07:00
quota Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
registry Merge pull request #67038 from jennybuckley/dry-run-services 2018-08-27 16:27:06 -07:00
routes Remove /ui/ redirect 2018-02-12 10:54:33 -05:00
scheduler Merge pull request #67642 from tizhou86/newUnitTest7 2018-08-27 06:14:14 -07:00
security Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00
securitycontext Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
serviceaccount Merge pull request #62420 from mikedanese/jose-bump 2018-08-23 15:39:59 -07:00
ssh Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util gofmt update 2018-08-27 05:59:50 +00:00
version Set gazelle:importmap_prefix for everything under staging/src 2018-06-22 16:22:57 -07:00
volume Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
watch/json Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
windows/service Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
.import-restrictions Add import-boss directives 2017-10-13 07:06:22 -04:00
BUILD util for external pv 2018-08-17 11:14:42 +08:00
OWNERS