{"action":"opened","issue":{"url":"https://api.github.com/repos/dhs-ncats/lambda_functions/issues/2","repository_url":"https://api.github.com/repos/dhs-ncats/lambda_functions","labels_url":"https://api.github.com/repos/dhs-ncats/lambda_functions/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dhs-ncats/lambda_functions/issues/2/comments","events_url":"https://api.github.com/repos/dhs-ncats/lambda_functions/issues/2/events","html_url":"https://github.com/dhs-ncats/lambda_functions/issues/2","id":300383057,"number":2,"title":"Error with yum and amazon mirror when building pshtt function","user":{"login":"konklone","id":4592,"avatar_url":"https://avatars0.githubusercontent.com/u/4592?v=4","gravatar_id":"","url":"https://api.github.com/users/konklone","html_url":"https://github.com/konklone","followers_url":"https://api.github.com/users/konklone/followers","following_url":"https://api.github.com/users/konklone/following{/other_user}","gists_url":"https://api.github.com/users/konklone/gists{/gist_id}","starred_url":"https://api.github.com/users/konklone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konklone/subscriptions","organizations_url":"https://api.github.com/users/konklone/orgs","repos_url":"https://api.github.com/users/konklone/repos","events_url":"https://api.github.com/users/konklone/events{/privacy}","received_events_url":"https://api.github.com/users/konklone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T20:24:19Z","updated_at":"2018-02-26T20:24:19Z","closed_at":null,"author_association":"NONE","body":"When running `docker-compose up build_pshtt`, I got this error:\r\n\r\n```\r\n One of the configured repositories failed (Unknown),\r\n and yum doesn't have enough cached data to continue. At this point the only\r\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\r\n\r\n     1. Contact the upstream for the repository and get them to fix the problem.\r\n\r\n     2. Reconfigure the baseurl/etc. for the repository, to point to a working\r\n        upstream. This is most often useful if you are using a newer\r\n        distribution release than is supported by the repository (and the\r\n        packages for the previous distribution release still work).\r\n\r\n     3. Disable the repository, so yum won't use it by default. Yum will then\r\n        just ignore the repository until you permanently enable it again or use\r\n        --enablerepo for temporary usage:\r\n\r\n            yum-config-manager --disable <repoid>\r\n\r\n     4. Configure the failing repository to be skipped, if it is unavailable.\r\n        Note that yum will try to contact the repo. when it runs most commands,\r\n        so will have to try and fail each time (and thus. yum will be be much\r\n        slower). If it is a very temporary problem though, this is often a nice\r\n        compromise:\r\n\r\n            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\r\n\r\nCannot find a valid baseurl for repo: amzn-main/2017.03\r\nCould not retrieve mirrorlist http://repo.us-west-2.amazonaws.com/2017.03/main/mirror.list error was\r\n12: Timeout on http://repo.us-west-2.amazonaws.com/2017.03/main/mirror.list: (28, 'Resolving timed out after 5540 milliseconds')\r\nERROR: Service 'build_pshtt' failed to build: The command '/bin/sh -c yum -q -y install wget' returned a non-zero code: 1\r\n```"}}
{"actor":{"display_login":"konklone"}}