docker image build failure 2022-02-01

Bug #1959694 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Scott Little

Bug Description

Brief Description
-----------------
CENGN failed to build the following two images during the 20220201T024252Z container build.

stx-fm-trap-subagent
stx-snmp

Severity
--------
Critical

Steps to Reproduce
------------------
build-stx-images.sh --prefix master --latest-prefix master --os centos --stream stable --version 20220201T024252Z --base docker.io/starlingx/stx-centos:master-stable-20220201T024252Z --wheels http://mirror.starlingx.cengn.ca:80//mirror/starlingx/master/centos/containers/20220201T024252Z/outputs/wheels/stx-centos-stable-wheels.tar --user starlingx --registry docker.io

Expected Behavior
------------------
All container images build

Actual Behavior
----------------
stx-fm-trap-subagent and stx-snmp fail to build

Reproducibility
---------------
TBD

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
StarlingX master,
Timestamp 20220201T024252Z

Last Pass
---------
20220128T165659Z

Timestamp/Logs
--------------
Step 2/16 : RUN yum -y update && yum upgrade
---> Running in 10b8df7b925e
CentOS-8 - AppStream 175 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
The command '/bin/sh -c yum -y update && yum upgrade' returned a non-zero code: 1

Test Activity
-------------
Build

Workaround
----------
N/A

Revision history for this message
Scott Little (slittle1) wrote :

It appears that CentOS 8.5.2111 has been moved to the vault

Changed in starlingx:
assignee: nobody → Scott Little (slittle1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/827339

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Critical
tags: added: stx.7.0 stx.build
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/827339
Committed: https://opendev.org/starlingx/tools/commit/d6e8888974df8301bedc8588e03d929dced8d22c
Submitter: "Zuul (22348)"
Branch: master

commit d6e8888974df8301bedc8588e03d929dced8d22c
Author: Scott Little <email address hidden>
Date: Tue Feb 1 13:51:01 2022 -0500

    Centos 8.5 moved to vault

    Closes-bug: 1959694
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: I6d733b9a6d962f1e6c92291aa39b8af1717b1f53

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to snmp-armada-app (master)
Scott Little (slittle1)
Changed in starlingx:
status: Fix Released → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to snmp-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/snmp-armada-app/+/827716
Committed: https://opendev.org/starlingx/snmp-armada-app/commit/9ac9f7878b5d9a9ddf88e5c1fb824bc5e57911c0
Submitter: "Zuul (22348)"
Branch: master

commit 9ac9f7878b5d9a9ddf88e5c1fb824bc5e57911c0
Author: Scott Little <email address hidden>
Date: Thu Feb 3 11:34:02 2022 -0500

    fix yum urls for vaulted CentOS 8

    CentOS 8 has been vaulted. We need to fix the yum urls
    to continue to use it.

    A longer term fix is to migrate to a new/different base image,
    but is outside the scope of this fix which only addresses
    broken builds.

    Closes-bug: 1959694
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: Id8b32ee27a65f74c616b07e37f8f5f2914176264

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.