{"action":"opened","issue":{"url":"https://api.github.com/repos/scaleway/image-centos/issues/32","repository_url":"https://api.github.com/repos/scaleway/image-centos","labels_url":"https://api.github.com/repos/scaleway/image-centos/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/scaleway/image-centos/issues/32/comments","events_url":"https://api.github.com/repos/scaleway/image-centos/issues/32/events","html_url":"https://github.com/scaleway/image-centos/issues/32","id":325027593,"number":32,"title":"New yum failure caused by centos-userland-release-7-5.1804 for armv7hl","user":{"login":"justinclift","id":406299,"avatar_url":"https://avatars2.githubusercontent.com/u/406299?v=4","gravatar_id":"","url":"https://api.github.com/users/justinclift","html_url":"https://github.com/justinclift","followers_url":"https://api.github.com/users/justinclift/followers","following_url":"https://api.github.com/users/justinclift/following{/other_user}","gists_url":"https://api.github.com/users/justinclift/gists{/gist_id}","starred_url":"https://api.github.com/users/justinclift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinclift/subscriptions","organizations_url":"https://api.github.com/users/justinclift/orgs","repos_url":"https://api.github.com/users/justinclift/repos","events_url":"https://api.github.com/users/justinclift/events{/privacy}","received_events_url":"https://api.github.com/users/justinclift/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T19:13:56Z","updated_at":"2018-05-21T19:13:56Z","closed_at":null,"author_association":"NONE","body":"Created a few new C1 servers today, as part of an infrastructure migration test.\r\n\r\nOne of the first things the new servers do is run a `yum update`.  While that works (after PR #26 is manually applied), the centos-userland-release-7-5.1804.el7.centos.0.7.armv7hl package which gets pulled in has an invalid repo spec.\r\n\r\nThis causes subsequent `yum updates` to fail with a 404:\r\n\r\n```\r\n# yum update\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nhttp://mirror.centos.org/altarch/7/kernel/armhfp/kernel-%24kvariant/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found\r\nTrying other mirror.\r\nTo address this issue please refer to the below wiki article \r\n\r\nhttps://wiki.centos.org/yum-errors\r\n\r\nIf above article doesn't help to resolve this issue please use https://bugs.centos.org/.\r\n\r\n\r\n\r\n One of the configured repositories failed (CentOS Kernels for armhfp),\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. Run the command with the repository temporarily disabled\r\n            yum --disablerepo=centos-kernel ...\r\n\r\n     4. Disable the repository permanently, so yum won't use it by default. Yum\r\n        will then just ignore the repository until you permanently enable it\r\n        again or use --enablerepo for temporary usage:\r\n\r\n            yum-config-manager --disable centos-kernel\r\n        or\r\n            subscription-manager repos --disable=centos-kernel\r\n\r\n     5. 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=centos-kernel.skip_if_unavailable=true\r\n\r\nfailure: repodata/repomd.xml from centos-kernel: [Errno 256] No more mirrors to try.\r\nhttp://mirror.centos.org/altarch/7/kernel/armhfp/kernel-$kvariant/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found\r\n```\r\n\r\nNot sure of the correct fix yet.  For now, manually disabling the new `/etc/yum.repos.d/CentOS-armhfp-kernel.repo` repo seems to work. "}}
{"actor":{"display_login":"justinclift"}}