{"action":"created","comment":{"url":"https://api.github.com/repos/NetSys/quilt/pulls/comments/81082123","pull_request_review_id":2087629,"id":81082123,"diff_hunk":"@@ -63,34 +65,38 @@ func (api vagrantAPI) Init(cloudConfig string, size string, id string) error {\n }\n \n func (api vagrantAPI) Up(id string) error {\n-\t_, _, err := api.Shell(id, `vagrant --machine-readable up`)\n+\t_, stderr, err := api.Shell(id, `vagrant --machine-readable up`)\n \tif err != nil {\n+\t\tlog.Errorf(\"Failed to start Vagrant machine: %s\", string(stderr))\n \t\treturn errors.New(\"unable to check machine status\")","path":"cluster/provider/vagrant_api.go","position":null,"original_position":27,"commit_id":"29e9eb3cc9e2b99f1137d7f68130d2b57a58d417","original_commit_id":"29e9eb3cc9e2b99f1137d7f68130d2b57a58d417","user":{"login":"kklin","id":1811185,"avatar_url":"https://avatars.githubusercontent.com/u/1811185?v=3","gravatar_id":"","url":"https://api.github.com/users/kklin","html_url":"https://github.com/kklin","followers_url":"https://api.github.com/users/kklin/followers","following_url":"https://api.github.com/users/kklin/following{/other_user}","gists_url":"https://api.github.com/users/kklin/gists{/gist_id}","starred_url":"https://api.github.com/users/kklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kklin/subscriptions","organizations_url":"https://api.github.com/users/kklin/orgs","repos_url":"https://api.github.com/users/kklin/repos","events_url":"https://api.github.com/users/kklin/events{/privacy}","received_events_url":"https://api.github.com/users/kklin/received_events","type":"User","site_admin":false},"body":"Huh, the error message I used wasn't very fitting here. Could you fix it as part of this PR?","created_at":"2016-09-29T07:55:05Z","updated_at":"2016-09-29T07:55:05Z","html_url":"https://github.com/NetSys/quilt/pull/538#discussion_r81082123","pull_request_url":"https://api.github.com/repos/NetSys/quilt/pulls/538","_links":{"self":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/comments/81082123"},"html":{"href":"https://github.com/NetSys/quilt/pull/538#discussion_r81082123"},"pull_request":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/538"}}},"pull_request":{"url":"https://api.github.com/repos/NetSys/quilt/pulls/538","id":87259926,"html_url":"https://github.com/NetSys/quilt/pull/538","diff_url":"https://github.com/NetSys/quilt/pull/538.diff","patch_url":"https://github.com/NetSys/quilt/pull/538.patch","issue_url":"https://api.github.com/repos/NetSys/quilt/issues/538","number":538,"state":"open","locked":false,"title":"vagrant: log stderr when vagrant shell command fails","user":{"login":"tejasmanohar","id":5959235,"avatar_url":"https://avatars.githubusercontent.com/u/5959235?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasmanohar","html_url":"https://github.com/tejasmanohar","followers_url":"https://api.github.com/users/tejasmanohar/followers","following_url":"https://api.github.com/users/tejasmanohar/following{/other_user}","gists_url":"https://api.github.com/users/tejasmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasmanohar/subscriptions","organizations_url":"https://api.github.com/users/tejasmanohar/orgs","repos_url":"https://api.github.com/users/tejasmanohar/repos","events_url":"https://api.github.com/users/tejasmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/tejasmanohar/received_events","type":"User","site_admin":false},"body":"Continuation of #536 (inlined description below) but PR'd to `master` instead of `paper` and moved log lines to callsite as proposed.\r\n>With logs, we can (try to) figure out why the Vagrant provider is \"unavailable\", \"unable to boot\", etc. without adding one-off debugging code and/or running commands outside of Quilt.\r\n\r\ncc @kklin @ejj ","created_at":"2016-09-29T07:32:37Z","updated_at":"2016-09-29T07:55:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a849daf0615ee9a5d4b9c8bed28329b879e9361a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NetSys/quilt/pulls/538/commits","review_comments_url":"https://api.github.com/repos/NetSys/quilt/pulls/538/comments","review_comment_url":"https://api.github.com/repos/NetSys/quilt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NetSys/quilt/issues/538/comments","statuses_url":"https://api.github.com/repos/NetSys/quilt/statuses/29e9eb3cc9e2b99f1137d7f68130d2b57a58d417","head":{"label":"tejasmanohar:vagrant_cmd_log","ref":"vagrant_cmd_log","sha":"29e9eb3cc9e2b99f1137d7f68130d2b57a58d417","user":{"login":"tejasmanohar","id":5959235,"avatar_url":"https://avatars.githubusercontent.com/u/5959235?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasmanohar","html_url":"https://github.com/tejasmanohar","followers_url":"https://api.github.com/users/tejasmanohar/followers","following_url":"https://api.github.com/users/tejasmanohar/following{/other_user}","gists_url":"https://api.github.com/users/tejasmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasmanohar/subscriptions","organizations_url":"https://api.github.com/users/tejasmanohar/orgs","repos_url":"https://api.github.com/users/tejasmanohar/repos","events_url":"https://api.github.com/users/tejasmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/tejasmanohar/received_events","type":"User","site_admin":false},"repo":{"id":69329769,"name":"quilt","full_name":"tejasmanohar/quilt","owner":{"login":"tejasmanohar","id":5959235,"avatar_url":"https://avatars.githubusercontent.com/u/5959235?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasmanohar","html_url":"https://github.com/tejasmanohar","followers_url":"https://api.github.com/users/tejasmanohar/followers","following_url":"https://api.github.com/users/tejasmanohar/following{/other_user}","gists_url":"https://api.github.com/users/tejasmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasmanohar/subscriptions","organizations_url":"https://api.github.com/users/tejasmanohar/orgs","repos_url":"https://api.github.com/users/tejasmanohar/repos","events_url":"https://api.github.com/users/tejasmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/tejasmanohar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tejasmanohar/quilt","description":"Quilt","fork":true,"url":"https://api.github.com/repos/tejasmanohar/quilt","forks_url":"https://api.github.com/repos/tejasmanohar/quilt/forks","keys_url":"https://api.github.com/repos/tejasmanohar/quilt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tejasmanohar/quilt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tejasmanohar/quilt/teams","hooks_url":"https://api.github.com/repos/tejasmanohar/quilt/hooks","issue_events_url":"https://api.github.com/repos/tejasmanohar/quilt/issues/events{/number}","events_url":"https://api.github.com/repos/tejasmanohar/quilt/events","assignees_url":"https://api.github.com/repos/tejasmanohar/quilt/assignees{/user}","branches_url":"https://api.github.com/repos/tejasmanohar/quilt/branches{/branch}","tags_url":"https://api.github.com/repos/tejasmanohar/quilt/tags","blobs_url":"https://api.github.com/repos/tejasmanohar/quilt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tejasmanohar/quilt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tejasmanohar/quilt/git/refs{/sha}","trees_url":"https://api.github.com/repos/tejasmanohar/quilt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tejasmanohar/quilt/statuses/{sha}","languages_url":"https://api.github.com/repos/tejasmanohar/quilt/languages","stargazers_url":"https://api.github.com/repos/tejasmanohar/quilt/stargazers","contributors_url":"https://api.github.com/repos/tejasmanohar/quilt/contributors","subscribers_url":"https://api.github.com/repos/tejasmanohar/quilt/subscribers","subscription_url":"https://api.github.com/repos/tejasmanohar/quilt/subscription","commits_url":"https://api.github.com/repos/tejasmanohar/quilt/commits{/sha}","git_commits_url":"https://api.github.com/repos/tejasmanohar/quilt/git/commits{/sha}","comments_url":"https://api.github.com/repos/tejasmanohar/quilt/comments{/number}","issue_comment_url":"https://api.github.com/repos/tejasmanohar/quilt/issues/comments{/number}","contents_url":"https://api.github.com/repos/tejasmanohar/quilt/contents/{+path}","compare_url":"https://api.github.com/repos/tejasmanohar/quilt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tejasmanohar/quilt/merges","archive_url":"https://api.github.com/repos/tejasmanohar/quilt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tejasmanohar/quilt/downloads","issues_url":"https://api.github.com/repos/tejasmanohar/quilt/issues{/number}","pulls_url":"https://api.github.com/repos/tejasmanohar/quilt/pulls{/number}","milestones_url":"https://api.github.com/repos/tejasmanohar/quilt/milestones{/number}","notifications_url":"https://api.github.com/repos/tejasmanohar/quilt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tejasmanohar/quilt/labels{/name}","releases_url":"https://api.github.com/repos/tejasmanohar/quilt/releases{/id}","deployments_url":"https://api.github.com/repos/tejasmanohar/quilt/deployments","created_at":"2016-09-27T07:15:53Z","updated_at":"2016-09-27T07:15:55Z","pushed_at":"2016-09-29T07:31:12Z","git_url":"git://github.com/tejasmanohar/quilt.git","ssh_url":"git@github.com:tejasmanohar/quilt.git","clone_url":"https://github.com/tejasmanohar/quilt.git","svn_url":"https://github.com/tejasmanohar/quilt","homepage":"","size":15593,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"NetSys:master","ref":"master","sha":"c4447b3ee4dd54ee9c0005516e1582a2f84215ef","user":{"login":"NetSys","id":3665805,"avatar_url":"https://avatars.githubusercontent.com/u/3665805?v=3","gravatar_id":"","url":"https://api.github.com/users/NetSys","html_url":"https://github.com/NetSys","followers_url":"https://api.github.com/users/NetSys/followers","following_url":"https://api.github.com/users/NetSys/following{/other_user}","gists_url":"https://api.github.com/users/NetSys/gists{/gist_id}","starred_url":"https://api.github.com/users/NetSys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetSys/subscriptions","organizations_url":"https://api.github.com/users/NetSys/orgs","repos_url":"https://api.github.com/users/NetSys/repos","events_url":"https://api.github.com/users/NetSys/events{/privacy}","received_events_url":"https://api.github.com/users/NetSys/received_events","type":"Organization","site_admin":false},"repo":{"id":43390663,"name":"quilt","full_name":"NetSys/quilt","owner":{"login":"NetSys","id":3665805,"avatar_url":"https://avatars.githubusercontent.com/u/3665805?v=3","gravatar_id":"","url":"https://api.github.com/users/NetSys","html_url":"https://github.com/NetSys","followers_url":"https://api.github.com/users/NetSys/followers","following_url":"https://api.github.com/users/NetSys/following{/other_user}","gists_url":"https://api.github.com/users/NetSys/gists{/gist_id}","starred_url":"https://api.github.com/users/NetSys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetSys/subscriptions","organizations_url":"https://api.github.com/users/NetSys/orgs","repos_url":"https://api.github.com/users/NetSys/repos","events_url":"https://api.github.com/users/NetSys/events{/privacy}","received_events_url":"https://api.github.com/users/NetSys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetSys/quilt","description":"Quilt","fork":false,"url":"https://api.github.com/repos/NetSys/quilt","forks_url":"https://api.github.com/repos/NetSys/quilt/forks","keys_url":"https://api.github.com/repos/NetSys/quilt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetSys/quilt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetSys/quilt/teams","hooks_url":"https://api.github.com/repos/NetSys/quilt/hooks","issue_events_url":"https://api.github.com/repos/NetSys/quilt/issues/events{/number}","events_url":"https://api.github.com/repos/NetSys/quilt/events","assignees_url":"https://api.github.com/repos/NetSys/quilt/assignees{/user}","branches_url":"https://api.github.com/repos/NetSys/quilt/branches{/branch}","tags_url":"https://api.github.com/repos/NetSys/quilt/tags","blobs_url":"https://api.github.com/repos/NetSys/quilt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetSys/quilt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetSys/quilt/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetSys/quilt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetSys/quilt/statuses/{sha}","languages_url":"https://api.github.com/repos/NetSys/quilt/languages","stargazers_url":"https://api.github.com/repos/NetSys/quilt/stargazers","contributors_url":"https://api.github.com/repos/NetSys/quilt/contributors","subscribers_url":"https://api.github.com/repos/NetSys/quilt/subscribers","subscription_url":"https://api.github.com/repos/NetSys/quilt/subscription","commits_url":"https://api.github.com/repos/NetSys/quilt/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetSys/quilt/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetSys/quilt/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetSys/quilt/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetSys/quilt/contents/{+path}","compare_url":"https://api.github.com/repos/NetSys/quilt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetSys/quilt/merges","archive_url":"https://api.github.com/repos/NetSys/quilt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetSys/quilt/downloads","issues_url":"https://api.github.com/repos/NetSys/quilt/issues{/number}","pulls_url":"https://api.github.com/repos/NetSys/quilt/pulls{/number}","milestones_url":"https://api.github.com/repos/NetSys/quilt/milestones{/number}","notifications_url":"https://api.github.com/repos/NetSys/quilt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetSys/quilt/labels{/name}","releases_url":"https://api.github.com/repos/NetSys/quilt/releases{/id}","deployments_url":"https://api.github.com/repos/NetSys/quilt/deployments","created_at":"2015-09-29T19:52:32Z","updated_at":"2016-09-27T03:15:49Z","pushed_at":"2016-09-29T07:32:39Z","git_url":"git://github.com/NetSys/quilt.git","ssh_url":"git@github.com:NetSys/quilt.git","clone_url":"https://github.com/NetSys/quilt.git","svn_url":"https://github.com/NetSys/quilt","homepage":"","size":28366,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/538"},"html":{"href":"https://github.com/NetSys/quilt/pull/538"},"issue":{"href":"https://api.github.com/repos/NetSys/quilt/issues/538"},"comments":{"href":"https://api.github.com/repos/NetSys/quilt/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NetSys/quilt/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/NetSys/quilt/statuses/29e9eb3cc9e2b99f1137d7f68130d2b57a58d417"}}}}
{"actor":{"display_login":"kklin"}}