{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/5778","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/5778/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/5778/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/5778/events","html_url":"https://github.com/rancher/rancher/issues/5778","id":172263429,"number":5778,"title":"Keypairs not removed from old hosts","user":{"login":"leebenson","id":719722,"avatar_url":"https://avatars.githubusercontent.com/u/719722?v=3","gravatar_id":"","url":"https://api.github.com/users/leebenson","html_url":"https://github.com/leebenson","followers_url":"https://api.github.com/users/leebenson/followers","following_url":"https://api.github.com/users/leebenson/following{/other_user}","gists_url":"https://api.github.com/users/leebenson/gists{/gist_id}","starred_url":"https://api.github.com/users/leebenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebenson/subscriptions","organizations_url":"https://api.github.com/users/leebenson/orgs","repos_url":"https://api.github.com/users/leebenson/repos","events_url":"https://api.github.com/users/leebenson/events{/privacy}","received_events_url":"https://api.github.com/users/leebenson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-20T09:47:24Z","updated_at":"2016-08-20T09:49:23Z","closed_at":null,"body":"**Rancher Version:**\r\n\r\n1.1.2\r\n\r\n**Docker Version:**\r\n\r\n1.11\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\n\r\nAWS\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\n\r\n- Single node Rancher\r\n- External DB (RDS)\r\n- No HA proxy\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\n\r\nAny\r\n\r\n**Steps to Reproduce:**\r\n\r\n1. Create any new environment, and add 2x machines, named staging1 & staging2\r\n2. Delete the machines and the environment\r\n3. Create a new environment, and add the same 2 machines (same names)\r\n\r\n**Results:** \r\n\r\n<img width=\"715\" alt=\"screen shot 2016-08-20 at 10 46 27\" src=\"https://cloud.githubusercontent.com/assets/719722/17830454/6226c1b2-66c3-11e6-8d50-6eccb7d2e544.png\">\r\n\r\n**Expected:**\r\n\r\nKeys to be removed when machines are removed, so that those re-creating new instances with the same name won't conflict with old names"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/241190440","html_url":"https://github.com/rancher/rancher/issues/5778#issuecomment-241190440","issue_url":"https://api.github.com/repos/rancher/rancher/issues/5778","id":241190440,"user":{"login":"leebenson","id":719722,"avatar_url":"https://avatars.githubusercontent.com/u/719722?v=3","gravatar_id":"","url":"https://api.github.com/users/leebenson","html_url":"https://github.com/leebenson","followers_url":"https://api.github.com/users/leebenson/followers","following_url":"https://api.github.com/users/leebenson/following{/other_user}","gists_url":"https://api.github.com/users/leebenson/gists{/gist_id}","starred_url":"https://api.github.com/users/leebenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebenson/subscriptions","organizations_url":"https://api.github.com/users/leebenson/orgs","repos_url":"https://api.github.com/users/leebenson/repos","events_url":"https://api.github.com/users/leebenson/events{/privacy}","received_events_url":"https://api.github.com/users/leebenson/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T09:49:23Z","updated_at":"2016-08-20T09:49:23Z","body":"Note: I don't have the steps to reproduce exactly how the machines were removed in the first place. It could be because I simply deleted the environment (assuming the machines would go down with it), and then later removed the hosts manually - which would make sense why keypairs weren't removed with them.\r\n\r\nThis probably relates to #5777 "}}
{"actor":{"display_login":"leebenson"}}