Rollback to SMCP 5.6 (LTS2) from SMCP 5.9
LTS2 restore on SMCP
- Take a backup of the 5.6 management plane by following the backup guide.
- Destroy the older
1.21based nodelet cluster using the following commands.
airctl stopairctl unconfigure-du --force airctl advanced-ddu delete-mgmt- Ensure the older
/etc/nodelet/airctl-mgmt/certsdirectory is cleaned up. - Download newer
5.9based artifacts using the download script. Run theinstall.shscript to extract and place the artifacts under/opt/pf9/airctldirectory.
bash install.sh v-5.9.0-2847602- Ensure that the management cluster host has configuration of at least 8vCPU, 32GB memory and 250GB disk.
- Install the pre-requisite
container-selinuxpackage if not installed. - Update the config files as suggested below and deploy the new
1.25based nodelet management cluster by running the following command.
airctl advanced-ddu create-mgmtEnsure that the airctl-config.yaml file is updated to have the new airctl build number.
In the nodelet-bootstrap.yaml file ensure that systemImages param is set to use newer LTS3 kubedu and nodelet image tar files. And the userImages section points to previous version of kubedu image tars.
Also add isAirgapped: true in nodelet-bootstrap.yaml if it is offline mode. A snippet of the nodelet-bootstrap.yaml is shown below.
isAirgappedtruesystemImages/opt/pf9/airctl/imgs/kubedu-imgs-v-5.9.0-2847602.tar.gz/opt/pf9/airctl/imgs/nodelet-imgs-v-5.9.0-2847602.tar.gzuserImages/home/centos/patch2/kubedu-imgs-v-5.6.7-2624593.tar.gz/home/centos/patch4/kubedu-imgs-v-5.6.7-2658688.tar.gz- Run the restore command by following the restore guide for
5.6management plane on top of1.25nodelet cluster. - Ensure that the DU is in ready state by running the following command and waiting for it to be ready.
airctl statusAfter restore, we should be able to login to UI and view the existing workload clusters.
After restore, errors seen in the consul pod saying 'ACL not found', which are harmless and can be ignored.
So, we are currently skipping the consul upgrade in the upgrade step and installing the upgraded consul in the restore process itself.