Project

General

Profile

Actions

Bug #16711

closed

sudo yum install -y kernel fails

Added by Loïc Dachary almost 8 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

http://pulpito.ceph.com/teuthology-2016-07-17_04:20:03-upgrade:jewel-x-master-distro-basic-vps/319488/

2016-07-17T08:28:27.269 INFO:teuthology.orchestra.run.vpm011:Running: 'sudo yum install -y kernel'
2016-07-17T08:28:57.715 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:57.734 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:57.736 INFO:teuthology.orchestra.run.vpm011.stderr: One of the configured repositories failed (Unknown),
2016-07-17T08:28:57.798 INFO:teuthology.orchestra.run.vpm011.stderr: and yum doesn't have enough cached data to continue. At this point the only
2016-07-17T08:28:57.858 INFO:teuthology.orchestra.run.vpm011.stderr: safe thing yum can do is fail. There are a few ways to work "fix" this:
2016-07-17T08:28:57.898 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:57.957 INFO:teuthology.orchestra.run.vpm011.stderr:     1. Contact the upstream for the repository and get them to fix the problem.
2016-07-17T08:28:58.035 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.047 INFO:teuthology.orchestra.run.vpm011.stderr:     2. Reconfigure the baseurl/etc. for the repository, to point to a working
2016-07-17T08:28:58.085 INFO:teuthology.orchestra.run.vpm011.stderr:        upstream. This is most often useful if you are using a newer
2016-07-17T08:28:58.094 INFO:teuthology.orchestra.run.vpm011.stderr:        distribution release than is supported by the repository (and the
2016-07-17T08:28:58.132 INFO:teuthology.orchestra.run.vpm011.stderr:        packages for the previous distribution release still work).
2016-07-17T08:28:58.208 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.234 INFO:teuthology.orchestra.run.vpm011.stderr:     3. Disable the repository, so yum won't use it by default. Yum will then
2016-07-17T08:28:58.292 INFO:teuthology.orchestra.run.vpm011.stderr:        just ignore the repository until you permanently enable it again or use
2016-07-17T08:28:58.338 INFO:teuthology.orchestra.run.vpm011.stderr:        --enablerepo for temporary usage:
2016-07-17T08:28:58.379 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.393 INFO:teuthology.orchestra.run.vpm011.stderr:            yum-config-manager --disable <repoid>
2016-07-17T08:28:58.440 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.478 INFO:teuthology.orchestra.run.vpm011.stderr:     4. Configure the failing repository to be skipped, if it is unavailable.
2016-07-17T08:28:58.514 INFO:teuthology.orchestra.run.vpm011.stderr:        Note that yum will try to contact the repo. when it runs most commands,
2016-07-17T08:28:58.600 INFO:teuthology.orchestra.run.vpm011.stderr:        so will have to try and fail each time (and thus. yum will be be much
2016-07-17T08:28:58.658 INFO:teuthology.orchestra.run.vpm011.stderr:        slower). If it is a very temporary problem though, this is often a nice
2016-07-17T08:28:58.703 INFO:teuthology.orchestra.run.vpm011.stderr:        compromise:
2016-07-17T08:28:58.710 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.773 INFO:teuthology.orchestra.run.vpm011.stderr:            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
2016-07-17T08:28:58.779 INFO:teuthology.orchestra.run.vpm011.stderr:
2016-07-17T08:28:58.780 INFO:teuthology.orchestra.run.vpm011.stderr:Cannot find a valid baseurl for repo: base/7/x86_64
Actions #1

Updated by Zack Cerza over 7 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF