{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/5292","repository_url":"https://api.github.com/repos/theforeman/foreman","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/5292/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/5292/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/5292/events","html_url":"https://github.com/theforeman/foreman/pull/5292","id":302296982,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcyODY0ODM0","number":5292,"title":"Fixes #21007 - new unattended action 'failed'","user":{"login":"lzap","id":49752,"node_id":"MDQ6VXNlcjQ5NzUy","avatar_url":"https://avatars0.githubusercontent.com/u/49752?v=4","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"labels":[{"id":79040689,"node_id":"MDU6TGFiZWw3OTA0MDY4OQ==","url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04","default":false},{"id":79040085,"node_id":"MDU6TGFiZWw3OTA0MDA4NQ==","url":"https://api.github.com/repos/theforeman/foreman/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-05T13:20:08Z","updated_at":"2018-06-13T13:00:05Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/5292","html_url":"https://github.com/theforeman/foreman/pull/5292","diff_url":"https://github.com/theforeman/foreman/pull/5292.diff","patch_url":"https://github.com/theforeman/foreman/pull/5292.patch"},"body":"Introduces new unattended action \"failed\" which can be used to exit\nbuild mode with error which is then reported in host status. In addition\nto that, both built and failed actions now accepts plain text in the\nHTTP GET body which is logged into Rails logger (debug or warn depending\non the action) and also stored in build_errors new field which is used\nto identify if build was successful or not.\n\nThe patch also adds `initiated_at` colum which stores time and date when\nthe host entered build mode. This allows reporting of:\n\n1) How long it took to build the host\n2) How long the host is already in build mode\n\nThis will work even when tokens are disabled.\n\nTo take advantage of the new \"failed\" call, provisioning template must\nbe changed. I will file a change for kickstart template."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/396928343","html_url":"https://github.com/theforeman/foreman/pull/5292#issuecomment-396928343","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/5292","id":396928343,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkyODM0Mw==","user":{"login":"lzap","id":49752,"node_id":"MDQ6VXNlcjQ5NzUy","avatar_url":"https://avatars0.githubusercontent.com/u/49752?v=4","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T13:00:05Z","updated_at":"2018-06-13T13:00:05Z","author_association":"MEMBER","body":"Rebased, let's do this! :-)"}}
{"actor":{"display_login":"lzap"}}