{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27198","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27198/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27198/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27198/events","html_url":"https://github.com/kubernetes/kubernetes/issues/27198","id":159717864,"number":27198,"title":"Deleted PVC w/ running Pod prevents new pods from being scheduled to a node","user":{"login":"markturansky","id":8001968,"avatar_url":"https://avatars.githubusercontent.com/u/8001968?v=3","gravatar_id":"","url":"https://api.github.com/users/markturansky","html_url":"https://github.com/markturansky","followers_url":"https://api.github.com/users/markturansky/followers","following_url":"https://api.github.com/users/markturansky/following{/other_user}","gists_url":"https://api.github.com/users/markturansky/gists{/gist_id}","starred_url":"https://api.github.com/users/markturansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markturansky/subscriptions","organizations_url":"https://api.github.com/users/markturansky/orgs","repos_url":"https://api.github.com/users/markturansky/repos","events_url":"https://api.github.com/users/markturansky/events{/privacy}","received_events_url":"https://api.github.com/users/markturansky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/storage","name":"area/storage","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/control-plane","name":"team/control-plane","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"childsb","id":722782,"avatar_url":"https://avatars.githubusercontent.com/u/722782?v=3","gravatar_id":"","url":"https://api.github.com/users/childsb","html_url":"https://github.com/childsb","followers_url":"https://api.github.com/users/childsb/followers","following_url":"https://api.github.com/users/childsb/following{/other_user}","gists_url":"https://api.github.com/users/childsb/gists{/gist_id}","starred_url":"https://api.github.com/users/childsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/childsb/subscriptions","organizations_url":"https://api.github.com/users/childsb/orgs","repos_url":"https://api.github.com/users/childsb/repos","events_url":"https://api.github.com/users/childsb/events{/privacy}","received_events_url":"https://api.github.com/users/childsb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/18","html_url":"https://github.com/kubernetes/kubernetes/milestones/v1.3","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/18/labels","id":1638460,"number":18,"title":"v1.3","description":"https://github.com/kubernetes/kubernetes/wiki/Release-1.3","creator":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"open_issues":190,"closed_issues":606,"state":"open","created_at":"2016-03-11T07:40:20Z","updated_at":"2016-06-11T01:18:47Z","due_on":"2016-06-24T07:00:00Z","closed_at":null},"comments":13,"created_at":"2016-06-10T20:37:57Z","updated_at":"2016-06-11T01:34:07Z","closed_at":null,"body":"The scheduler knows which pods are on which nodes. It figures out all volumes on a node by the sum of its pods.  It does this to enforce constraints in a cloud environment.\r\n\r\nIt is possible to delete a PVC while a pod is still running.  The pod will continue to function, the PV remains attached to a node.  \r\n\r\nWhen the scheduler attempts to place new pods on the node, it looks up all its existing PVs and their backing PVCs , except the PVC has been deleted, an error is thrown, and the scheduler fails.\r\n\r\nhttps://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/algorithm/predicates/predicates.go#L157\r\n\r\nThe user gets an ugly error message about a namespace they don't own. Their pod won't run and the error message is confusing.\r\n\r\n@kubernetes/rh-storage @kubernetes/sig-storage \r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/225329390","html_url":"https://github.com/kubernetes/kubernetes/issues/27198#issuecomment-225329390","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27198","id":225329390,"user":{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T01:34:07Z","updated_at":"2016-06-11T01:34:07Z","body":"cc/ @matchstick "}}
{"actor":{"display_login":"dchen1107"}}