k3s/pkg
Kubernetes Submit Queue db53e80445 Merge pull request #39732 from tsmetana/issue_34242
Automatic merge from submit-queue (batch tested with PRs 44722, 44704, 44681, 44494, 39732)

Fix issue #34242: Attach/detach should recover from a crash

When the attach/detach controller crashes and a pod with attached PV is deleted afterwards the controller will never detach the pod's attached volumes. To prevent this the controller should try to recover the state from the nodes status and figure out which volumes to detach. This requires some changes in the volume providers too: the only information available from the nodes is the volume name and the device path. The controller needs to find the correct volume plugin and reconstruct the volume spec just from the name. This required a small change also in the volume plugin interface.

Fixes Issue #34242.
cc: @jsafrane @jingxu97
2017-04-20 16:01:04 -07:00
..
api Merge pull request #44578 from MrHohn/ESIPP-GA-1.7 2017-04-17 22:37:08 -07:00
apimachinery/tests autogenerated 2017-04-14 10:40:57 -07:00
apis Merge pull request #44651 from knightXun/string 2017-04-20 14:08:59 -07:00
auth autogenerated 2017-04-14 10:40:57 -07:00
bootstrap/api autogenerated 2017-04-14 10:40:57 -07:00
capabilities
client Job: Update Lister documentation for ControllerRef. 2017-04-19 14:03:36 -07:00
cloudprovider Merge pull request #44651 from knightXun/string 2017-04-20 14:08:59 -07:00
controller Merge pull request #39732 from tsmetana/issue_34242 2017-04-20 16:01:04 -07:00
conversion
credentialprovider autogenerated 2017-04-14 10:40:57 -07:00
features autogenerated 2017-04-14 10:40:57 -07:00
fieldpath autogenerated 2017-04-14 10:40:57 -07:00
fields
generated Merge pull request #44519 from thockin/remove-deprecated-public-ips 2017-04-17 12:11:00 -07:00
hyperkube
kubeapiserver autogenerated 2017-04-14 10:40:57 -07:00
kubectl Merge pull request #43171 from ravisantoshgudimetla/kubectl_taints_ux 2017-04-20 04:17:18 -07:00
kubelet Merge pull request #42033 from NickrenREN/dswp-findAndAddActivePods 2017-04-18 01:26:58 -07:00
kubemark autogenerated 2017-04-14 10:40:57 -07:00
labels
master autogenerated 2017-04-14 10:40:57 -07:00
metrics autogenerated 2017-04-14 10:40:57 -07:00
printers Merge pull request #44651 from knightXun/string 2017-04-20 14:08:59 -07:00
probe autogenerated 2017-04-14 10:40:57 -07:00
proxy Don't rebuild endpoints map in iptables kube-proxy all the time. 2017-04-20 08:34:46 +02:00
quota autogenerated 2017-04-14 10:40:57 -07:00
registry Merge pull request #42176 from enisoc/controller-ref-job 2017-04-20 12:57:06 -07:00
routes autogenerated 2017-04-14 10:40:57 -07:00
runtime
security autogenerated 2017-04-14 10:40:57 -07:00
securitycontext
serviceaccount autogenerated 2017-04-14 10:40:57 -07:00
ssh autogenerated 2017-04-14 10:40:57 -07:00
types
util Merge pull request #44222 from fabianofranz/better_generic_getters_and_describers 2017-04-18 17:41:59 -07:00
version autogenerated 2017-04-14 10:40:57 -07:00
volume Fix issue #34242: Attach/detach should recover from a crash 2017-04-20 13:04:50 +02:00
watch autogenerated 2017-04-14 10:40:57 -07:00
BUILD
OWNERS