{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61058","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61058/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61058/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61058/events","html_url":"https://github.com/kubernetes/kubernetes/issues/61058","id":304509788,"number":61058,"title":"HostPath mounts failing with \"Path is not a shared or slave mount\"","user":{"login":"andrewsykim","id":12699319,"avatar_url":"https://avatars0.githubusercontent.com/u/12699319?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewsykim","html_url":"https://github.com/andrewsykim","followers_url":"https://api.github.com/users/andrewsykim/followers","following_url":"https://api.github.com/users/andrewsykim/following{/other_user}","gists_url":"https://api.github.com/users/andrewsykim/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewsykim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewsykim/subscriptions","organizations_url":"https://api.github.com/users/andrewsykim/orgs","repos_url":"https://api.github.com/users/andrewsykim/repos","events_url":"https://api.github.com/users/andrewsykim/events{/privacy}","received_events_url":"https://api.github.com/users/andrewsykim/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":173493665,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/node","name":"sig/node","color":"d2b48c","default":false},{"id":169428334,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/storage","name":"sig/storage","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-03-12T19:31:03Z","updated_at":"2018-04-25T09:30:16Z","closed_at":null,"author_association":"MEMBER","body":"**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n/kind bug\r\n\r\n**What happened**:\r\nAfter upgrading from v1.9.2 -> v1.10.0-beta.2, containers using hostpath mounts are failing with:\r\n```\r\n        exitCode: 128\r\n        finishedAt: 2018-03-12T19:25:03Z\r\n        message: 'linux mounts: Path /opt/kubelet/dev is mounted on / but it is not\r\n          a shared or slave mount.'\r\n        reason: ContainerCannotRun\r\n        startedAt: 2018-03-12T19:25:03Z\r\n```\r\n\r\nThe message `linux mounts: Path /opt/kubelet/dev is mounted on / but it is not a shared or slave mount` seems like it's from the docker daemon, but the docker daemon was not updated during the upgrade so I had assumed a behaviour in the kubelet had changed that would cause this. \r\n\r\n**What you expected to happen**:\r\nPod should be running as usual, but it fails with `RunContainerError`. \r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nRun Kubernetes cluster using host path mount. \r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`):\r\n```\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.0\", GitCommit:\"925c127ec6b946659ad0fd596fa959be43f0cc05\", GitTreeState:\"clean\", BuildDate:\"2017-12-15T21:07:38Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10+\", GitVersion:\"v1.10.0-beta.2\", GitCommit:\"63dad40a0391b7af32c34fdbf41fa199c3b247ad\", GitTreeState:\"clean\", BuildDate:\"2018-03-07T20:30:35Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release): Ubuntu\r\n- Kernel (e.g. `uname -a`): \r\n- Install tools:\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/384223661","html_url":"https://github.com/kubernetes/kubernetes/issues/61058#issuecomment-384223661","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61058","id":384223661,"user":{"login":"fabiand","id":83456,"avatar_url":"https://avatars1.githubusercontent.com/u/83456?v=4","gravatar_id":"","url":"https://api.github.com/users/fabiand","html_url":"https://github.com/fabiand","followers_url":"https://api.github.com/users/fabiand/followers","following_url":"https://api.github.com/users/fabiand/following{/other_user}","gists_url":"https://api.github.com/users/fabiand/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiand/subscriptions","organizations_url":"https://api.github.com/users/fabiand/orgs","repos_url":"https://api.github.com/users/fabiand/repos","events_url":"https://api.github.com/users/fabiand/events{/privacy}","received_events_url":"https://api.github.com/users/fabiand/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T09:30:16Z","updated_at":"2018-04-25T09:30:16Z","author_association":"CONTRIBUTOR","body":"Can this be fixed on the Kubernetes side? Or will it always require a manual workaround?"}}
{"actor":{"display_login":"fabiand"}}