Error: "Template is empty"
search cancel

Error: "Template is empty"

book

Article ID: 417442

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • Cluster is stuck in Processing and not showing any progress in TCA-UI
  • When running kubectl describe tkcp -n <name-space> <cluster-name>, You will see an error message:
    Template is empty
     
  • The same empty template status is visible in the TCA Manager UI under Caas Infrastructure > <Cluster-Name> > Control Plane Configuration.

Environment

3.2

Cause

The Kubernetes cluster object (specifically the TanzuKubernetesClusterProvider or a related CAPI/CAPV object) was created or updated without the necessary cluster template referenced in its specification. 

Resolution

The issue can be resolved by editing the cluster configuration in the TCA Manager UI and explicitly re-attaching or re-selecting the cluster template.

  1. Navigate to the Cluster: Log in to the TCA Manager UI.

  2. Go to CaaS Infrastructure and select the affected <Cluster-Name>.

  3. Click the Edit button for the cluster.

  4. Re-select the required Cluster Template

  5. Save the changes.

Re-attaching the template effectively updates the cluster's underlying Kubernetes object with the required specification, allowing the TCA provisioning workflow to proceed.