{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37698","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37698/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37698/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37698/events","html_url":"https://github.com/kubernetes/kubernetes/pull/37698","id":192617338,"number":37698,"title":"WIP: Make kubelet never delete files on mounted filesystems","user":{"login":"jsafrane","id":1745006,"avatar_url":"https://avatars.githubusercontent.com/u/1745006?v=3","gravatar_id":"","url":"https://api.github.com/users/jsafrane","html_url":"https://github.com/jsafrane","followers_url":"https://api.github.com/users/jsafrane/followers","following_url":"https://api.github.com/users/jsafrane/following{/other_user}","gists_url":"https://api.github.com/users/jsafrane/gists{/gist_id}","starred_url":"https://api.github.com/users/jsafrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsafrane/subscriptions","organizations_url":"https://api.github.com/users/jsafrane/orgs","repos_url":"https://api.github.com/users/jsafrane/repos","events_url":"https://api.github.com/users/jsafrane/events{/privacy}","received_events_url":"https://api.github.com/users/jsafrane/received_events","type":"User","site_admin":false},"labels":[{"id":169428334,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/storage","name":"area/storage","color":"006b75","default":false},{"id":477397086,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":335674843,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/do-not-merge","name":"do-not-merge","color":"e11d21","default":false},{"id":349530249,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T16:45:12Z","updated_at":"2016-11-30T16:45:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37698","html_url":"https://github.com/kubernetes/kubernetes/pull/37698","diff_url":"https://github.com/kubernetes/kubernetes/pull/37698.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/37698.patch"},"body":"With bug #27653, kubelet could remove mounted volumes and delete user data.\r\nThe bug itself is fixed, however our trust in kubelet is significantly lower.\r\nLet's add an extra version of RemoveAll that does not cross mount boundary\r\n(rm -rf --one-file-system).\r\n\r\nIt calls lstat(path) three times for each removed directory - once in\r\nRemoveAllOneFilesystem and twice in IsLikelyNotMountPoint, however this way\r\nit's platform independent and the directory that is being removed by kubelet\r\nshould be almost empty."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/263925605","html_url":"https://github.com/kubernetes/kubernetes/pull/37698#issuecomment-263925605","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37698","id":263925605,"user":{"login":"k8s-oncall","id":13734568,"avatar_url":"https://avatars.githubusercontent.com/u/13734568?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-oncall","html_url":"https://github.com/k8s-oncall","followers_url":"https://api.github.com/users/k8s-oncall/followers","following_url":"https://api.github.com/users/k8s-oncall/following{/other_user}","gists_url":"https://api.github.com/users/k8s-oncall/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-oncall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-oncall/subscriptions","organizations_url":"https://api.github.com/users/k8s-oncall/orgs","repos_url":"https://api.github.com/users/k8s-oncall/repos","events_url":"https://api.github.com/users/k8s-oncall/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-oncall/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T16:45:22Z","updated_at":"2016-11-30T16:45:22Z","body":"\n\n<!-- Reviewable:start -->\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.png\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/37698)\n<!-- Reviewable:end -->\n"}}
{"actor":{"display_login":"k8s-oncall"}}