{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/2319","repository_url":"https://api.github.com/repos/coreos/rkt","labels_url":"https://api.github.com/repos/coreos/rkt/issues/2319/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/2319/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/2319/events","html_url":"https://github.com/coreos/rkt/issues/2319","id":143231463,"number":2319,"title":"stage1: network files leak on GC","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/rkt/labels/area/networking","name":"area/networking","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/rkt/labels/component/stage1","name":"component/stage1","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/rkt/labels/kind/bug","name":"kind/bug","color":"FF0000"},{"url":"https://api.github.com/repos/coreos/rkt/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/coreos/rkt/labels/technology/kubernetes","name":"technology/kubernetes","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/rkt/milestones/37","html_url":"https://github.com/coreos/rkt/milestones/v1.6.0","labels_url":"https://api.github.com/repos/coreos/rkt/milestones/37/labels","id":1705895,"number":37,"title":"v1.6.0","description":"","creator":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"open_issues":62,"closed_issues":4,"state":"open","created_at":"2016-04-14T12:45:50Z","updated_at":"2016-04-28T12:57:16Z","due_on":"2016-05-11T22:00:00Z","closed_at":null},"comments":5,"created_at":"2016-03-24T12:26:30Z","updated_at":"2016-04-28T12:57:29Z","closed_at":null,"body":"When using overlay fs, after the pod mounts are unmounted (e.g. because the user rebooted), network GC fails, leaking (at least) network files in `/var/lib/cni/networks`.\r\n\r\n```\r\n# rkt run coreos.com/etcd:v2.0.10\r\n[...]\r\n^]^]Container rkt-7d395a66-e9c1-47f2-ab9b-bbbb3a452cca terminated by signal KILL.\r\n# ls -l /var/lib/cni/networks/default\r\ntotal 4\r\n-rw-r--r-- 1 root root 36 Mar 24 13:18 172.16.28.2\r\n# for m in $(mount | grep 7d395a66 | tac | awk '{print $3}'); do sudo umount $m; done\r\n# rkt gc --grace-period=0s\r\ngc: moving pod \"7d395a66-e9c1-47f2-ab9b-bbbb3a452cca\" to garbage\r\nGarbage collecting pod \"7d395a66-e9c1-47f2-ab9b-bbbb3a452cca\"\r\nnetworking: teardown - executing net-plugin ptp\r\nnetworking: error deleting \"default\": fork/exec stage1/rootfs/usr/lib/rkt/plugins/net/ptp: no such file or directory\r\n# ls -l /var/lib/cni/networks/default\r\ntotal 4\r\n-rw-r--r-- 1 root root 36 Mar 24 13:18 172.16.28.2\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/rkt/issues/comments/215414921","html_url":"https://github.com/coreos/rkt/issues/2319#issuecomment-215414921","issue_url":"https://api.github.com/repos/coreos/rkt/issues/2319","id":215414921,"user":{"login":"s-urbaniak","id":375856,"avatar_url":"https://avatars.githubusercontent.com/u/375856?v=3","gravatar_id":"","url":"https://api.github.com/users/s-urbaniak","html_url":"https://github.com/s-urbaniak","followers_url":"https://api.github.com/users/s-urbaniak/followers","following_url":"https://api.github.com/users/s-urbaniak/following{/other_user}","gists_url":"https://api.github.com/users/s-urbaniak/gists{/gist_id}","starred_url":"https://api.github.com/users/s-urbaniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-urbaniak/subscriptions","organizations_url":"https://api.github.com/users/s-urbaniak/orgs","repos_url":"https://api.github.com/users/s-urbaniak/repos","events_url":"https://api.github.com/users/s-urbaniak/events{/privacy}","received_events_url":"https://api.github.com/users/s-urbaniak/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T12:57:28Z","updated_at":"2016-04-28T12:57:28Z","body":"@steveeJ any ideas about that one?"}}