Files
kubernetes/pkg
Kubernetes Submit Queue e99ec24595 Merge pull request #60440 from andrewsykim/andrewsykim/fix-char-device-mount-bug
Automatic merge from submit-queue (batch tested with PRs 60433, 59982, 59128, 60243, 60440). 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>.

kubelet: fix bug where character device is not recognized

**What this PR does / why we need it**:
Fixes a bug where character devices are not recognized by the kubelet because we return `FileTypeBlockDev` instead of `FileTypeCharDev`.

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

**Special notes for your reviewer**:
Kubelet event for bug: https://github.com/kubernetes/kubernetes/issues/5607#issuecomment-366366340
```
Warning		FailedMount		MountVolume.SetUp failed for volume "dev-fuse" : hostPath type check failed: /dev/fuse is not a character device
```

Commit where bug was introduced: 57ead4898b 
**Release note**:
```release-note
Fixes a bug where character devices are not recongized by the kubelet
```
2018-02-27 08:25:51 -08:00
..
2018-02-23 16:50:43 -05:00
2018-02-16 13:43:01 -08:00
2018-02-26 17:16:14 -08:00
2018-02-27 20:23:35 +08:00
2018-02-27 20:23:36 +08:00
2018-02-16 13:43:01 -08:00
2018-02-26 17:16:14 -08:00
2018-02-26 17:16:14 -08:00
2018-02-12 10:54:33 -05:00
2018-02-26 17:16:14 -08:00
2018-02-16 13:43:01 -08:00
2018-02-27 20:23:36 +08:00
2018-01-15 23:17:19 +08:00
2018-02-21 13:08:11 +01:00