k3s/pkg/volume/cinder
Kubernetes Submit Queue df053ae34a
Merge pull request #55944 from edisonxiang/probeimprovecinder
Automatic merge from submit-queue (batch tested with PRs 55925, 55999, 55944, 55992, 56196). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

probeAttachedVolume improvement in Cinder

What this PR does / why we need it:

During OpenStack Cinder volume attachment, kubelet creates too many udev "change" events.
If volume attachement takes long, then udev event queue gets full,therefore
udev does not answer requests from docker, and makes Kubernetes node unhealthy.

This patch will extend the udevadm trigger period,
and use the udevadm settle to ensure that any device nodes
have been created successfully before proceeding.

Fixes #55007

Release note:

```release-note
None
```

/cc @dims @kabakaev
2017-12-14 04:32:16 -08:00
..
BUILD implement cinder resize 2017-11-21 15:55:49 +08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
attacher.go fix typos in this file 2017-11-23 10:19:27 +08:00
attacher_test.go implement cinder resize 2017-11-21 15:55:49 +08:00
cinder.go implement cinder resize 2017-11-21 15:55:49 +08:00
cinder_test.go fix incorrect log 2017-10-26 01:40:24 +08:00
cinder_util.go Using exponential backoff instead of linear 2017-11-21 19:23:42 +08:00
doc.go