Upgrade scripts have different versions merged in upgrade.d folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Heitor Matsui |
Bug Description
Brief Description
-------
During upgrade activation, in /etc/upgrade.d/, two different versions of scripts are mixed together:
$ ls
01-remove-
02-delete-
02-remove-
03-delete-
04-add-
05-oidc-
06-security-
07-remove-vault.sh
08-activate-
09-cleanup-
100-update_
101-configure-
102-create-
103-update-
104-remove-
10-renew-
117-ptp-
11-update-
12-create-
13-add-
13-drbd-
14-populate-
15-update-
16-update-
17-ldap-
18-assert-
18-resize-
196-k8s-
197-reset-
198-update-
199-update-
19-enable-
19-recreate-
20-barbican-
20-k8s-
21-keystone-
21-watch-
22-add-
22-resize-
23-recreate-
24-barbican-
25-keystone-
26-add-
29-mgmt-
30-update_
35-sync-
40-assert-
50-remove-
62-enable-
65-k8s-
66-k8s-
67-update-
80-remove-
82-watch-
83-restart-
86-upgrade-dm.sh
88-remove-
89-sync-
92-reset-
93-update-
94-capabilities
There's, among others, cases like:
20-k8s-
18-resize-
We can see the wrong execution, in software.log (this script is now in position #22):
2024-12-
2024-12-
2024-12-
Severity
-------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
-------
1 - Install stx-8
2 - Upgrade system controller
3 - Upgrade subclouds <- hit issue here
Expected Behavior
-------
Subcloud is upgraded
Actual Behavior
-------
Activate phase failed due to cert-manager error
Reproducibility
-------
Reproduced in two different subclouds
System Configuration
-------
Any
Last Pass
-------
N/A
Timestamp/Logs
-------
In description above.
Alarms
-------
NA
Test Activity
-------
Upgrade Testing
Workaround
-------
NA
Changed in starlingx: | |
assignee: | nobody → Heitor Matsui (heitormatsui) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.10.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/937885
Review: https:/