stx 6.0: docker image build errors 2022-11-03
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Davlet Panech |
Bug Description
Brief Description
-----------------
Docker images based on CentOS 8 no longer compile. It looks like upstream CentOS 8 repos have been moved to vault:
stx-fm-
stx-mariadb
stx-snmp
Severity
--------
Major
Steps to Reproduce
------------------
Try to build docker images
Expected Behavior
------------------
Build succeeds
Actual Behavior
----------------
Build fails
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
stx.6.0/2022-11-03
Last Pass
---------
stx.6.0/2022-01-13
Timestamp/Logs
--------------
21:45:29 Building stx-fm-
21:45:29 Running: docker build /localdisk/
21:45:32 Sending build context to Docker daemon 75.26kB
21:45:32 Step 1/16 : FROM centos:8 AS builder
21:45:32 ---> 5d0da3dc9764
21:45:32 Step 2/16 : RUN yum -y update && yum upgrade
21:45:32 ---> Running in 4870c884886d
21:45:42 CentOS Linux 8 - AppStream 523 B/s | 38 B 00:00
21:45:42 [91mError: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
21:45:42 [0mThe command '/bin/sh -c yum -y update && yum upgrade' returned a non-zero code: 1
21:45:42 Command (docker) failed, attempt 1 of 5.
21:45:42 Waiting 5 seconds before retrying...
21:45:47 Running: docker build /localdisk/
21:45:48 Sending build context to Docker daemon 75.26kB
Test Activity
-------------
N/A
Workaround
----------
N/A
Changed in starlingx: | |
importance: | Undecided → High |
tags: | added: in-r-st60 stx.6.0 stx.build |
Changed in starlingx: | |
assignee: | nobody → Davlet Panech (dpanech) |
status: | New → Fix Released |
Update:
=======
1) These images fail due to CentOS 8 repos having been moved to vault. Already fixed in 7.0.
stx-fm- trap-subagent
stx-snmp
2) mariadb fails for a different reason. It references package repository URL that appears to have been removed: https:/ /ftp.osuosl. org/pub/ mariadb/ repo/10. 2/ubuntu:
20:58:16 Building stx-mariadb designer/ jenkins/ rc-6.0- containers/ cgcs-root/ stx/integ/ database/ mariadb/ centos/ docker --no-cache --file /localdisk/ designer/ jenkins/ rc-6.0- containers/ cgcs-root/ stx/integ/ database/ mariadb/ centos/ docker/ Dockerfile --build-arg BASE=docker. io/starlingx/ stx-centos: rc-6.0- stable- 20221102T231513 Z --tag jenkins/ stx-mariadb: rc-6.0- centos- stable- build
20:58:16 Running: docker build /localdisk/
20:58:16 Sending build context to Docker daemon 2.048kB
20:58:17 Step 1/3 : FROM openstackhelm/ mariadb: 10.2.18 security. ubuntu. com/ubuntu bionic- security/ universe amd64 Packages [1554 kB] ftp.osuosl. org/pub/ mariadb/ repo/10. 2/ubuntu bionic Release' does not have a Release file. arbitrator- 3' returned a non-zero code: 100
20:58:17 ---> ad585bf77f99
20:58:17 Step 2/3 : RUN apt-get update && apt-get install -y galera-arbitrator-3
20:58:18 ---> Running in 688c0cea97ab
[...]
0:58:27 Get:23 http://
20:58:30 Reading package lists...
20:58:31 [91mE: The repository 'http://
20:58:31 [0mThe command '/bin/sh -c apt-get update && apt-get install -y galera-