{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/1636","labels_url":"https://api.github.com/repos/docker/machine/issues/1636/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/1636/comments","events_url":"https://api.github.com/repos/docker/machine/issues/1636/events","html_url":"https://github.com/docker/machine/issues/1636","id":98749602,"number":1636,"title":"\"Too many retries\" message should be more specific","user":{"login":"rvesse","id":2104864,"avatar_url":"https://avatars.githubusercontent.com/u/2104864?v=3","gravatar_id":"","url":"https://api.github.com/users/rvesse","html_url":"https://github.com/rvesse","followers_url":"https://api.github.com/users/rvesse/followers","following_url":"https://api.github.com/users/rvesse/following{/other_user}","gists_url":"https://api.github.com/users/rvesse/gists{/gist_id}","starred_url":"https://api.github.com/users/rvesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvesse/subscriptions","organizations_url":"https://api.github.com/users/rvesse/orgs","repos_url":"https://api.github.com/users/rvesse/repos","events_url":"https://api.github.com/users/rvesse/events{/privacy}","received_events_url":"https://api.github.com/users/rvesse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/area/provision","name":"area/provision","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T13:58:41Z","updated_at":"2015-10-01T15:23:29Z","closed_at":null,"body":"During a `docker-machine create` the create fails with the following output:\r\n\r\n```\r\n> docker-machine create -d generic --generic-ip-address 10.0.1.101 node01\r\nImporting SSH key...\r\nError creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded\r\nYou will want to check the provider to make sure the machine and associated resources were properly removed.\r\n```\r\n\r\nThis error message is unhelpful because it doesn't tell me anything useful about what failed e.g. what was Machine trying to do when it ran out of retries?\r\n\r\nIf I then run `docker-machine ls` the machine is listed:\r\n\r\n```\r\nNAME         ACTIVE   DRIVER    STATE     URL                     SWARM\r\nnode01            generic   Running   tcp://10.0.1.101:2376   \r\n```\r\n\r\nBut it does not have a working configuration as `docker-machine env` fails:\r\n\r\n```\r\ndocker-machine env urika-xa01\r\nopen /home/users/rvesse/.docker/machine/machines/node01/ca.pem: no such file or directory\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/144761421","html_url":"https://github.com/docker/machine/issues/1636#issuecomment-144761421","issue_url":"https://api.github.com/repos/docker/machine/issues/1636","id":144761421,"user":{"login":"carlosamartins","id":8369274,"avatar_url":"https://avatars.githubusercontent.com/u/8369274?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosamartins","html_url":"https://github.com/carlosamartins","followers_url":"https://api.github.com/users/carlosamartins/followers","following_url":"https://api.github.com/users/carlosamartins/following{/other_user}","gists_url":"https://api.github.com/users/carlosamartins/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosamartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosamartins/subscriptions","organizations_url":"https://api.github.com/users/carlosamartins/orgs","repos_url":"https://api.github.com/users/carlosamartins/repos","events_url":"https://api.github.com/users/carlosamartins/events{/privacy}","received_events_url":"https://api.github.com/users/carlosamartins/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T15:23:29Z","updated_at":"2015-10-01T15:23:29Z","body":"It happened the same error with me. I am using vagrant on windows machine and the vagrant relative path is \"/vagrant\".\r\n\r\n```docker-machine create -d generic \\```\r\n ```--generic-ssh-user vagrant \\```\r\n ```--generic-ssh-key /vagrant/.vagrant.d/insecure_private_key \\```\r\n ```--generic-ip-address 192.168.226.37 \\```\r\n ```--engine-install-url \"https://test.docker.com\" \\```\r\n ```vmtest```\r\n\r\nImporting SSH key...\r\nError creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded\r\nYou will want to check the provider to make sure the machine and associated resources were properly removed.\r\nvagrant@vagrant-ubuntu-trusty-64:~$ docker-machine ls\r\nNAME      ACTIVE   DRIVER       STATE     URL                                      SWARM\r\nvmtest    generic  Running                tcp://192.168.226.37:2376\r\nvagrant@vagrant-ubuntu-trusty-64:~$ docker-machine env vmtest\r\nopen /home/vagrant/.docker/machine/machines/vmtest/ca.pem: no such file or directory"}}