RosiKyu commented on issue #12036:
URL: https://github.com/apache/cloudstack/issues/12036#issuecomment-3870787716

   @rastopato ,
   
   I have tested this and was not able to reproduce the issue.
   
   
   ### Environment
   | Component | Version |
   |-----------|---------|
   | CloudStack | 4.21.0.0 |
   | VMware ESXi | 8.0.3.0 |
   | Primary Storage | VMFS |
   | Management Server | Oracle Linux 8 |
   
   ### Templates Tested
   
   | Template Name | Deploy-as-is | Status |
   |---------------|--------------|--------|
   | Ubuntu 20.04 | false | Ready  |
   | Ubuntu 20.04 deploy-as-is | true | Ready  |
   | Ubuntu 20.04 from lab deploy as is | true | Ready  |
   
   ```
   (localcloud) 🐱 > list templates templatefilter=all 
filter=name,deployasis,hypervisor,format,isready
   {
     "count": 5,
     "template": [
       {
         "deployasis": false,
         "format": "OVA",
         "hypervisor": "VMware",
         "isready": true,
         "name": "Ubuntu 20.04"
       },
       {
         "deployasis": true,
         "format": "OVA",
         "hypervisor": "VMware",
         "isready": true,
         "name": "Ubuntu 20.04 deploy-as-is"
       },
       {
         "deployasis": true,
         "format": "OVA",
         "hypervisor": "VMware",
         "isready": true,
         "name": "Ubuntu 20.04 from lab deploy as is"
       },
       {
         "deployasis": false,
         "format": "OVA",
         "hypervisor": "VMware",
         "isready": true,
         "name": "CentOS 5.3(64-bit) no GUI (vSphere)"
       },
       {
         "deployasis": false,
         "format": "OVA",
         "hypervisor": "VMware",
         "isready": true,
         "name": "SystemVM Template (vSphere)"
       }
     ]
   }
   
   ```
   
   ### VMs Deployed
   
   | VM Name | State | Template |
   |---------|-------|----------|
   | VM-07ef5514... | Running | Ubuntu 20.04 (deployasis=false) |
   | test-deploy-as-is | Running | Ubuntu 20.04 deploy-as-is (deployasis=true) |
   | test-lab-dai | Running | Ubuntu 20.04 from lab (deployasis=true) |
   
   ```
   list virtualmachines filter=name,state,templatename
   
   (localcloud) 🐱 > list virtualmachines filter=name,state,templatename
   {
     "count": 3,
     "virtualmachine": [
       {
         "name": "VM-07ef5514-382c-4014-b1b9-6041f60ea63a",
         "state": "Running",
         "templatename": "Ubuntu 20.04"
       },
       {
         "name": "test-deploy-as-is",
         "state": "Running",
         "templatename": "Ubuntu 20.04 deploy-as-is"
       },
       {
         "name": "test-lab-dai",
         "state": "Running",
         "templatename": "Ubuntu 20.04 from lab deploy as is"
       }
     ]
   }
   
   ```
   
   **All three VMs boot successfully and keyboard input works at console login 
prompt.**
   
   <img width="2585" height="1537" alt="Image" 
src="https://github.com/user-attachments/assets/91105b5f-24b3-430d-b63d-9ecc8b911871";
 />
   
   <!-- Failed to upload "image.png" -->
   
   ### Checksum Verification on Secondary Storage
   
   Verified that extracted OVA files on secondary storage match the manifest:
   ```
   cat ubuntu-focal-20.04-cloudimg.mf
   SHA256(ubuntu-focal-20.04-cloudimg.vmdk)= 
192b5c869b99a0db91f6567fe29f89d9b98984a3b16220ef06ab7320de779411
   SHA256(ubuntu-focal-20.04-cloudimg.ovf)= 
603242f28820af7fe2afb621990ce130b6c6a1cb10ed481b9254cadb83fd4547
   
   sha256sum ubuntu-focal-20.04-cloudimg.ovf ubuntu-focal-20.04-cloudimg.vmdk
   603242f28820af7fe2afb621990ce130b6c6a1cb10ed481b9254cadb83fd4547  
ubuntu-focal-20.04-cloudimg.ovf ✓
   192b5c869b99a0db91f6567fe29f89d9b98984a3b16220ef06ab7320de779411  
ubuntu-focal-20.04-cloudimg.vmdk ✓
   ```
   
   **Checksums match — no corruption detected during OVA extraction.**
   
   <img width="1494" height="812" alt="Image" 
src="https://github.com/user-attachments/assets/8a4d1d49-e617-46bb-8b44-dcd95c095987";
 />
   
   The OVA extraction and VM deployment work correctly.
   
   To help us investigate further, could you please provide:
   
   1. **Your problematic Ubuntu 20.04 OVA template** (or a download link) so we 
can test with the exact same template
   2. **Template registration settings** — was "Read Instance settings from 
OVA" enabled?
   
   If you can share the OVA that consistently fails, we can compare it against 
templates that work and try identifying what triggers the corruption.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to