{"action":"created","issue":{"url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/43","repository_url":"https://api.github.com/repos/Intel-Corp/multus-cni","labels_url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/43/comments","events_url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/43/events","html_url":"https://github.com/Intel-Corp/multus-cni/issues/43","id":297041891,"number":43,"title":"Multus not aligned to CNI spec v0.3.0","user":{"login":"nikolas-hermanns","id":9335317,"avatar_url":"https://avatars0.githubusercontent.com/u/9335317?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolas-hermanns","html_url":"https://github.com/nikolas-hermanns","followers_url":"https://api.github.com/users/nikolas-hermanns/followers","following_url":"https://api.github.com/users/nikolas-hermanns/following{/other_user}","gists_url":"https://api.github.com/users/nikolas-hermanns/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolas-hermanns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolas-hermanns/subscriptions","organizations_url":"https://api.github.com/users/nikolas-hermanns/orgs","repos_url":"https://api.github.com/users/nikolas-hermanns/repos","events_url":"https://api.github.com/users/nikolas-hermanns/events{/privacy}","received_events_url":"https://api.github.com/users/nikolas-hermanns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T10:21:24Z","updated_at":"2018-02-15T16:19:33Z","closed_at":null,"author_association":"NONE","body":"When using calico with spec v0.3.0 (plugin chaining included) with multus I get the following error:\r\n\r\n1235 pod_workers.go:186] Error syncing pod af00ed7b-0a97-11e8-bf2f-525400f0a9f1 (\"simplesvc-54f8df5889-lhqwl_default(af00ed7b-0a97-11e8-bf2f-525400f0a9f1)\"), skipping: failed to \"CreatePodSandbox\" for \"simplesvc-54f8df5889-lhqwl_default(af00ed7b-0a97-11e8-bf2f-525400f0a9f1)\" with CreatePodSandboxError: \"CreatePodSandbox for pod \\\"simplesvc-54f8df5889-lhqwl_default(af00ed7b-0a97-11e8-bf2f-525400f0a9f1)\\\" failed: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod \\\"simplesvc-54f8df5889-lhqwl_default\\\" network: Multus: Err in delegate conf: delegate must have the field 'type'\"\r\n\r\nI am using the following multus conf:\r\n{\r\n  \"name\": \"multus-multi-network\",\r\n  \"type\": \"multus\",\r\n  \"policy\": {\r\n    \"type\": \"k8s\",\r\n    \"k8s_api_root\": \"https://10.96.0.1:443\",\r\n    \"k8s_auth_token\": \r\n  },\r\n  \"kubeconfig\": \"/etc/cni/net.d/multus-kubeconfig\",\r\n  \"delegates\": [\r\n    {\r\n      \"name\": \"k8s-pod-network\",\r\n      \"cniVersion\": \"0.3.0\",\r\n      \"plugins\": [\r\n        {\r\n          \"type\": \"calico\",\r\n          \"etcd_endpoints\": \"https://10.10.6.11:2379,https://10.10.6.12:2379\",\r\n          \"etcd_key_file\": \"/etc/cni/net.d/calico-tls/etcd-key\",\r\n          \"etcd_cert_file\": \"/etc/cni/net.d/calico-tls/etcd-cert\",\r\n          \"etcd_ca_cert_file\": \"/etc/cni/net.d/calico-tls/etcd-ca\",\r\n          \"log_level\": \"info\",\r\n          \"ipam\": {\r\n            \"type\": \"calico-ipam\"\r\n          },\r\n          \"policy\": {\r\n            \"type\": \"k8s\",\r\n            \"k8s_api_root\": \"https://10.96.0.1:443\",\r\n            \"k8s_auth_token\": \r\n          },\r\n          \"kubernetes\": {\r\n            \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\"\r\n          }\r\n        },\r\n        {\r\n          \"type\": \"portmap\",\r\n          \"snat\": true,\r\n          \"capabilities\": {\r\n            \"portMappings\": true\r\n          }\r\n        }\r\n      ],\r\n      \"masterplugin\": true\r\n    }\r\n  ]\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/comments/365978847","html_url":"https://github.com/Intel-Corp/multus-cni/issues/43#issuecomment-365978847","issue_url":"https://api.github.com/repos/Intel-Corp/multus-cni/issues/43","id":365978847,"user":{"login":"ahalim-intel","id":30052711,"avatar_url":"https://avatars1.githubusercontent.com/u/30052711?v=4","gravatar_id":"","url":"https://api.github.com/users/ahalim-intel","html_url":"https://github.com/ahalim-intel","followers_url":"https://api.github.com/users/ahalim-intel/followers","following_url":"https://api.github.com/users/ahalim-intel/following{/other_user}","gists_url":"https://api.github.com/users/ahalim-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/ahalim-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahalim-intel/subscriptions","organizations_url":"https://api.github.com/users/ahalim-intel/orgs","repos_url":"https://api.github.com/users/ahalim-intel/repos","events_url":"https://api.github.com/users/ahalim-intel/events{/privacy}","received_events_url":"https://api.github.com/users/ahalim-intel/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T16:19:33Z","updated_at":"2018-02-15T16:19:33Z","author_association":"NONE","body":"@nikolas-hermanns The delegate object in your conf file is missing the required \"type\" parameters as shown in the error log. \"type\" refers to the cni plugin executable for that delegate. Please check the Multus README.md  for example configuration."}}
{"actor":{"display_login":"ahalim-intel"}}