Cannot select other available k8s versions using Horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Christopher de Oliveira Souza |
Bug Description
Brief Description
-------
From the CLI, we can select any k8s version to be upgraded using "--to-version" option.
Using the Horizon (SystemController region), it seems only the latest version is available to upgrade k8s on the subclouds.
Severity
-------
Major
Steps to Reproduce
-------
1. Install System Controller with k8s v1.21.8
2. Deploy subclouds with k8s v1.21.8
3. Perform k8s upgrade on the System Controller
3.1 Given multi-version K8s ugprade is only supported on AIO-SX (standalone/
$ system health-
$ sw-manager kube-upgrade-
$ sw-manager kube-upgrade-
$ sw-manager kube-upgrade-
3.2 Follow the same steps for v1.23.1 and finally to v1.24.4.
4. Once the System Controller is running the latest, v1.24.4, create orchestration using Horizon
4.1 Select the SystemController region
4.2 Select Distributed Cloud Admin > Orchestration
4.3 On the Orchestration page, select the Orchestration Strategy tab.
4.4 Create a new strategy
4.5 Select a version to be applied for strategy.
Expected Behavior
-------
K8s available versions in the drop-down menu.
Actual Behavior
-------
It seems only the latest applied on the System Controller is been displayed.
Reproducibility
-------
100%
System Configuration
-------
DC
Load info (eg: 2022-03-
-------
22.12.
Last Pass
-------
1st time.
Timestamp/Logs
-------
// subcloud has other versions that can be used.
$ system kube-version-list
+------
| version | target | state |
+------
| v1.21.8 | True | active |
| v1.22.5 | False | available |
| v1.23.1 | False | available |
| v1.24.4 | False | available |
+------
Alarms
-------
None
Test Activity
-------
Feature Testing
Workaround
-------
Create the strategy through CLI.
Changed in starlingx: | |
assignee: | nobody → Christopher de Oliveira Souza (cdeolive) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.gui |
Fix proposed to branch: master /review. opendev. org/c/starlingx /gui/+/ 900947
Review: https:/