{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/beaker/issues/1251","repository_url":"https://api.github.com/repos/puppetlabs/beaker","labels_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1251/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1251/comments","events_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1251/events","html_url":"https://github.com/puppetlabs/beaker/pull/1251","id":178120041,"number":1251,"title":"(maint) Improve beaker vmpooler error response","user":{"login":"briancain","id":810277,"avatar_url":"https://avatars.githubusercontent.com/u/810277?v=3","gravatar_id":"","url":"https://api.github.com/users/briancain","html_url":"https://github.com/briancain","followers_url":"https://api.github.com/users/briancain/followers","following_url":"https://api.github.com/users/briancain/following{/other_user}","gists_url":"https://api.github.com/users/briancain/gists{/gist_id}","starred_url":"https://api.github.com/users/briancain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briancain/subscriptions","organizations_url":"https://api.github.com/users/briancain/orgs","repos_url":"https://api.github.com/users/briancain/repos","events_url":"https://api.github.com/users/briancain/events{/privacy}","received_events_url":"https://api.github.com/users/briancain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T17:11:37Z","updated_at":"2016-10-03T16:42:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/beaker/pulls/1251","html_url":"https://github.com/puppetlabs/beaker/pull/1251","diff_url":"https://github.com/puppetlabs/beaker/pull/1251.diff","patch_url":"https://github.com/puppetlabs/beaker/pull/1251.patch"},"body":"Prior this commit, if a user had an old token and attempted to run\r\nbeaker to request vms, it would claim that the requested hosts were not\r\navailable in the pooler when in reality their token was invalid and not\r\nauthorized to make the request. This commit updates that to check the\r\nstatus code of the request and print the appropriate error message."},"comment":{"url":"https://api.github.com/repos/puppetlabs/beaker/issues/comments/251157996","html_url":"https://github.com/puppetlabs/beaker/pull/1251#issuecomment-251157996","issue_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1251","id":251157996,"user":{"login":"kevpl","id":8973629,"avatar_url":"https://avatars.githubusercontent.com/u/8973629?v=3","gravatar_id":"","url":"https://api.github.com/users/kevpl","html_url":"https://github.com/kevpl","followers_url":"https://api.github.com/users/kevpl/followers","following_url":"https://api.github.com/users/kevpl/following{/other_user}","gists_url":"https://api.github.com/users/kevpl/gists{/gist_id}","starred_url":"https://api.github.com/users/kevpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevpl/subscriptions","organizations_url":"https://api.github.com/users/kevpl/orgs","repos_url":"https://api.github.com/users/kevpl/repos","events_url":"https://api.github.com/users/kevpl/events{/privacy}","received_events_url":"https://api.github.com/users/kevpl/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T16:42:50Z","updated_at":"2016-10-03T16:42:50Z","body":"@puppetlabs-jenkins retest this please"}}
{"actor":{"display_login":"kevpl"}}