{"action":"created","issue":{"url":"https://api.github.com/repos/openaustralia/morph/issues/495","labels_url":"https://api.github.com/repos/openaustralia/morph/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/openaustralia/morph/issues/495/comments","events_url":"https://api.github.com/repos/openaustralia/morph/issues/495/events","html_url":"https://github.com/openaustralia/morph/issues/495","id":64137847,"number":495,"title":"Vagrant provision fails with unknown ssh error","user":{"login":"henare","id":48945,"avatar_url":"https://avatars.githubusercontent.com/u/48945?v=3","gravatar_id":"","url":"https://api.github.com/users/henare","html_url":"https://github.com/henare","followers_url":"https://api.github.com/users/henare/followers","following_url":"https://api.github.com/users/henare/following{/other_user}","gists_url":"https://api.github.com/users/henare/gists{/gist_id}","starred_url":"https://api.github.com/users/henare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henare/subscriptions","organizations_url":"https://api.github.com/users/henare/orgs","repos_url":"https://api.github.com/users/henare/repos","events_url":"https://api.github.com/users/henare/events{/privacy}","received_events_url":"https://api.github.com/users/henare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T00:44:40Z","updated_at":"2015-03-25T00:45:58Z","closed_at":null,"body":"When Vagrant runs the Ansible provisioning step it fails with:\r\n\r\n    fatal: [local] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue\r\n\r\nRunning the generated `ansible-playbook` command using -vvvv SSH debugging gets us this:\r\n\r\n```\r\n[snip]\r\ndebug1: Trying private key: /home/henare/Documents/projects/openaustralia/code/morph/.vagrant/machines/local/virtualbox/private_key\r\ndebug1: key_parse_private2: missing begin marker\r\ndebug1: read PEM private key done: type RSA\r\ndebug3: sign_and_send_pubkey: RSA 3d:b1:f0:3d:ed:b2:a8:1f:c3:42:eb:9b:e7:8e:ca:5f\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug2: we did not send a packet, disable method\r\ndebug1: No more authentication methods to try.\r\nPermission denied (publickey,password).\r\n```"},"comment":{"url":"https://api.github.com/repos/openaustralia/morph/issues/comments/85763880","html_url":"https://github.com/openaustralia/morph/issues/495#issuecomment-85763880","issue_url":"https://api.github.com/repos/openaustralia/morph/issues/495","id":85763880,"user":{"login":"mlandauer","id":2221,"avatar_url":"https://avatars.githubusercontent.com/u/2221?v=3","gravatar_id":"","url":"https://api.github.com/users/mlandauer","html_url":"https://github.com/mlandauer","followers_url":"https://api.github.com/users/mlandauer/followers","following_url":"https://api.github.com/users/mlandauer/following{/other_user}","gists_url":"https://api.github.com/users/mlandauer/gists{/gist_id}","starred_url":"https://api.github.com/users/mlandauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlandauer/subscriptions","organizations_url":"https://api.github.com/users/mlandauer/orgs","repos_url":"https://api.github.com/users/mlandauer/repos","events_url":"https://api.github.com/users/mlandauer/events{/privacy}","received_events_url":"https://api.github.com/users/mlandauer/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T00:45:58Z","updated_at":"2015-03-25T00:45:58Z","body":"@henare it's really icky right now. When running under vagrant you need to comment out a line (``user:root``) in the playbook.yml"}}