{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rke/issues/936","repository_url":"https://api.github.com/repos/rancher/rke","labels_url":"https://api.github.com/repos/rancher/rke/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rke/issues/936/comments","events_url":"https://api.github.com/repos/rancher/rke/issues/936/events","html_url":"https://github.com/rancher/rke/issues/936","id":367002570,"node_id":"MDU6SXNzdWUzNjcwMDI1NzA=","number":936,"title":"Flannel doesn't work with k8s 1.12","user":{"login":"moelsayed","id":4588065,"node_id":"MDQ6VXNlcjQ1ODgwNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/4588065?v=4","gravatar_id":"","url":"https://api.github.com/users/moelsayed","html_url":"https://github.com/moelsayed","followers_url":"https://api.github.com/users/moelsayed/followers","following_url":"https://api.github.com/users/moelsayed/following{/other_user}","gists_url":"https://api.github.com/users/moelsayed/gists{/gist_id}","starred_url":"https://api.github.com/users/moelsayed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moelsayed/subscriptions","organizations_url":"https://api.github.com/users/moelsayed/orgs","repos_url":"https://api.github.com/users/moelsayed/repos","events_url":"https://api.github.com/users/moelsayed/events{/privacy}","received_events_url":"https://api.github.com/users/moelsayed/received_events","type":"User","site_admin":false},"labels":[{"id":731116543,"node_id":"MDU6TGFiZWw3MzExMTY1NDM=","url":"https://api.github.com/repos/rancher/rke/labels/kind/bug","name":"kind/bug","color":"ee0701","default":false},{"id":1048320237,"node_id":"MDU6TGFiZWwxMDQ4MzIwMjM3","url":"https://api.github.com/repos/rancher/rke/labels/status/has-dependency","name":"status/has-dependency","color":"eeeeee","default":false},{"id":731116547,"node_id":"MDU6TGFiZWw3MzExMTY1NDc=","url":"https://api.github.com/repos/rancher/rke/labels/status/resolved","name":"status/resolved","color":"7057ff","default":false},{"id":731116546,"node_id":"MDU6TGFiZWw3MzExMTY1NDY=","url":"https://api.github.com/repos/rancher/rke/labels/status/to-test","name":"status/to-test","color":"33aa3f","default":false}],"state":"open","locked":false,"assignee":{"login":"moelsayed","id":4588065,"node_id":"MDQ6VXNlcjQ1ODgwNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/4588065?v=4","gravatar_id":"","url":"https://api.github.com/users/moelsayed","html_url":"https://github.com/moelsayed","followers_url":"https://api.github.com/users/moelsayed/followers","following_url":"https://api.github.com/users/moelsayed/following{/other_user}","gists_url":"https://api.github.com/users/moelsayed/gists{/gist_id}","starred_url":"https://api.github.com/users/moelsayed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moelsayed/subscriptions","organizations_url":"https://api.github.com/users/moelsayed/orgs","repos_url":"https://api.github.com/users/moelsayed/repos","events_url":"https://api.github.com/users/moelsayed/events{/privacy}","received_events_url":"https://api.github.com/users/moelsayed/received_events","type":"User","site_admin":false},"assignees":[{"login":"moelsayed","id":4588065,"node_id":"MDQ6VXNlcjQ1ODgwNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/4588065?v=4","gravatar_id":"","url":"https://api.github.com/users/moelsayed","html_url":"https://github.com/moelsayed","followers_url":"https://api.github.com/users/moelsayed/followers","following_url":"https://api.github.com/users/moelsayed/following{/other_user}","gists_url":"https://api.github.com/users/moelsayed/gists{/gist_id}","starred_url":"https://api.github.com/users/moelsayed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moelsayed/subscriptions","organizations_url":"https://api.github.com/users/moelsayed/orgs","repos_url":"https://api.github.com/users/moelsayed/repos","events_url":"https://api.github.com/users/moelsayed/events{/privacy}","received_events_url":"https://api.github.com/users/moelsayed/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-04T23:05:54Z","updated_at":"2018-11-19T17:21:17Z","closed_at":null,"author_association":"MEMBER","body":"**RKE version:** master 4/10\r\n\r\nrelated: \r\nhttps://github.com/kubernetes/kubernetes/issues/69220\r\nhttps://github.com/coreos/flannel/issues/1044"},"comment":{"url":"https://api.github.com/repos/rancher/rke/issues/comments/439972912","html_url":"https://github.com/rancher/rke/issues/936#issuecomment-439972912","issue_url":"https://api.github.com/repos/rancher/rke/issues/936","id":439972912,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTk3MjkxMg==","user":{"login":"dannymk","id":131285,"node_id":"MDQ6VXNlcjEzMTI4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/131285?v=4","gravatar_id":"","url":"https://api.github.com/users/dannymk","html_url":"https://github.com/dannymk","followers_url":"https://api.github.com/users/dannymk/followers","following_url":"https://api.github.com/users/dannymk/following{/other_user}","gists_url":"https://api.github.com/users/dannymk/gists{/gist_id}","starred_url":"https://api.github.com/users/dannymk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannymk/subscriptions","organizations_url":"https://api.github.com/users/dannymk/orgs","repos_url":"https://api.github.com/users/dannymk/repos","events_url":"https://api.github.com/users/dannymk/events{/privacy}","received_events_url":"https://api.github.com/users/dannymk/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T17:21:17Z","updated_at":"2018-11-19T17:21:17Z","author_association":"NONE","body":"Just keeps on restarting:\r\n\r\n```\r\n...\r\nkube-flannel-ds-amd64-lcjx4                0/1     CrashLoopBackOff    3          2m34s\r\n...\r\n```\r\n\r\n\r\n```\r\n...\r\nControlled By:      DaemonSet/kube-flannel-ds-amd64\r\nInit Containers:\r\n  install-cni:\r\n    Container ID:  docker://7e3df53cbce010b381d911637f5a3cd95e7ac008a9237bb35d0a8a8529bdd22e\r\n    Image:         quay.io/coreos/flannel:v0.10.0-amd64\r\n    Image ID:      docker-pullable://quay.io/coreos/flannel@sha256:88f2b4d96fae34bfff3d46293f7f18d1f9f3ca026b4a4d288f28347fcb6580ac\r\n    Port:          <none>\r\n    Host Port:     <none>\r\n    Command:\r\n      cp\r\n    Args:\r\n      -f\r\n      /etc/kube-flannel/cni-conf.json\r\n      /etc/cni/net.d/10-flannel.conflist\r\n    State:          Terminated\r\n      Reason:       Completed\r\n      Exit Code:    0\r\n      Started:      Mon, 19 Nov 2018 17:12:31 +0000\r\n      Finished:     Mon, 19 Nov 2018 17:12:31 +0000\r\n    Ready:          True\r\n    Restart Count:  0\r\n    Environment:    <none>\r\n    Mounts:\r\n      /etc/cni/net.d from cni (rw)\r\n      /etc/kube-flannel/ from flannel-cfg (rw)\r\n      /var/run/secrets/kubernetes.io/serviceaccount from flannel-token-kkvw8 (ro)\r\nContainers:\r\n  kube-flannel:\r\n    Container ID:  docker://79a16d7d49d843e9f9894daa8eafc11092cb758c1a51198d4fc9bb014794854d\r\n    Image:         quay.io/coreos/flannel:v0.10.0-amd64\r\n    Image ID:      docker-pullable://quay.io/coreos/flannel@sha256:88f2b4d96fae34bfff3d46293f7f18d1f9f3ca026b4a4d288f28347fcb6580ac\r\n    Port:          <none>\r\n    Host Port:     <none>\r\n    Command:\r\n      /opt/bin/flanneld\r\n    Args:\r\n      --ip-masq\r\n      --kube-subnet-mgr\r\n    State:          Terminated\r\n      Reason:       Error\r\n      Exit Code:    1\r\n      Started:      Mon, 19 Nov 2018 17:16:28 +0000\r\n      Finished:     Mon, 19 Nov 2018 17:16:59 +0000\r\n    Last State:     Terminated\r\n      Reason:       Error\r\n      Exit Code:    1\r\n      Started:      Mon, 19 Nov 2018 17:15:03 +0000\r\n      Finished:     Mon, 19 Nov 2018 17:15:35 +0000\r\n    Ready:          False\r\n    Restart Count:  4\r\n    Limits:\r\n      cpu:     100m\r\n      memory:  50Mi\r\n    Requests:\r\n      cpu:     100m\r\n      memory:  50Mi\r\n    Environment:\r\n      POD_NAME:       kube-flannel-ds-amd64-lcjx4 (v1:metadata.name)\r\n      POD_NAMESPACE:  kube-system (v1:metadata.namespace)\r\n    Mounts:\r\n      /etc/kube-flannel/ from flannel-cfg (rw)\r\n      /run from run (rw)\r\n      /var/run/secrets/kubernetes.io/serviceaccount from flannel-token-kkvw8 (ro)\r\nConditions:\r\n  Type              Status\r\n  Initialized       True \r\n  Ready             False \r\n  ContainersReady   False \r\n  PodScheduled      True \r\nVolumes:\r\n  run:\r\n    Type:          HostPath (bare host directory volume)\r\n    Path:          /run\r\n    HostPathType:  \r\n  cni:\r\n    Type:          HostPath (bare host directory volume)\r\n    Path:          /etc/cni/net.d\r\n    HostPathType:  \r\n  flannel-cfg:\r\n    Type:      ConfigMap (a volume populated by a ConfigMap)\r\n    Name:      kube-flannel-cfg\r\n    Optional:  false\r\n  flannel-token-kkvw8:\r\n    Type:        Secret (a volume populated by a Secret)\r\n    SecretName:  flannel-token-kkvw8\r\n    Optional:    false\r\nQoS Class:       Guaranteed\r\nNode-Selectors:  beta.kubernetes.io/arch=amd64\r\nTolerations:     :NoSchedule\r\n                 node.kubernetes.io/disk-pressure:NoSchedule\r\n                 node.kubernetes.io/memory-pressure:NoSchedule\r\n                 node.kubernetes.io/network-unavailable:NoSchedule\r\n                 node.kubernetes.io/not-ready:NoExecute\r\n                 node.kubernetes.io/unreachable:NoExecute\r\n                 node.kubernetes.io/unschedulable:NoSchedule\r\nEvents:\r\n  Type     Reason     Age                  From                       Message\r\n  ----     ------     ----                 ----                       -------\r\n  Normal   Scheduled  4m40s                default-scheduler          Successfully assigned kube-system/kube-flannel-ds-amd64-lcjx4 to kube-apiserver-1\r\n  Normal   Pulled     4m37s                kubelet, kube-apiserver-1  Container image \"quay.io/coreos/flannel:v0.10.0-amd64\" already present on machine\r\n  Normal   Created    4m36s                kubelet, kube-apiserver-1  Created container\r\n  Normal   Started    4m34s                kubelet, kube-apiserver-1  Started container\r\n  Warning  BackOff    52s (x7 over 3m25s)  kubelet, kube-apiserver-1  Back-off restarting failed container\r\n  Normal   Pulled     40s (x5 over 4m33s)  kubelet, kube-apiserver-1  Container image \"quay.io/coreos/flannel:v0.10.0-amd64\" already present on machine\r\n  Normal   Created    39s (x5 over 4m32s)  kubelet, kube-apiserver-1  Created container\r\n  Normal   Started    38s (x5 over 4m31s)  kubelet, kube-apiserver-1  Started container\r\n...\r\n```\r\n\r\n```\r\n$:/usr/src# kubectl -n kube-system logs kube-flannel-ds-amd64-lcjx4\r\nI1119 17:18:27.509636       1 main.go:475] Determining IP address of default interface\r\nI1119 17:18:27.509956       1 main.go:488] Using interface with name ens3 and address 192.168.5.29\r\nI1119 17:18:27.509974       1 main.go:505] Defaulting external address to interface address (192.168.5.29)\r\nE1119 17:18:57.511530       1 main.go:232] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/kube-flannel-ds-amd64-lcjx4': Get https://10.96.0.1:443/api/v1/namespaces/kube-system/pods/kube-flannel-ds-amd64-lcjx4: dial tcp 10.96.0.1:443: i/o timeout\r\n\r\n```"}}
{"actor":{"display_login":"dannymk"}}