|
Issues/KBs resolved by this script |
Description |
|
ERROR: Node-Policy stage failed. Reason: nodepolicy spec is updated, waiting for reconcile. |
Extend nodeconfig cert to May 8 2030. |
|
vmconfig-operator down, in error state, when deploying multiple node pools |
Fix vmconfig-operator crash when VC returns vmobj as nil; |
|
TBR Upgrade causes the node to rebootTBR Upgrade causes the node to reboot |
Fix some nodes were reboot after upgrade to TCA3.2; |
|
CaaS Cluster Node Pool Creation /customization Stuck in processing state |
Fix recreate cluster and nodepools with same name, old version of nodepolicy take effect. |
|
When deploying a cluster or nodepool with a name that was used before in the environment at some point, you will see the cluster is provisioning state |
|
|
KB-Monitor |
Add feature to monitor cert expiration on each components |
|
How to manually synchronize renewed CaaS kubeconfig for VMware Telco Cloud Automation 2.3 |
Update management cluster's kubeconfig in caas_poke database on TCA-CP |
|
Error: "failed with newly created client is not active" during Node Pool creation/customization |
Synchronize the updated kubeconfig |
TCA 3.2.0.1
TCP 5.0
Download the patch bundle file:
Copy the patch bundle file 3201-kb-bundle_v2.zip to ALL Airgap servers that are consumed by the TCA clusters.
Switch to root user and unzip the patch bundle file 3201-kb-bundle_v2.zip to workload directory:
#su -
#unzip 3201-kb-bundle_v2.zip -d 3201-kb
#cd 3201-kb
Upload all KBs supported by the script:
#bash caas_support.sh patch upload -a <airgap-server-fqdn>
Copy the patch bundle file 3201-kb-bundle_v2.zip to TCA-M.
Switch to root user and unzip the patch bundle file 3201-kb-bundle_v2.zip to workload directory:
#su -
#unzip 3201-kb-bundle_v2.zip -d 3201-kb
#cd 3201-kb
List all KBs supported by the script:
#bash caas_support.sh patch list
Check KB status on TCA-M:
#bash caas_support.sh patch check
It could return following status:
|
KB status |
Comments |
|
NotNeeded |
KB is not needed on the current cluster. |
|
NotApplied |
KB is needed and not applied. |
|
Applied |
KB was applied successfully. When you execute apply, it will report as Skipped |
|
Unknown |
Can not tell the status |
Apply KBs on TCA-M:
#bash caas_support.sh patch apply
It could return following status:
|
KB status |
Comments |
|
NotNeeded |
KB is not needed on the current cluster. |
|
Skipped |
KB is already applied, skip it here. |
|
Succeed |
KB is applied successfully. When you execute apply again, it will report as Skipped |
|
Failed |
KB application failed. |
Copy the patch bundle file 3201-kb-bundle_v2.zip to each TCA-CP.
Switch to root user and unzip the patch bundle file 3201-kb-bundle_v2.zip to workload directory:
SSH to TCA-CP
#su -
#unzip 3201-kb-bundle_v2.zip -d 3201-kb
#cd 3201-kb
List all KBs supported by the script:
#bash caas_support.sh patch list
List all clusters managed by current TCA-CP and all workload clusters managed by each management cluster:
#bash caas_support.sh show clusters
Check KB status on each clusters:
#bash caas_support.sh patch check
It could return following status:
|
KB status |
Comments |
|
NotNeeded |
KB is not needed on the current cluster. |
|
NotApplied |
KB is needed and not applied. |
|
Applied |
KB was applied successfully. When you execute apply, it will report as Skipped |
|
Unknown |
Can not tell the status |
Apply KB status on each clusters:
#bash caas_support.sh patch apply
Note: The script is reenterable, if a KB is already applied, it will return as “Skipped”
It could return following status:
|
KB status |
Comments |
|
NotNeeded |
KB is not needed on current cluster. |
|
Skipped |
KB is already applied, skip it here. |
|
Succeed |
KB is applied successfully. When you execute apply again, it will report as Skipped |
|
Failed |
KB application failed. |
Verify KB status:
#bash caas_support.sh patch checkMost cases rerun should fix the issue. The script support apply patches to a specific cluster.
If the target cluster is a management cluster, use this command line
#bash caas_support.sh patch apply -m <management-cluster-name>
#bash caas_support.sh show clusters
#bash caas_support.sh patch apply -m <mangaement-cluster-name> -w <workload-cluster-name>
Immediate Effect After One-Shot Patch:
For TCA-M/TCA-CP itself, the patch is applied and the new image takes effect immediately.
Upon upgrading TCA-M/TCA-CP to version 3.3.x or higher, the new image included in 3.3.x (which is presumed to contain all KB fixes) will automatically take effect without any additional steps.
Effect on Management and Workload Clusters:
If TCA is at version 3.2.0.1, the patch will automatically take effect during any subsequent cluster upgrade. No extra action is required.
Once TCA is upgraded to 3.3.x and the management and workload clusters are also upgraded, the new image from TCA 3.3.x (presumed to include all KB fixes) will automatically take effect. No further action is needed.
The process involves iterating through all management clusters, and for each, examining its workload clusters. Subsequently, it checks all known KBs, performing the following steps for each:
Verifying KB compatibility for CaaS clusters.
Executing the KB's sub-script with the “--check” flag.
Store each KB's sub-script output to *.output
The process involves iterating through all management clusters, and for each, examining its workload clusters. Subsequently, it checks all known KBs, performing the following steps for each:
Verifying KB compatibility for CaaS clusters.
Executing the KB's sub-script with the “--apply” flag.
Store each KB's sub-script output to *.output