AIO-SX upgrade-activate failed due to deployment plugin installation failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Sharang Bhardwaj |
Bug Description
Brief Description
AIO-SX upgrade from 22.12 prestaging load (2024-02-
The host is upgraded successfully and running 24.03, all services are enabled, no alarms.
The upgrade activation failed with errors:
Tuesday 27 February 2024 10:29:21 +0000 (0:00:00.096) 0:00:14.138 ******
cmd: KUBECONFIG=
delta: '0:00:00.114516'
end: '2024-02-27 10:29:22.434627'
start: '2024-02-27 10:29:22.320111'
stderr: |-
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/kubernetes
Error: failed to parse /usr/local/
PLAY RECAP *******
localhost : ok=24 changed=10 unreachable=0 failed=1 skipped=22 rescued=0 ignored=3
Tuesday 27 February 2024 10:29:22 +0000 (0:00:00.595) 0:00:14.733 ******
sysadmin@
Severity
Major
Steps to Reproduce
Upgrade an AIO-SX from 22.12 prestaging load to 24.09 master load
Expected Behavior
Upgrade activation to complete
Actual Behavior
Upgrade activation failed
Reproducibility
100%
System Configuration
vbox
Load info (eg: 2022-03-
22.12 BUILD_ID=
24.03 designer load
Last Pass
N/A
Timestamp/Logs
/folk/cgts_
Alarms
No
Test Activity
Feature Testing
Workaround
Describe workaround if available
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.update |
Changed in starlingx: | |
assignee: | nobody → Sharang Bhardwaj (sbhardwa) |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/910705 /opendev. org/starlingx/ config/ commit/ a6113eb85c19e5e a51323f78c5936a e7abf5af64
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a6113eb85c19e5e a51323f78c5936a e7abf5af64
Author: sharang bhardwaj <email address hidden>
Date: Fri Mar 1 02:06:34 2024 -0500
Retrieve only the deploy plug-in helm-chart
Fetching the deploy plug-in helm-chart by using manager. tgz" in the share/applicati ons/helm/ for
the command "grep "deployment-
directory /usr/local/
the purpose of deploying an upgrade to deploy plug-in.
Due to recent developments in the deploy plug-in application, a new helm-chart is generated with manager_ *tgz. The
system-
the naming convention deployment-
current retrieval process is obtaining both
deploy plug-in and system application helm-charts.
To address this, a hyphen ("-") has been added to the manager" ) to specifically
grep command ("-deployment-
check for deploy plug-in and exclude the system-application.
Test-Plan:
PASS: Verify the deploy plug-in helm-chart is retrieved.
PASS: Verify the deploy plug-in is refreshed when it
is installed
Closes-Bug: 2055699
Change-Id: I9d8ae5d491f6a9 cacca1e68574c4c b4431264342
Signed-off-by: sharang bhardwaj <email address hidden>