Container layer build failure on stx-platformclients

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

Bug Description

Brief Description
-----------------
CENGN Container layer build failed on package stx-platformclients.

It seems this container didn't get the message that we've switched to kubernetes-1.21.8-1.21.8-1.tis.1.src.rpm

Severity
--------
Critical

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

Expected Behavior
------------------
All containers build

Actual Behavior
----------------
failed to build container stx-platformclients

Reproducibility
---------------
100%

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

Branch/Pull Time/Commit
-----------------------
Jan 20, 2022

Last Pass
---------
Jan 17, 2022

Timestamp/Logs
--------------
05:10:32 No package kubernetes-1.21.3-client available.
05:10:33 Error: Not tolerating missing names on install, stopping.
05:10:33 The command '/bin/sh -c /opt/loci/scripts/install.sh' returned a non-zero code: 1
05:10:33 Command (docker) failed, attempt 5 of 5.
05:10:33 Max command attempts reached. Aborting...
05:10:33 Failed to build stx-platformclients... Aborting

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

Workaround
----------
n/A

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Critical
tags: added: stx.7.0 stx.build stx.containers
Revision history for this message
Ghada Khalil (gkhalil) wrote (last edit ):

screening: stx.7.0 / critical - issue results in a build failure for stx master branch builds.

The following commit is likely causing the build failure: https://review.opendev.org/c/starlingx/upstream/+/822356
This commit is pointing to k8s v1.21.3 whereas the version in stx was recently updated to 1.21.8 via https://review.opendev.org/q/topic:%22replace_k8s%22+(status:open%20OR%20status:merged)

Changed in starlingx:
assignee: nobody → Thiago Oliveira Miranda (thiagooliveiramiranda)
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to upstream (master)

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

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

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/825543
Committed: https://opendev.org/starlingx/upstream/commit/7175469644141f98d5e089606572bc437dd54998
Submitter: "Zuul (22348)"
Branch: master

commit 7175469644141f98d5e089606572bc437dd54998
Author: Thiago Miranda <email address hidden>
Date: Thu Jan 20 11:03:15 2022 -0500

    Fix incorrect kubectl client version in stx-platformclients

    With the change from kubernetes-1.21.3 to kubernetes-1.21.8, this
    image was not updated on time. This commit fix this, by using the
    new kubectl version 1.21.8.

    Test Plan:
    1) Rebuilt stx-platformclients and tested the new kubectl version

    Partial-Bug: #1958551

    Signed-off-by: Thiago Miranda <email address hidden>
    Change-Id: I8ef2b77cc3034660f38ba6c1ab7442008800b4be

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

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

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

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

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

Reviewed: https://review.opendev.org/c/starlingx/root/+/825884
Committed: https://opendev.org/starlingx/root/commit/04fc1ecec9727d00b4d1b51cd176184bd7d81103
Submitter: "Zuul (22348)"
Branch: master

commit 04fc1ecec9727d00b4d1b51cd176184bd7d81103
Author: Thiago Miranda <email address hidden>
Date: Fri Jan 21 16:32:59 2022 -0500

    Update stx-platformclients tag to stx.7.0-v1.5.5

    This commit updates the image with the updated clients and the fix
    of the old kubectl version. It was in the 1.21.3, now its updated to
    the correct version 1.21.8.

    Partial-Bug: #1958551

    Signed-off-by: Thiago Miranda <email address hidden>
    Change-Id: I9559020a82b84f7cfa63ad2fc4833c39504b7cac

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

Reviewed: https://review.opendev.org/c/starlingx/clients/+/825885
Committed: https://opendev.org/starlingx/clients/commit/c6152f60226e97b0c2111abb945d8b6a4ccc3054
Submitter: "Zuul (22348)"
Branch: master

commit c6152f60226e97b0c2111abb945d8b6a4ccc3054
Author: Thiago Miranda <email address hidden>
Date: Fri Jan 21 16:38:33 2022 -0500

    Update stx-platformclients image to version stx.7.0-v1.5.5

    Updated image with the new fixes since the last build and fixes the
    kubectl version from 1.21.3 to 1.21.8.

    Closes-Bug: #1958551
    Depends-On: https://review.opendev.org/c/starlingx/root/+/825884

    Signed-off-by: Thiago Miranda <email address hidden>
    Change-Id: I5835502e49f1757b1a8d5ab3a46e8e3db0b36803

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.