{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/rancher/vm/pulls/53","id":39999572,"html_url":"https://github.com/rancher/vm/pull/53","diff_url":"https://github.com/rancher/vm/pull/53.diff","patch_url":"https://github.com/rancher/vm/pull/53.patch","issue_url":"https://api.github.com/repos/rancher/vm/issues/53","number":53,"state":"closed","locked":false,"title":"nicely remove vm-image volume and vnc file when container is removed","user":{"login":"feliksik","id":8527652,"avatar_url":"https://avatars.githubusercontent.com/u/8527652?v=3","gravatar_id":"","url":"https://api.github.com/users/feliksik","html_url":"https://github.com/feliksik","followers_url":"https://api.github.com/users/feliksik/followers","following_url":"https://api.github.com/users/feliksik/following{/other_user}","gists_url":"https://api.github.com/users/feliksik/gists{/gist_id}","starred_url":"https://api.github.com/users/feliksik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feliksik/subscriptions","organizations_url":"https://api.github.com/users/feliksik/orgs","repos_url":"https://api.github.com/users/feliksik/repos","events_url":"https://api.github.com/users/feliksik/events{/privacy}","received_events_url":"https://api.github.com/users/feliksik/received_events","type":"User","site_admin":false},"body":"When deleting a ranchervm machine, the container volume (containing qcow image) and the VNC file in /tmp/rancher/vm/$containerid are left orphaned/dangling. \r\nPatch fixes that. ","created_at":"2015-07-15T08:39:57Z","updated_at":"2015-07-17T05:20:23Z","closed_at":"2015-07-17T05:20:23Z","merged_at":"2015-07-17T05:20:23Z","merge_commit_sha":"de6859db0e92c0fca4ef254e2f68d48470ac88df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rancher/vm/pulls/53/commits","review_comments_url":"https://api.github.com/repos/rancher/vm/pulls/53/comments","review_comment_url":"https://api.github.com/repos/rancher/vm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rancher/vm/issues/53/comments","statuses_url":"https://api.github.com/repos/rancher/vm/statuses/8e990064bf543446b34b15889657e23c56b856eb","head":{"label":"feliksik:delete-leftovers","ref":"delete-leftovers","sha":"8e990064bf543446b34b15889657e23c56b856eb","user":{"login":"feliksik","id":8527652,"avatar_url":"https://avatars.githubusercontent.com/u/8527652?v=3","gravatar_id":"","url":"https://api.github.com/users/feliksik","html_url":"https://github.com/feliksik","followers_url":"https://api.github.com/users/feliksik/followers","following_url":"https://api.github.com/users/feliksik/following{/other_user}","gists_url":"https://api.github.com/users/feliksik/gists{/gist_id}","starred_url":"https://api.github.com/users/feliksik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feliksik/subscriptions","organizations_url":"https://api.github.com/users/feliksik/orgs","repos_url":"https://api.github.com/users/feliksik/repos","events_url":"https://api.github.com/users/feliksik/events{/privacy}","received_events_url":"https://api.github.com/users/feliksik/received_events","type":"User","site_admin":false},"repo":{"id":39125579,"name":"vm","full_name":"feliksik/vm","owner":{"login":"feliksik","id":8527652,"avatar_url":"https://avatars.githubusercontent.com/u/8527652?v=3","gravatar_id":"","url":"https://api.github.com/users/feliksik","html_url":"https://github.com/feliksik","followers_url":"https://api.github.com/users/feliksik/followers","following_url":"https://api.github.com/users/feliksik/following{/other_user}","gists_url":"https://api.github.com/users/feliksik/gists{/gist_id}","starred_url":"https://api.github.com/users/feliksik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feliksik/subscriptions","organizations_url":"https://api.github.com/users/feliksik/orgs","repos_url":"https://api.github.com/users/feliksik/repos","events_url":"https://api.github.com/users/feliksik/events{/privacy}","received_events_url":"https://api.github.com/users/feliksik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feliksik/vm","description":"Package and Run Virtual Machines as Docker Containers","fork":true,"url":"https://api.github.com/repos/feliksik/vm","forks_url":"https://api.github.com/repos/feliksik/vm/forks","keys_url":"https://api.github.com/repos/feliksik/vm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feliksik/vm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feliksik/vm/teams","hooks_url":"https://api.github.com/repos/feliksik/vm/hooks","issue_events_url":"https://api.github.com/repos/feliksik/vm/issues/events{/number}","events_url":"https://api.github.com/repos/feliksik/vm/events","assignees_url":"https://api.github.com/repos/feliksik/vm/assignees{/user}","branches_url":"https://api.github.com/repos/feliksik/vm/branches{/branch}","tags_url":"https://api.github.com/repos/feliksik/vm/tags","blobs_url":"https://api.github.com/repos/feliksik/vm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feliksik/vm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feliksik/vm/git/refs{/sha}","trees_url":"https://api.github.com/repos/feliksik/vm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feliksik/vm/statuses/{sha}","languages_url":"https://api.github.com/repos/feliksik/vm/languages","stargazers_url":"https://api.github.com/repos/feliksik/vm/stargazers","contributors_url":"https://api.github.com/repos/feliksik/vm/contributors","subscribers_url":"https://api.github.com/repos/feliksik/vm/subscribers","subscription_url":"https://api.github.com/repos/feliksik/vm/subscription","commits_url":"https://api.github.com/repos/feliksik/vm/commits{/sha}","git_commits_url":"https://api.github.com/repos/feliksik/vm/git/commits{/sha}","comments_url":"https://api.github.com/repos/feliksik/vm/comments{/number}","issue_comment_url":"https://api.github.com/repos/feliksik/vm/issues/comments{/number}","contents_url":"https://api.github.com/repos/feliksik/vm/contents/{+path}","compare_url":"https://api.github.com/repos/feliksik/vm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feliksik/vm/merges","archive_url":"https://api.github.com/repos/feliksik/vm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feliksik/vm/downloads","issues_url":"https://api.github.com/repos/feliksik/vm/issues{/number}","pulls_url":"https://api.github.com/repos/feliksik/vm/pulls{/number}","milestones_url":"https://api.github.com/repos/feliksik/vm/milestones{/number}","notifications_url":"https://api.github.com/repos/feliksik/vm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feliksik/vm/labels{/name}","releases_url":"https://api.github.com/repos/feliksik/vm/releases{/id}","created_at":"2015-07-15T08:32:34Z","updated_at":"2015-07-15T08:32:35Z","pushed_at":"2015-07-15T08:36:59Z","git_url":"git://github.com/feliksik/vm.git","ssh_url":"git@github.com:feliksik/vm.git","clone_url":"https://github.com/feliksik/vm.git","svn_url":"https://github.com/feliksik/vm","homepage":"","size":411,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rancher:master","ref":"master","sha":"80db57d34ee43cae71e2c8374d8c507b5ae511b0","user":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"repo":{"id":33767183,"name":"vm","full_name":"rancher/vm","owner":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rancher/vm","description":"Package and Run Virtual Machines as Docker Containers","fork":false,"url":"https://api.github.com/repos/rancher/vm","forks_url":"https://api.github.com/repos/rancher/vm/forks","keys_url":"https://api.github.com/repos/rancher/vm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rancher/vm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rancher/vm/teams","hooks_url":"https://api.github.com/repos/rancher/vm/hooks","issue_events_url":"https://api.github.com/repos/rancher/vm/issues/events{/number}","events_url":"https://api.github.com/repos/rancher/vm/events","assignees_url":"https://api.github.com/repos/rancher/vm/assignees{/user}","branches_url":"https://api.github.com/repos/rancher/vm/branches{/branch}","tags_url":"https://api.github.com/repos/rancher/vm/tags","blobs_url":"https://api.github.com/repos/rancher/vm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rancher/vm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rancher/vm/git/refs{/sha}","trees_url":"https://api.github.com/repos/rancher/vm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rancher/vm/statuses/{sha}","languages_url":"https://api.github.com/repos/rancher/vm/languages","stargazers_url":"https://api.github.com/repos/rancher/vm/stargazers","contributors_url":"https://api.github.com/repos/rancher/vm/contributors","subscribers_url":"https://api.github.com/repos/rancher/vm/subscribers","subscription_url":"https://api.github.com/repos/rancher/vm/subscription","commits_url":"https://api.github.com/repos/rancher/vm/commits{/sha}","git_commits_url":"https://api.github.com/repos/rancher/vm/git/commits{/sha}","comments_url":"https://api.github.com/repos/rancher/vm/comments{/number}","issue_comment_url":"https://api.github.com/repos/rancher/vm/issues/comments{/number}","contents_url":"https://api.github.com/repos/rancher/vm/contents/{+path}","compare_url":"https://api.github.com/repos/rancher/vm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rancher/vm/merges","archive_url":"https://api.github.com/repos/rancher/vm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rancher/vm/downloads","issues_url":"https://api.github.com/repos/rancher/vm/issues{/number}","pulls_url":"https://api.github.com/repos/rancher/vm/pulls{/number}","milestones_url":"https://api.github.com/repos/rancher/vm/milestones{/number}","notifications_url":"https://api.github.com/repos/rancher/vm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rancher/vm/labels{/name}","releases_url":"https://api.github.com/repos/rancher/vm/releases{/id}","created_at":"2015-04-11T07:37:50Z","updated_at":"2015-07-14T15:37:01Z","pushed_at":"2015-07-17T05:20:23Z","git_url":"git://github.com/rancher/vm.git","ssh_url":"git@github.com:rancher/vm.git","clone_url":"https://github.com/rancher/vm.git","svn_url":"https://github.com/rancher/vm","homepage":"","size":411,"stargazers_count":62,"watchers_count":62,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":1,"forks":15,"open_issues":1,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rancher/vm/pulls/53"},"html":{"href":"https://github.com/rancher/vm/pull/53"},"issue":{"href":"https://api.github.com/repos/rancher/vm/issues/53"},"comments":{"href":"https://api.github.com/repos/rancher/vm/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/rancher/vm/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/rancher/vm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rancher/vm/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/rancher/vm/statuses/8e990064bf543446b34b15889657e23c56b856eb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sheng-liang","id":9485278,"avatar_url":"https://avatars.githubusercontent.com/u/9485278?v=3","gravatar_id":"","url":"https://api.github.com/users/sheng-liang","html_url":"https://github.com/sheng-liang","followers_url":"https://api.github.com/users/sheng-liang/followers","following_url":"https://api.github.com/users/sheng-liang/following{/other_user}","gists_url":"https://api.github.com/users/sheng-liang/gists{/gist_id}","starred_url":"https://api.github.com/users/sheng-liang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheng-liang/subscriptions","organizations_url":"https://api.github.com/users/sheng-liang/orgs","repos_url":"https://api.github.com/users/sheng-liang/repos","events_url":"https://api.github.com/users/sheng-liang/events{/privacy}","received_events_url":"https://api.github.com/users/sheng-liang/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}