{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/81","repository_url":"https://api.github.com/repos/Katello/katello-client-bootstrap","labels_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/81/comments","events_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/81/events","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/81","id":158152470,"number":81,"title":"Multiple architectures, download and error reporting","user":{"login":"lzap","id":49752,"avatar_url":"https://avatars.githubusercontent.com/u/49752?v=3","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-02T14:18:11Z","updated_at":"2016-06-09T20:07:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/pulls/81","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/81","diff_url":"https://github.com/Katello/katello-client-bootstrap/pull/81.diff","patch_url":"https://github.com/Katello/katello-client-bootstrap/pull/81.patch"},"body":"I am doing multiple architectures testing via bootstrap script and I hit several issues I am going to fix in this PR.\r\n\r\n1) Architecture was fixed only to 64 and 32 bit intels, also the 32 variant was not named right. This now uses uname to deliver correct architecture names as reported by Puppet / Facter.\r\n\r\n2) Download only for yum. I am testing this script with lazy repositories with multiple concurrent connections and there seems to be some limitations in Satellite 6.2 beta which makes Pulp/Squid to fail with 403 or 404 errors until the RPM package is properly loaded. New option allows to call yum with `--downloadonly` multiple times until it returns correctly.\r\n\r\n3) Satellite returns 201 when host already exists during creation call, but the Python built-in library treats 201 as an error which is incorrect. New provided which handles this correctly is supplied to prevent this kind of mis-behavior.\r\n\r\nI am still currently testing this patch, but feel free to review now."},"comment":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/comments/225010816","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/81#issuecomment-225010816","issue_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/81","id":225010816,"user":{"login":"evgeni","id":94284,"avatar_url":"https://avatars.githubusercontent.com/u/94284?v=3","gravatar_id":"","url":"https://api.github.com/users/evgeni","html_url":"https://github.com/evgeni","followers_url":"https://api.github.com/users/evgeni/followers","following_url":"https://api.github.com/users/evgeni/following{/other_user}","gists_url":"https://api.github.com/users/evgeni/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeni/subscriptions","organizations_url":"https://api.github.com/users/evgeni/orgs","repos_url":"https://api.github.com/users/evgeni/repos","events_url":"https://api.github.com/users/evgeni/events{/privacy}","received_events_url":"https://api.github.com/users/evgeni/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T20:07:25Z","updated_at":"2016-06-09T20:07:25Z","body":"Shouldn't HTTP 201 be returned when the request *triggered* the creation, and if the host already existed it should be rather something in the 4xx or 5xx range?"}}
{"actor":{"display_login":"evgeni"}}