{"action":"created","issue":{"url":"https://api.github.com/repos/projectcalico/calico/issues/1013","repository_url":"https://api.github.com/repos/projectcalico/calico","labels_url":"https://api.github.com/repos/projectcalico/calico/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/projectcalico/calico/issues/1013/comments","events_url":"https://api.github.com/repos/projectcalico/calico/issues/1013/events","html_url":"https://github.com/projectcalico/calico/issues/1013","id":249200415,"node_id":"MDU6SXNzdWUyNDkyMDA0MTU=","number":1013,"title":"Calico doesn't start correctly on minikube","user":{"login":"ceridwen","id":8268008,"node_id":"MDQ6VXNlcjgyNjgwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/8268008?v=4","gravatar_id":"","url":"https://api.github.com/users/ceridwen","html_url":"https://github.com/ceridwen","followers_url":"https://api.github.com/users/ceridwen/followers","following_url":"https://api.github.com/users/ceridwen/following{/other_user}","gists_url":"https://api.github.com/users/ceridwen/gists{/gist_id}","starred_url":"https://api.github.com/users/ceridwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceridwen/subscriptions","organizations_url":"https://api.github.com/users/ceridwen/orgs","repos_url":"https://api.github.com/users/ceridwen/repos","events_url":"https://api.github.com/users/ceridwen/events{/privacy}","received_events_url":"https://api.github.com/users/ceridwen/received_events","type":"User","site_admin":false},"labels":[{"id":443863604,"node_id":"MDU6TGFiZWw0NDM4NjM2MDQ=","url":"https://api.github.com/repos/projectcalico/calico/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/projectcalico/calico/milestones/14","html_url":"https://github.com/projectcalico/calico/milestone/14","labels_url":"https://api.github.com/repos/projectcalico/calico/milestones/14/labels","id":2686370,"node_id":"MDk6TWlsZXN0b25lMjY4NjM3MA==","number":14,"title":"Calico v2.6.0","description":"Issues and PRs being considered for Calico v2.6.0","creator":{"login":"caseydavenport","id":1944093,"node_id":"MDQ6VXNlcjE5NDQwOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1944093?v=4","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":27,"state":"closed","created_at":"2017-08-07T18:55:27Z","updated_at":"2017-09-28T19:41:04Z","due_on":null,"closed_at":"2017-09-28T19:41:04Z"},"comments":28,"created_at":"2017-08-10T00:35:18Z","updated_at":"2018-06-13T16:53:53Z","closed_at":"2017-08-14T15:53:55Z","author_association":"NONE","body":"## Expected Behavior\r\n\r\nInstalling Calico on minikube should start both containers in the calico-node pod.\r\n\r\n## Current Behavior\r\n\r\nI recently upgraded minikube to 0.21, which means deleting the cluster and reinstalling it.  When I tried to reinstall Calico, the calico-node container in the calico node pod never comes up, and networking is broken.\r\n\r\nI'm running minikube with `minikube start --network-plugin=cni --host-only-cidr=192.168.0.0/16`, using virtualbox as the driver.\r\n\r\nThe logs for calico-node contain entries like:\r\n\r\n```\r\n2017-08-10 00:28:51.825 [PANIC][2269] ipsets.go 283: Failed to update IP sets after mutliple retries. family=\"inet\"\r\npanic: (*logrus.Entry) (0x16df120,0xc4204744b0)\r\ngithub.com/projectcalico/felix/vendor/github.com/sirupsen/logrus.(*Entry).Panic(0xc42041a870, 0xc4208d5ee0, 0x1, 0x1)\r\n```\r\n\r\n```\r\n2017-08-10 00:29:15.131 [WARNING][2972] ipsets.go 271: Failed to update IP sets. Marking dataplane for resync. error=exit status 1 family=\"inet\"\r\n2017-08-10 00:29:15.270 [WARNING][2972] ipsets.go 621: Failed to complete ipset restore, IP sets may be out-of-sync. closeErr=<nil> commitErr=<nil> family=\"inet\" flushErr=<nil> input=\"create cali4tall-hosts hash:ip family inet maxelem 1048576\\nadd cali4tall-hosts 10.1.0.1\\nswap cali4-all-hosts cali4tall-hosts\\ndestroy cali4tall-hosts\\ncreate cali4-all-ipam-pools hash:net family inet maxelem 1048576\\ncreate cali4tall-ipam-pools hash:net family inet maxelem 1048576\\nadd cali4tall-ipam-pools 192.168.0.0/16\\nswap cali4-all-ipam-pools cali4tall-ipam-pools\\ndestroy cali4tall-ipam-pools\\ncreate cali4-masq-ipam-pools hash:net family inet maxelem 1048576\\ncreate cali4tmasq-ipam-pools hash:net family inet maxelem 1048576\\nadd cali4tmasq-ipam-pools 192.168.0.0/16\\nswap cali4-masq-ipam-pools cali4tmasq-ipam-pools\\ndestroy cali4tmasq-ipam-pools\\nCOMMIT\\n\" processErr=exit status 1 stderr=\"ipset v6.32: Error in line 5: Kernel error received: set type not supported\\n\" stdout=\"\" writeErr=<nil>\r\n2017-08-10 00:29:15.270 [WARNING][2972] ipsets.go 271: Failed to update IP sets. Marking dataplane for resync. error=exit status 1 family=\"inet\"\r\n```\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\n1. Install minikube with homebrew (https://github.com/kubernetes/minikube).\r\n2. Install Virtualbox (https://www.virtualbox.org/wiki/Downloads).\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n3. Start minikube with `minikube start --network-plugin=cni --host-only-cidr=192.168.0.0/16`\r\n4. Install calico with `kubectl apply -f https://docs.projectcalico.org/v2.4/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.6/calico.yaml`\r\n\r\n## Context\r\n\r\nI'm trying to create a working development environment for testing network policy on my local machine so I don't have to depend on a remote cluster for doing development work.  I know this is beta software, but it *was* working so I suspect that a change in Calico or minikube is responsible.\r\n\r\n## Your Environment\r\n\r\nCalico: v2.4\r\nminikube:  v0.21.0, Kubernetes version 1.7.0\r\nOS: Mac OS X 10.12.6\r\n"},"comment":{"url":"https://api.github.com/repos/projectcalico/calico/issues/comments/397009544","html_url":"https://github.com/projectcalico/calico/issues/1013#issuecomment-397009544","issue_url":"https://api.github.com/repos/projectcalico/calico/issues/1013","id":397009544,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzAwOTU0NA==","user":{"login":"bcreane","id":12074410,"node_id":"MDQ6VXNlcjEyMDc0NDEw","avatar_url":"https://avatars3.githubusercontent.com/u/12074410?v=4","gravatar_id":"","url":"https://api.github.com/users/bcreane","html_url":"https://github.com/bcreane","followers_url":"https://api.github.com/users/bcreane/followers","following_url":"https://api.github.com/users/bcreane/following{/other_user}","gists_url":"https://api.github.com/users/bcreane/gists{/gist_id}","starred_url":"https://api.github.com/users/bcreane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcreane/subscriptions","organizations_url":"https://api.github.com/users/bcreane/orgs","repos_url":"https://api.github.com/users/bcreane/repos","events_url":"https://api.github.com/users/bcreane/events{/privacy}","received_events_url":"https://api.github.com/users/bcreane/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T16:53:53Z","updated_at":"2018-06-13T16:53:53Z","author_association":"MEMBER","body":"Quick testing indicates that only `--vm-driver=none` will work with Calico. I tried out `hyperkit` and observed that Calico (specifically Felix) was not correctly populating iptables / ipsets rules. I believe this limits Calico+minikube to Linux only."}}
{"actor":{"display_login":"bcreane"}}