You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "msinhore (via GitHub)" <gi...@apache.org> on 2026/02/03 12:10:55 UTC

[I] Unable to register VMware template [cloudstack]

msinhore opened a new issue, #12573:
URL: https://github.com/apache/cloudstack/issues/12573

   ### problem
   
   When registering a template for VMware everything goes well, but the template is never shown in the UI/API but it is present in DB.
   
   <img width="965" height="357" alt="Image" src="https://github.com/user-attachments/assets/b3a17068-4935-4e14-a7e1-0c4dd562b05c" />
   
   ### versions
   
   4.22, VMware
   
   ### The steps to reproduce the bug
   
   1. Register a vmware template 
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to register VMware template [cloudstack]

Posted by "msinhore (via GitHub)" <gi...@apache.org>.
msinhore closed issue #12573: Unable to register VMware template
URL: https://github.com/apache/cloudstack/issues/12573


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to register VMware template [cloudstack]

Posted by "RosiKyu (via GitHub)" <gi...@apache.org>.
RosiKyu commented on issue #12573:
URL: https://github.com/apache/cloudstack/issues/12573#issuecomment-3843828494

   This issue is a side effect of a Trillian infrastructure problem, not a CloudStack bug.
   
   ### Root Cause
   The VMware `80u3e` template used by Trillian has an expired evaluation license (expired August 12, 2025). This causes ESXi hosts to fail to be added to vCenter during environment provisioning, resulting in a CloudStack zone with a VMware cluster but no hypervisor hosts.
   
   Without hosts in the cluster, CloudStack cannot:
   
   - Register templates (no hosts to process them)
   - Deploy VMs
   - Perform any VMware-related operations
   
   ### Evidence
   
   - Jenkins console output shows the failure when adding hosts:
   
   ```
   10:44:06 failed: [localhost -> localhost] (item=ref-trl-10800-k-Mr8-marco-sinhoreli-esxi1) => {"failed": true, "item": "ref-trl-10800-k-Mr8-marco-sinhoreli-esxi1", "msg": "'vmodl.fault.NotEnoughLicenses' object has no attribute 'thumbprint'"}
   10:44:21 ...ignoring
   ```
   
   - vCenter logs confirm the license expiration:
   
   ```
   The VMware VirtualCenter Server license key has expired. 
   Its expiration date is 2025-08-12T00:00:00Z
   ```
   
   ### Resolution
   
   I manually remediated the environment by:
   
   - Applying a valid license in vCenter
   - Adding ESXi hosts to vCenter manually
   - Re-adding the VMware cluster to CloudStack with proper credentials
   - Adding VMware primary storage
   
   After these steps, the environment works correctly and templates can be registered.
   
   ### Workaround
   Use `VMWARE_VER=70u3` or `VMWARE_VER=80u3` instead of `80u3e` when creating VMware environments. These templates have valid licenses and work correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org