{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/524","repository_url":"https://api.github.com/repos/saltstack/salt-bootstrap","labels_url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/524/comments","events_url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/524/events","html_url":"https://github.com/saltstack/salt-bootstrap/issues/524","id":52768157,"number":524,"title":"Bootstrap doesn't handle a bad EPEL mirror very well","user":{"login":"gravyboat","id":1396878,"avatar_url":"https://avatars.githubusercontent.com/u/1396878?v=3","gravatar_id":"","url":"https://api.github.com/users/gravyboat","html_url":"https://github.com/gravyboat","followers_url":"https://api.github.com/users/gravyboat/followers","following_url":"https://api.github.com/users/gravyboat/following{/other_user}","gists_url":"https://api.github.com/users/gravyboat/gists{/gist_id}","starred_url":"https://api.github.com/users/gravyboat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravyboat/subscriptions","organizations_url":"https://api.github.com/users/gravyboat/orgs","repos_url":"https://api.github.com/users/gravyboat/repos","events_url":"https://api.github.com/users/gravyboat/events{/privacy}","received_events_url":"https://api.github.com/users/gravyboat/received_events","type":"User","site_admin":false},"labels":[{"id":20623885,"url":"https://api.github.com/repos/saltstack/salt-bootstrap/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":238929668,"url":"https://api.github.com/repos/saltstack/salt-bootstrap/labels/High%20Severity","name":"High Severity","color":"ff9143","default":false},{"id":238929398,"url":"https://api.github.com/repos/saltstack/salt-bootstrap/labels/P3","name":"P3","color":"0a3d77","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt-bootstrap/milestones/8","html_url":"https://github.com/saltstack/salt-bootstrap/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt-bootstrap/milestones/8/labels","id":1980650,"number":8,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":4,"state":"open","created_at":"2016-09-02T17:46:21Z","updated_at":"2016-11-28T21:45:30Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2014-12-23T19:31:16Z","updated_at":"2016-11-30T17:15:37Z","closed_at":null,"body":"Over the past day or two one of my coworkers has been getting this error which I'm assuming is due to a crappy EPEL mirror near where they are located:\n\n```\nINFO: Running install_centos_stable_deps()\ncurl: (7) couldn't connect to host\nerror: skipping http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm - transfer failed\nRetrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm\n * ERROR: Failed to run install_centos_stable_deps()!!!\n```\n\n@s0undt3ch What's your opinion on trying to work in some sort of function to handle epel in situations like this? I'm thinking we could just do a sed in `/etc/yum.repos.d/epel.repo` to replace `mirrorlist` with `baseurl`, then refresh the data and try again. There's still the chance it could fail and it will be slower, but at least it gets you around mirrors that aren't working.\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/comments/263934407","html_url":"https://github.com/saltstack/salt-bootstrap/issues/524#issuecomment-263934407","issue_url":"https://api.github.com/repos/saltstack/salt-bootstrap/issues/524","id":263934407,"user":{"login":"gravyboat","id":1396878,"avatar_url":"https://avatars.githubusercontent.com/u/1396878?v=3","gravatar_id":"","url":"https://api.github.com/users/gravyboat","html_url":"https://github.com/gravyboat","followers_url":"https://api.github.com/users/gravyboat/followers","following_url":"https://api.github.com/users/gravyboat/following{/other_user}","gists_url":"https://api.github.com/users/gravyboat/gists{/gist_id}","starred_url":"https://api.github.com/users/gravyboat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravyboat/subscriptions","organizations_url":"https://api.github.com/users/gravyboat/orgs","repos_url":"https://api.github.com/users/gravyboat/repos","events_url":"https://api.github.com/users/gravyboat/events{/privacy}","received_events_url":"https://api.github.com/users/gravyboat/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T17:15:37Z","updated_at":"2016-11-30T17:15:37Z","body":"Almost 100% of the time isn't 100% of the time (in the event the Fedora servers are up). Users need to be able to always get the latest release. It was 100% for me until I ran into this issue almost 2 years ago. The mirrors should still be used and then fall back to the base fedora servers only after they fail. Downloading directly from Fedora can be really slow."}}
{"actor":{"display_login":"gravyboat"}}