Dockerfile no longer works - Centos 7.8 has moved to vault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
Current Dockerfile in tools.git specifies the wrong URL for centos 7.8.
Centos has relocated 7.8 from mirror.
to vault.centos.
It is no longer possible to create new docker build environmnets
Severity
--------
Critical
Steps to Reproduce
------------------
tb.sh create
Expected Behavior
------------------
docker build env is created
Actual Behavior
----------------
command failes. Docker build env is not created.
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Nov 18
Last Pass
---------
Nov 17
Timestamp/Logs
--------------
Step 10/45 : RUN rpm --import /etc/pki/
---> Running in 19cedb672b91
Loaded plugins: ovl
Cleaning repos: centos-extras centos-os epel
Loaded plugins: ovl
http://
Trying other mirror.
To address this issue please refer to the below wiki article
https:/
If above article doesn't help to resolve this issue please use https:/
One of the configured repositories failed (centos-extras),
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
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
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:
failure: repodata/repomd.xml from centos-extras: [Errno 256] No more mirrors to try.
http://
Test Activity
-------------
Build
Workaround
----------
N/A
Reviewed: https:/ /review. opendev. org/763258 /opendev. org/starlingx/ tools/commit/ ec588cd4088b9f7 b7c57ab11fcdc38 98bd0d1d4a
Committed: https:/
Submitter: Zuul
Branch: master
commit ec588cd4088b9f7 b7c57ab11fcdc38 98bd0d1d4a
Author: Scott Little <email address hidden>
Date: Wed Nov 18 15:22:16 2020 -0500
Dockerfile: Centos 7.8 has moved to vault
Centos 7.8 has relocated centos. org/centos/ 7.8.2003/ org/centos/ 7.8.2003/ .
from mirror.
to vault.centos.
This will cause 'tb.sh create' to fail.
Pre-existing docker build environments should
continue to work.
This update adjusts the url within the dockerfile
to reflect the new location.
Closes-bug: 1904785 738e5f570ea36e4 63720ccf6bf
Change-Id: I0f44ddfc0d126c
Signed-off-by: Scott Little <email address hidden>