{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello/issues/5845","repository_url":"https://api.github.com/repos/Katello/katello","labels_url":"https://api.github.com/repos/Katello/katello/issues/5845/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5845/comments","events_url":"https://api.github.com/repos/Katello/katello/issues/5845/events","html_url":"https://github.com/Katello/katello/pull/5845","id":138496639,"number":5845,"title":"fixes #14027 - sync/promote should still succeed if mail notification fails","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Katello/katello/labels/Ready%20for%20merge","name":"Ready for merge","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"jlsherrill","id":395077,"avatar_url":"https://avatars.githubusercontent.com/u/395077?v=3","gravatar_id":"","url":"https://api.github.com/users/jlsherrill","html_url":"https://github.com/jlsherrill","followers_url":"https://api.github.com/users/jlsherrill/followers","following_url":"https://api.github.com/users/jlsherrill/following{/other_user}","gists_url":"https://api.github.com/users/jlsherrill/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsherrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsherrill/subscriptions","organizations_url":"https://api.github.com/users/jlsherrill/orgs","repos_url":"https://api.github.com/users/jlsherrill/repos","events_url":"https://api.github.com/users/jlsherrill/events{/privacy}","received_events_url":"https://api.github.com/users/jlsherrill/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-03-04T15:03:21Z","updated_at":"2016-03-09T19:06:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5845","html_url":"https://github.com/Katello/katello/pull/5845","diff_url":"https://github.com/Katello/katello/pull/5845.diff","patch_url":"https://github.com/Katello/katello/pull/5845.patch"},"body":"Currently, even with the Skip strategy, e-mail notifications cause the entire\r\njob to be in a warning state. It's misleading as syncs and promotes would\r\nshow incomplete.\r\n\r\nErrataMail actions should never fail, just log the failure in the action output\r\nand rails log.\r\n\r\nNote: If you want to test this, setup `email.yaml` to have an unresolvable hostname:\r\n\r\n```\r\ndevelopment:\r\n  delivery_method: :smtp\r\n  smtp_settings:\r\n    address: smtp.exampl2345924582348e.com\r\n    port: 25\r\n    domain: example.com\r\n    authentication: :none\r\n```\r\n\r\nYou'll also need to enable delivery errors in development mode, in `config/environments/development.rb`, set:\r\n\r\n```\r\nconfig.action_mailer.raise_delivery_errors = true\r\n```\r\n\r\nAnd lastly, sync or promote a repo that has new errata.\r\n"},"comment":{"url":"https://api.github.com/repos/Katello/katello/issues/comments/194455704","html_url":"https://github.com/Katello/katello/pull/5845#issuecomment-194455704","issue_url":"https://api.github.com/repos/Katello/katello/issues/5845","id":194455704,"user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T19:06:29Z","updated_at":"2016-03-09T19:06:29Z","body":"Thanks!"}}