One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid>
or subscription-manager repos --disable=<repoid>
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
eg. http:// logs.openstack. org/77/ 493377/ 1/check/ legacy- tempest- dsvm-networking -midonet- aio-ml2- full-centos- 7/77e1950/ logs/devstack- early.txt. gz
+ functions- common: yum_install: 1352 : sudo_with_proxies yum install -y epel-release common: sudo_with_ proxies: 2463 : local sudo common: sudo_with_ proxies: 2465 : id -u common: sudo_with_ proxies: 2465 : [[ 1002 = \0 ]] common: sudo_with_ proxies: 2465 : sudo=sudo common: sudo_with_ proxies: 2467 : sudo http_proxy= https_proxy= no_proxy= yum install -y epel-release
+ functions-
++ functions-
+ functions-
+ functions-
+ functions-
Loaded plugins: fastestmirror
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
distribution release than is supported by the repository (and the
upstream. This is most often useful if you are using a newer
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled <repoid> ...
yum --disablerepo=
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
or
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
Cannot find a valid baseurl for repo: epel-bootstrap/ x86_64 mirrors. fedoraproject. org/mirrorlist? repo=epel- 7&arch= x86_64 error was 3010:600: dead:beef: cafe:fed9: Network is unreachable" common: yum_install: 1352 : echo YUM_FAILED 1 common: yum_install: 1353 : result=1 common: yum_install: 1355 : time_stop yum_install common: time_stop: 2509 : local name common: time_stop: 2510 : local end_time common: time_stop: 2511 : local elapsed_time common: time_stop: 2512 : local total common: time_stop: 2513 : local start_time common: time_stop: 2515 : name=yum_install common: time_stop: 2516 : start_time= 1508918493200 common: time_stop: 2518 : [[ -z 1508918493200 ]] common: time_stop: 2521 : date +%s%3N common: time_stop: 2521 : end_time= 1508918495001 common: time_stop: 2522 : elapsed_time=1801 common: time_stop: 2523 : total=0 common: time_stop: 2525 : _TIME_START[$name]= common: time_stop: 2526 : _TIME_TOTAL[ $name]= 1801 common: yum_install: 1364 : '[' 1 == 2 ']' common: yum_install: 1368 : return 1 sh:_install_ epel_and_ rdo:324 : die 324 'Error installing EPEL repo, cannot continue' common: die:186 : local exitcode=1 common: die:187 : set +o xtrace sh:388: _install_ epel_and_ rdo
Could not retrieve mirrorlist http://
14: curl#7 - "Failed to connect to 2605:bc80:
+ functions-
YUM_FAILED 1
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
++ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ ./stack.
+ functions-
+ functions-
[Call Trace]
./stack.
./stack.sh:324:die
[ERROR] ./stack.sh:324 Error installing EPEL repo, cannot continue