{"action":"closed","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/6954","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/6954/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/6954/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/6954/events","html_url":"https://github.com/rancher/rancher/issues/6954","id":193816005,"number":6954,"title":"Failed to setup network for pod: No IP address found","user":{"login":"MinaDesu","id":14047116,"avatar_url":"https://avatars.githubusercontent.com/u/14047116?v=3","gravatar_id":"","url":"https://api.github.com/users/MinaDesu","html_url":"https://github.com/MinaDesu","followers_url":"https://api.github.com/users/MinaDesu/followers","following_url":"https://api.github.com/users/MinaDesu/following{/other_user}","gists_url":"https://api.github.com/users/MinaDesu/gists{/gist_id}","starred_url":"https://api.github.com/users/MinaDesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinaDesu/subscriptions","organizations_url":"https://api.github.com/users/MinaDesu/orgs","repos_url":"https://api.github.com/users/MinaDesu/repos","events_url":"https://api.github.com/users/MinaDesu/events{/privacy}","received_events_url":"https://api.github.com/users/MinaDesu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-06T16:20:00Z","updated_at":"2016-12-06T16:57:11Z","closed_at":"2016-12-06T16:57:11Z","body":"**Rancher Version:**\r\nrancher/server: v1.2\r\nrancher/agent: v1.1.0\r\n\r\n**Docker Version:**\r\nDocker version 1.11.2, build bac3bae\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\nCoreOS 1185.3.0 (with KVM) (4.7.3) on DigitalOcean\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\nSingle node rancher server\r\n3 agent nodes (one being on the same server than the server)\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\nKubernetes\r\n\r\n**Steps to Reproduce:**\r\n1. Create the replication controller:\r\napiVersion: v1\r\nkind: ReplicationController\r\nmetadata:\r\n  name: default-http-backend\r\nspec:\r\n  replicas: 1\r\n  selector:\r\n    app: default-http-backend\r\n  template:\r\n    metadata:\r\n      labels:\r\n        app: default-http-backend\r\n    spec:\r\n      terminationGracePeriodSeconds: 60\r\n      containers:\r\n      - name: default-http-backend\r\n        image: gcr.io/google_containers/defaultbackend:1.0\r\n        livenessProbe:\r\n          httpGet:\r\n            path: /healthz\r\n            port: 8080\r\n            scheme: HTTP\r\n          initialDelaySeconds: 30\r\n          timeoutSeconds: 5\r\n        ports:\r\n        - containerPort: 8080\r\n\r\n2. Get the status:\r\n\r\n$ kubectl get pods\r\nNAME                                   READY     STATUS              RESTARTS   AGE\r\ndefault-http-backend-0yy8y             0/1       ContainerCreating   0          6m\r\n.... 8< SNIP >8 ....\r\n\r\n$ kubectl describe pod default-http-backend-0yy8y\r\nName:           default-http-backend-0yy8y\r\nNamespace:      default\r\nNode:           catwoman/138.197.2.76\r\nStart Time:     Tue, 06 Dec 2016 11:12:05 -0500\r\nLabels:         app=default-http-backend\r\nStatus:         Pending\r\nIP:\r\nControllers:    ReplicationController/default-http-backend\r\nContainers:\r\n  default-http-backend:\r\n    Container ID:\r\n    Image:              gcr.io/google_containers/defaultbackend:1.0\r\n    Image ID:\r\n    Port:               8080/TCP\r\n    State:              Waiting\r\n      Reason:           ContainerCreating\r\n    Ready:              False\r\n    Restart Count:      0\r\n    Liveness:           http-get http://:8080/healthz delay=30s timeout=5s period=10s #success=1 #failure=3\r\n    Volume Mounts:\r\n      /var/run/secrets/kubernetes.io/serviceaccount from default-token-kzefl (ro)\r\n    Environment Variables:      <none>\r\nConditions:\r\n  Type          Status\r\n  Initialized   True\r\n  Ready         False\r\n  PodScheduled  True\r\nVolumes:\r\n  default-token-kzefl:\r\n    Type:       Secret (a volume populated by a Secret)\r\n    SecretName: default-token-kzefl\r\nQoS Class:      BestEffort\r\nTolerations:    <none>\r\nEvents:\r\n  FirstSeen     LastSeen        Count   From                    SubobjectPath   Type            Reason          Message\r\n  ---------     --------        -----   ----                    -------------   --------        ------          -------\r\n  6m            6m              1       {default-scheduler }                    Normal          Scheduled       Successfully assigned default-http-backend-0yy8y to catwoman\r\n  4m            38s             3       {kubelet catwoman}                      Warning         FailedSync      Error syncing pod, skipping: failed to \"SetupNetwork\" for \"default-http-backend-0yy8y_default\" with SetupNetworkError: \"Failed to setup network for pod \\\"default-http-backend-0yy8y_default(ba961a10-bbce-11e6-9723-9690e6282b4d)\\\" using network plugins \\\"cni\\\": No IP address found; Skipping pod\"\r\n\r\n**Results:** \r\n\r\nFailed to setup network for pod: No IP address found; Skipping pod\r\n\r\n**Expected:**\r\n\r\nPod creation successful"}}
{"actor":{"display_login":"MinaDesu"}}