{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/53554","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/53554/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/53554/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/53554/events","html_url":"https://github.com/kubernetes/kubernetes/issues/53554","id":263593656,"number":53554,"title":"IPv6 IPs derived incorrectly in proxier's deleteEndpointConnections","user":{"login":"leblancd","id":3209677,"avatar_url":"https://avatars2.githubusercontent.com/u/3209677?v=4","gravatar_id":"","url":"https://api.github.com/users/leblancd","html_url":"https://github.com/leblancd","followers_url":"https://api.github.com/users/leblancd/followers","following_url":"https://api.github.com/users/leblancd/following{/other_user}","gists_url":"https://api.github.com/users/leblancd/gists{/gist_id}","starred_url":"https://api.github.com/users/leblancd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leblancd/subscriptions","organizations_url":"https://api.github.com/users/leblancd/orgs","repos_url":"https://api.github.com/users/leblancd/repos","events_url":"https://api.github.com/users/leblancd/events{/privacy}","received_events_url":"https://api.github.com/users/leblancd/received_events","type":"User","site_admin":false},"labels":[{"id":608460743,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/ipv6","name":"area/ipv6","color":"0052cc","default":false},{"id":267761362,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":116712108,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/network","name":"sig/network","color":"d2b48c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-06T23:01:14Z","updated_at":"2017-11-19T04:31:23Z","closed_at":"2017-11-19T04:31:23Z","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\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/sig network\r\n/area ipv6\r\n\r\n**What happened**:\r\nThe calculation of endpointIP in the iptables proxier's deleteEndpointConnections() method does not handle endpoints of the form [ipv6-address]:port. The current logic strips off anything after the first colon it finds:\r\n```\r\nendpointIP := epSvcPair.endpoint[0:strings.Index(epSvcPair.endpoint, \":\")]\r\n```\r\nso this won't work for IPv6. This can be seen on code inspection. It can also cause problems when running e2e networking tests that include UDP connections, whereby the kube-proxy will crash on a conntrack command, and restart.\r\n \r\n**What you expected to happen**:\r\nThe code needs to derive IPv6 addresses from IPv6 endpoints of the form \"[IPv6]:port\", as well as deriving IPv4 addresses from IPv4 endpoints of the form \"IPv4:port\".\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nCode inspection, or run e2e UDP networking tests on an IPv6-only cluster (and watch for kube-proxy restarts).\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): Latest master\r\n- Cloud provider or hardware configuration**: VirtualBox cluster, Ubuntu 16.04.1 host, CentOS 7 guests\r\n- OS (e.g. from /etc/os-release): CentOS 7\r\n- Kernel (e.g. `uname -a`): 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n- Install tools:\r\n- Others:\r\n"}}
{"actor":{"display_login":"k8s-merge-robot"}}