{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/511","labels_url":"https://api.github.com/repos/docker/machine/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/511/comments","events_url":"https://api.github.com/repos/docker/machine/issues/511/events","html_url":"https://github.com/docker/machine/issues/511","id":56976892,"number":511,"title":"Hyper-v gets in a confused state if it fails to create a machine.","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-09T00:46:52Z","updated_at":"2015-02-09T15:14:55Z","closed_at":null,"body":"I ran `docker-machine create --driver=hyper-v msys` and it failed, as i did not create a hyper-v vswitch first.\r\n\r\nI then created one, and re-ran that create, it failed with msys already exists - though the hyper-v manager shows that its not created. So I tried killing it (which really is not a good name, as I'm trying to delete it - generally, road kill leaves mess lying around, and users want to be able to clean up)\r\n\r\nkilling it failed too.\r\n\r\n```\r\nsvend_000@BIG ~/Downloads\r\n$ docker-machine_windows_amd64-nightly.exe create --driver hyper-v msys\r\n←[31mERRO←[0m[0000] Error creating machine: Machine msys already exists\r\n←[33mWARN←[0m[0000] You will want to check the provider to make sure the machine\r\n and associated resources were properly removed.\r\n←[31mFATA←[0m[0000] Error creating machine\r\n\r\nsvend_000@BIG ~/Downloads\r\n$ docker-machine_windows_amd64-nightly.exe  kill msys\r\n←[31mFATA←[0m[0000] exit status 1\r\n\r\nsvend_000@BIG ~/Downloads\r\n$ docker-machine_windows_amd64-nightly.exe create --driver hyper-v msys\r\n←[31mERRO←[0m[0000] Error creating machine: Machine msys already exists\r\n←[33mWARN←[0m[0000] You will want to check the provider to make sure the machine\r\n and associated resources were properly removed.\r\n←[31mFATA←[0m[0000] Error creating machine\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/73524870","html_url":"https://github.com/docker/machine/issues/511#issuecomment-73524870","issue_url":"https://api.github.com/repos/docker/machine/issues/511","id":73524870,"user":{"login":"ehazlett","id":260642,"avatar_url":"https://avatars.githubusercontent.com/u/260642?v=3","gravatar_id":"","url":"https://api.github.com/users/ehazlett","html_url":"https://github.com/ehazlett","followers_url":"https://api.github.com/users/ehazlett/followers","following_url":"https://api.github.com/users/ehazlett/following{/other_user}","gists_url":"https://api.github.com/users/ehazlett/gists{/gist_id}","starred_url":"https://api.github.com/users/ehazlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehazlett/subscriptions","organizations_url":"https://api.github.com/users/ehazlett/orgs","repos_url":"https://api.github.com/users/ehazlett/repos","events_url":"https://api.github.com/users/ehazlett/events{/privacy}","received_events_url":"https://api.github.com/users/ehazlett/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T15:14:55Z","updated_at":"2015-02-09T15:14:55Z","body":"As the docs state, an existing vswitch must be created.  This is the same behavior on all providers that create partial resources (i.e. ec2 keys, security groups, azure cloud deployments, etc).  We chose not to auto-remove these as it was potentially dangerous and we didn't want to make assumptions by removing something that could be debugged."}}