Upgrade: 76-remove-armada-if-unused activation failed. Armada image not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
David Barbosa Bastos |
Bug Description
Brief Description
-----------------
Execution of script 76 failed due to not correctly finding Armada images. This causes the upgrade-activate step to fail.
The armada image is not just airshipt/armada, you also need to remove starlingx/
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
From 22.12 Prestaging build, upgrade to master (23.09). This error is seen during controller 0 activation.
Expected Behavior
------------------
controller-0 should complete activation
Actual Behavior
----------------
controller-0 doesn't complete activation
Reproducibility
---------------
Reproducible
System Configuration
-------
SX and DX
Branch/Pull Time/Commit
-------
SW_VERSION="23.09"
BUILD_TARGET=
BUILD_TYPE=
BUILD_ID="n/a"
Last Pass
---------
https:/
Timestamp/Logs
--------------
[sysadmin@
+------
| Image Name |
+------
| docker.
| docker.
| docker.
| docker.
| docker.
| docker.
| gcr.io/
| ghcr.io/helm/tiller |
| ghcr.io/
| ghcr.io/
| ghcr.io/
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.io/etcd |
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.
| k8s.gcr.io/pause |
| quay.io/calico/cni |
| quay.io/
| quay.io/calico/node |
| quay.io/
| quay.io/
| quay.io/
| quay.io/
| quay.io/
| quay.io/
| quay.io/
| registry.
| registry.
| registry.
| registry.
+------
Test Activity
-------------
Developer Testing
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → David Barbosa Bastos (dbarbosa-wr) |
Changed in starlingx: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/904808 /opendev. org/starlingx/ config/ commit/ 58c8f8ced6e461a 8ee886c84dab542 7377f3cfa1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 58c8f8ced6e461a 8ee886c84dab542 7377f3cfa1
Author: dbarbosa <email address hidden>
Date: Thu Jan 4 10:08:35 2024 -0300
Armada image not found by script 76
This change fixes the removal of Armada images from registry. armada- image. armada- image key was added to
Initially it was thought that it would only have the
airshipt/armada image, but there is also starlingx/
To resolve this, the starlingx/
the images to be deleted.
Test Plan: armada- if-unused. py script is run
PASS Build pkgs and build image
PASS Upgrade SX stx-8 -> master
PASS When the 76-remove-
no error appears and at the end of activation no Armada
image is found.
Closes-Bug: 2048400
Change-Id: I91ed6a2f8bd047 8d845a68716ea6e 19b978c47f9
Signed-off-by: David Bastos <email address hidden>