stx-mariadb container build failure

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

Bug Description

Brief Description
-----------------
The stx-mariadb container is failing to build.

The upstream URL http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu is no longer available.

It looks like that version 10.2 has fallen out of support and has been taken down. Available versions range from 10.3 to 10.9.

Severity
--------
Critical

Steps to Reproduce
------------------
docker build /localdisk/designer/jenkins/master-containers/cgcs-root/stx/integ/database/mariadb/centos/docker --file /localdisk/designer/jenkins/master-containers/cgcs-root/stx/integ/database/mariadb/centos/docker/Dockerfile --build-arg BASE=docker.io/starlingx/stx-centos:master-stable-20220817T080941Z --no-cache --tag jenkins/stx-mariadb:master-centos-stable-build

Expected Behavior
------------------
container builds

Actual Behavior
----------------
stx-mariadb container fails to build

Reproducibility
---------------
Reproducible

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

Branch/Pull Time/Commit
-----------------------
Aug 17, 2022

Last Pass
---------
Aug 11, 2022

Timestamp/Logs
--------------
The repository 'http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu bionic Release' does not have a Release file.
The command '/bin/sh -c apt-get update && apt-get install -y galera-arbitrator-3' returned a non-zero code: 100

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (master)

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

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/853660
Committed: https://opendev.org/starlingx/integ/commit/df777c46ba1cb0c9d4d3ed7cbd855d12de2168c8
Submitter: "Zuul (22348)"
Branch: master

commit df777c46ba1cb0c9d4d3ed7cbd855d12de2168c8
Author: Al Bailey <email address hidden>
Date: Thu Aug 18 13:39:29 2022 +0000

    Fix the stx-mariadb docker build errors

    When building the docker image, the apt-get update fails
    due to:
       /etc/apt/sources.list.d/mariadb.list
    which contains a repo that no longer exists
      http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu

    To get the docker build to work, that repo needs to
    be removed prior to running the 'update'

    Closes-Bug: 1986828
    Signed-off-by: Al Bailey <email address hidden>
    Change-Id: Ibbb449755717a5dec28deebeb753dc8e993eacb9

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (r/stx.7.0)

Fix proposed to branch: r/stx.7.0
Review: https://review.opendev.org/c/starlingx/integ/+/853636

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (r/stx.7.0)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/853636
Committed: https://opendev.org/starlingx/integ/commit/4414d4534a9ed58ffa7a6152f9fdf4c350747661
Submitter: "Zuul (22348)"
Branch: r/stx.7.0

commit 4414d4534a9ed58ffa7a6152f9fdf4c350747661
Author: Al Bailey <email address hidden>
Date: Thu Aug 18 13:39:29 2022 +0000

    Fix the stx-mariadb docker build errors

    When building the docker image, the apt-get update fails
    due to:
       /etc/apt/sources.list.d/mariadb.list
    which contains a repo that no longer exists
      http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu

    To get the docker build to work, that repo needs to
    be removed prior to running the 'update'

    Closes-Bug: 1986828
    Signed-off-by: Al Bailey <email address hidden>
    Change-Id: Ibbb449755717a5dec28deebeb753dc8e993eacb9
    (cherry picked from commit df777c46ba1cb0c9d4d3ed7cbd855d12de2168c8)

Ghada Khalil (gkhalil)
tags: added: stx.8.0 stx.build
Changed in starlingx:
importance: Undecided → Critical
assignee: nobody → Al Bailey (albailey1974)
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.