{"action":"created","issue":{"url":"https://api.github.com/repos/crowbar/crowbar-core/issues/672","repository_url":"https://api.github.com/repos/crowbar/crowbar-core","labels_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/672/comments","events_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/672/events","html_url":"https://github.com/crowbar/crowbar-core/pull/672","id":178298176,"number":672,"title":"adapt the prechecks API","user":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"assignees":[{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},{"login":"rsalevsky","id":4128547,"avatar_url":"https://avatars.githubusercontent.com/u/4128547?v=3","gravatar_id":"","url":"https://api.github.com/users/rsalevsky","html_url":"https://github.com/rsalevsky","followers_url":"https://api.github.com/users/rsalevsky/followers","following_url":"https://api.github.com/users/rsalevsky/following{/other_user}","gists_url":"https://api.github.com/users/rsalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rsalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsalevsky/subscriptions","organizations_url":"https://api.github.com/users/rsalevsky/orgs","repos_url":"https://api.github.com/users/rsalevsky/repos","events_url":"https://api.github.com/users/rsalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/rsalevsky/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-09-21T09:48:46Z","updated_at":"2016-10-04T15:04:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/672","html_url":"https://github.com/crowbar/crowbar-core/pull/672","diff_url":"https://github.com/crowbar/crowbar-core/pull/672.diff","patch_url":"https://github.com/crowbar/crowbar-core/pull/672.patch"},"body":"we are including specific errors now in the response\r\n\r\nexample:\r\n\r\n```json\r\n{\r\n  \"checks\": {\r\n    \"network_checks\": {\r\n      \"required\": true,\r\n      \"passed\": true,\r\n      \"errors\": []\r\n    },\r\n    \"maintenance_updates_installed\": {\r\n      \"required\": true,\r\n      \"passed\": false,\r\n      \"errors\": [\r\n        {\r\n          \"code\": \"maintenance_updates_installed\",\r\n          \"data\": [\r\n            \"ZYPPER_EXIT_INF_UPDATE_NEEDED: patches available for installation.\"\r\n          ],\r\n          \"help\": \"make sure maintenance updates are installed\"\r\n        }\r\n      ]\r\n    },\r\n    \"clusters_healthy\": {\r\n      \"required\": true,\r\n      \"passed\": true,\r\n      \"errors\": []\r\n    },\r\n    \"compute_resources_available\": {\r\n      \"required\": false,\r\n      \"passed\": true,\r\n      \"errors\": []\r\n    },\r\n    \"ceph_healthy\": {\r\n      \"required\": true,\r\n      \"passed\": true,\r\n      \"errors\": []\r\n    }\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/crowbar/crowbar-core/issues/comments/251415394","html_url":"https://github.com/crowbar/crowbar-core/pull/672#issuecomment-251415394","issue_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/672","id":251415394,"user":{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T15:04:05Z","updated_at":"2016-10-04T15:04:05Z","body":"@aspiers , are you still requesting changes here?"}}
{"actor":{"display_login":"jsuchome"}}