The VCF Services Runtime utilizes the vcf-services-runtime-template-<version>.<ob-number> VM template in vCenter to provision both control plane and worker nodes.
If this VM template is deleted, moved, or corrupted, any downstream provisioning task requiring new node creation—such as a scale-up operation—will fail until the template is properly restored.
Impact:
Day 2 Action failures:
Error Code: LCMVSPHERECONFIG1000095LCMVSPHERECONFIG1000095Failed to create services platform cluster. Refer to /var/log/vricm/vmsp_bootstrap_xxxxx.log for more details.<datetime> role VCF Services Platform exists<datetime> role VCF Services Platform Admin exists successfully added global permissions for user <service_user> successfully added global permissions for user <admin_service_user>govc:/<datacenter>/<host>/<cluster> not found <datetime> ERROR : Not all ESXi Hosts in the cluster /<datacenter>/<host>/<cluster> are connected to the datastore /<datastore_path>. ERR:INIT0001 -Validating configuration
vCenter Events:
Clone virtual machine" task indicating reasons such as "source template not found," "virtual machine not found," or "invalid state" during a platform node creation attempt.vcf-services-runtime-template-<version>.<ob-number> may be entirely missing or show a status of (orphaned) or (inaccessible).
VCF Services Runtime Day 2 operations fail because the requisite vCenter VM runtime template is missing, moved, or corrupted. This prevents the Cluster API (CAPI) from cloning the template to provision new nodes.
Repopulate the VCF Services Runtime VM template in vCenter utilizing the Staging API workflow. This procedure triggers a fresh synchronization of the component from the repository to the vCenter environment.
<base-url>/<path>/depot-manifest-vmsp-platform-<version>.<ob-number>.yaml
Example: https://<fleet-fqdn>/depot-service/content-gateway/PROD/COMP/VSP/depot-manifest-vmsp-platform-9.1.0.0.25370367.yaml
1. Run these commands sequentially to create a isolated Python virtual environment, activate it, and install all of the script required dependencies.
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
2. Run the Management Template Remediation Script
python3 vcf_template_remediation.py \
--vcenter-host <vcenter_ip_or_fqdn> \
--vcenter-user <vcenter_username> \
--vcenter-password <vcenter_password> \
--platform-fqdn <vcf_services_runtime_fqdn> \
--platform-admin-password <vcf_services_runtime_password> \
--depot-manifest-url <depot_manifest_url> \
[--force]
Note: If a previous Day 2 operation failed, the current steps may have already resolved the issue (e.g., for scale-up operations); otherwise, retry the operation.