{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67183","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67183/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67183/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67183/events","html_url":"https://github.com/kubernetes/kubernetes/issues/67183","id":349018747,"node_id":"MDU6SXNzdWUzNDkwMTg3NDc=","number":67183,"title":"cni0 interface has no IP address assigned","user":{"login":"tatsuhiro-t","id":404610,"node_id":"MDQ6VXNlcjQwNDYxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/404610?v=4","gravatar_id":"","url":"https://api.github.com/users/tatsuhiro-t","html_url":"https://github.com/tatsuhiro-t","followers_url":"https://api.github.com/users/tatsuhiro-t/followers","following_url":"https://api.github.com/users/tatsuhiro-t/following{/other_user}","gists_url":"https://api.github.com/users/tatsuhiro-t/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuhiro-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuhiro-t/subscriptions","organizations_url":"https://api.github.com/users/tatsuhiro-t/orgs","repos_url":"https://api.github.com/users/tatsuhiro-t/repos","events_url":"https://api.github.com/users/tatsuhiro-t/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuhiro-t/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":116712108,"node_id":"MDU6TGFiZWwxMTY3MTIxMDg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/network","name":"sig/network","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-09T07:59:29Z","updated_at":"2018-08-09T09:10:23Z","closed_at":null,"author_association":"CONTRIBUTOR","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\nIf the matter is security related, please disclose it privately via https://kubernetes.io/security/.\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line:\r\n>\r\n/kind bug\r\n> /kind feature\r\n\r\n\r\n**What happened**:\r\n\r\nWe use flannel CNI, and roughly 1 out of 10 times, cni0 interface has no IP address assigned.\r\nIf it happens, Pod cannot reach the external endpoints.  The error message from the affected Pod is something like \"no route to host.\"\r\nIt looks like CNI bridge plugin creates cni0 interface and assigns IP address to it.  If I understand correctly, it is called by kubelet (indirectly?).  There is no error message in kubelet about cni.\r\n\r\nIf I restart one of the Pod, cni0 gets IP address assigned.\r\n\r\n**What you expected to happen**:\r\n\r\ncni0 interface has IP address assigned.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\nIt happens in our e2e test infrastructure.  Basically it just creates bunch of master and worker nodes, and this issue arises roughly 1 out of 10.\r\n\r\nHere is the cni configuration file:\r\n\r\n```json\r\n{                                                                                                                                                                                                                                      \r\n    \"name\": \"podnet\",                                                                                                                                                                                                                  \r\n    \"type\": \"flannel\",                                                                                                                                                                                                                 \r\n    \"delegate\": {                                                                                                                                                                                                                      \r\n        \"isDefaultGateway\": true                                                                                                                                                                                                       \r\n    }                                                                                                                                                                                                                                  \r\n}                                                                                                                                                                                                                                      \r\n```\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): k8s v1.9.7 and v1.10.2\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release): coreos 1745.4.0 stable\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/411691343","html_url":"https://github.com/kubernetes/kubernetes/issues/67183#issuecomment-411691343","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67183","id":411691343,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY5MTM0Mw==","user":{"login":"tanshanshan","id":22539261,"node_id":"MDQ6VXNlcjIyNTM5MjYx","avatar_url":"https://avatars0.githubusercontent.com/u/22539261?v=4","gravatar_id":"","url":"https://api.github.com/users/tanshanshan","html_url":"https://github.com/tanshanshan","followers_url":"https://api.github.com/users/tanshanshan/followers","following_url":"https://api.github.com/users/tanshanshan/following{/other_user}","gists_url":"https://api.github.com/users/tanshanshan/gists{/gist_id}","starred_url":"https://api.github.com/users/tanshanshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanshanshan/subscriptions","organizations_url":"https://api.github.com/users/tanshanshan/orgs","repos_url":"https://api.github.com/users/tanshanshan/repos","events_url":"https://api.github.com/users/tanshanshan/events{/privacy}","received_events_url":"https://api.github.com/users/tanshanshan/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T09:10:23Z","updated_at":"2018-08-09T09:10:23Z","author_association":"MEMBER","body":"set  \r\n\r\n> \"forceAddress\": false\r\n\r\nI am not sure"}}
{"actor":{"display_login":"tanshanshan"}}