{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61716","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61716/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61716/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61716/events","html_url":"https://github.com/kubernetes/kubernetes/issues/61716","id":308581400,"number":61716,"title":"Pods stuck in terminating state on Windows nodes","user":{"login":"andreyshamray","id":32450129,"avatar_url":"https://avatars2.githubusercontent.com/u/32450129?v=4","gravatar_id":"","url":"https://api.github.com/users/andreyshamray","html_url":"https://github.com/andreyshamray","followers_url":"https://api.github.com/users/andreyshamray/followers","following_url":"https://api.github.com/users/andreyshamray/following{/other_user}","gists_url":"https://api.github.com/users/andreyshamray/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyshamray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyshamray/subscriptions","organizations_url":"https://api.github.com/users/andreyshamray/orgs","repos_url":"https://api.github.com/users/andreyshamray/repos","events_url":"https://api.github.com/users/andreyshamray/events{/privacy}","received_events_url":"https://api.github.com/users/andreyshamray/received_events","type":"User","site_admin":false},"labels":[{"id":422106010,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/windows","name":"sig/windows","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-26T13:52:10Z","updated_at":"2018-03-29T12:28:45Z","closed_at":null,"author_association":"NONE","body":"<!-- This form is for bug reports and feature requests ONLY! \r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n\r\n>\r\n /kind bug\r\n\r\n\r\n\r\n**What happened**:\r\nPods stuck in terminating state on Windows node after deleting it\r\n\r\n**What you expected to happen**:\r\nPods get terminated and should disappear from kubectl\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nRun a pod with windows container\r\nDelete it\r\nPods are still terminating\r\n\r\n**Anything else we need to know?**:\r\nCould you pls help to resolve this issue. K8s pods stuck as Terminating after getting deleted on windows node with windows container(IIS). Docker ps -a not showing this container, so it is completely deleted, but in kubectl it is marked as Terminating.  For networking we using OVN.\r\nkubectl logs:\r\n```\r\n$kubectl logs windows-IIS-container1 \r\nfailed to get container status {\"\" \"\"}: rpc error: code = OutOfRange desc = EOF\r\n\r\n```\r\nkubelet logs:\r\n\r\n```\r\nLine 11214: W0323 15:19:52.550689    1592 docker_sandbox.go:340] failed to read pod IP from plugin/docker: Couldn't find network status for default/windows-IIS-container1 through plugin: invalid network status for\r\n\tLine 11258: E0323 15:21:54.711806    1592 kubelet.go:1629] Unable to mount volumes for pod \"windows-IIS-container1_default(57827f1c-2ea4-11e8-b7b6-00155d00680b)\": timeout expired waiting for volumes to attach/mount for pod \"default\"/\"windows-IIS-container1\". list of unattached/unmounted volumes=[default-token-mpzlg]; skipping pod\r\n\tLine 11258: E0323 15:21:54.711806    1592 kubelet.go:1629] Unable to mount volumes for pod \"windows-IIS-container1_default(57827f1c-2ea4-11e8-b7b6-00155d00680b)\": timeout expired waiting for volumes to attach/mount for pod \"default\"/\"windows-IIS-container1\". list of unattached/unmounted volumes=[default-token-mpzlg]; skipping pod\r\n\tLine 11259: E0323 15:21:54.711806    1592 pod_workers.go:186] Error syncing pod 57827f1c-2ea4-11e8-b7b6-00155d00680b (\"windows-IIS-container1_default(57827f1c-2ea4-11e8-b7b6-00155d00680b)\"), skipping: timeout expired waiting for volumes to attach/mount for pod \"default\"/\"windows-IIS-container1\". list of unattached/unmounted volumes=[default-token-mpzlg]\r\n\t\r\n```\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`):\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.2\", GitCommit:\"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b\", GitTreeState:\"clean\", BuildDate:\"2018-01-18T21:11:08Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.4\", GitCommit:\"bee2d1505c4fe820744d26d41ecd3fdd4a3d6546\", GitTreeState:\"clean\", BuildDate:\"2018-03-12T16:21:35Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\n\r\n```\r\n- Cloud provider or hardware configuration:\r\nHyper-V VMs\r\n\r\n- OS (e.g. from /etc/os-release):\r\nWindows Node:\r\n```\r\nMajor  Minor  Build  Revision\r\n-----  -----  -----  --------\r\n10     0      14393  0\r\n\r\n```\r\nMaster Node:\r\nNAME=\"Ubuntu\"\r\nVERSION=\"16.04.4 LTS (Xenial Xerus)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 16.04.4 LTS\"\r\nVERSION_ID=\"16.04\"\r\nHOME_URL=\"http://www.ubuntu.com/\"\r\nSUPPORT_URL=\"http://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\"\r\nVERSION_CODENAME=xenial\r\nUBUNTU_CODENAME=xenial\r\n\r\n- Kernel (e.g. `uname -a`):\r\nLinux esd-kbrnts-lnx-1 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n- Install tools:\r\nOVN 2.7 on windows \r\nOVN 2.7.2 on linux\r\n\r\n- Others:\r\nDocker Version on Windows node:\r\nServer Version: 17.06.2-ee-6\r\n\r\n@kubernetes/sig-windows-bugs @kubernetes/sig-scheduling\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/377219588","html_url":"https://github.com/kubernetes/kubernetes/issues/61716#issuecomment-377219588","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61716","id":377219588,"user":{"login":"andreyshamray","id":32450129,"avatar_url":"https://avatars2.githubusercontent.com/u/32450129?v=4","gravatar_id":"","url":"https://api.github.com/users/andreyshamray","html_url":"https://github.com/andreyshamray","followers_url":"https://api.github.com/users/andreyshamray/followers","following_url":"https://api.github.com/users/andreyshamray/following{/other_user}","gists_url":"https://api.github.com/users/andreyshamray/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyshamray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyshamray/subscriptions","organizations_url":"https://api.github.com/users/andreyshamray/orgs","repos_url":"https://api.github.com/users/andreyshamray/repos","events_url":"https://api.github.com/users/andreyshamray/events{/privacy}","received_events_url":"https://api.github.com/users/andreyshamray/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T12:28:45Z","updated_at":"2018-03-29T12:28:45Z","author_association":"NONE","body":"It is clear, so how we can resolve this error: `docker_sandbox.go:340] failed to read pod IP from plugin/docker: Couldn't find network status for default/name-of-container through plugin: invalid network status for` ? I think this is the core item of our issue. \r\nThanks.\r\n\r\n"}}
{"actor":{"display_login":"andreyshamray"}}