GitHub user RosiKyu added a comment to the discussion: Ubuntu 20.04 Template Problem
@rastopato, I did some further investigation and follow-up testing. ### Test: Direct Clone from VMware Template in vCenter I cloned the VMware template (created by Cloudstack on primary storage) directly in vCenter UI: 1. Selected the Cloudstack-created template (`26633039-a84a-4c7c-99a6-...`) 2. Cloned to Virtual Machine → selected VMFS datastore → Thin Provision 3. Powered on and watched console **Result: EXT4 filesystem corruption errors during boot!** <img width="1473" height="812" alt="image" src="https://github.com/user-attachments/assets/86080f43-d3dc-4ab3-8b2e-76440f4c827e" /> The VM eventually booted but filesystem shows corruption: <img width="1499" height="812" alt="image" src="https://github.com/user-attachments/assets/64858d57-7141-4e26-9af5-248af2c69cdf" /> ### Test: Cloudstack-Deployed VM Boot Rebooted a Cloudstack-deployed VM (`i-2-5-VM`) from the same template and watched the console: **Result: No EXT4 errors - clean boot!** ``` EXT4-fs (sda1): recovery complete EXT4-fs (sda1): mounted filesystem with ordered data mode ``` <img width="1499" height="812" alt="image" src="https://github.com/user-attachments/assets/f07b2dca-c380-4e68-872b-00bed39aba0d" /> <img width="3070" height="1703" alt="image" src="https://github.com/user-attachments/assets/aec48976-3be8-44ef-93b9-ec79b408e05d" /> ### Comparison | VM | Clone Method | EXT4 Errors | Filesystem State | |----|--------------|-------------|------------------| | i-2-9-VM | Cloudstack API | None | Clean | | test-direct-clone | vCenter UI Clone | Yes - CRC failures | clean with errors | In my test environment, **Cloudstack-deployed VMs are NOT corrupted** on ACS 4.21 + VMware 8.0.3. The corruption only occurs when cloning via vCenter UI. I will try to reproduce with an upgrade path from ACS 4.20 -> 4.21 (since you mentioned it worked on 4.20.1 + VMware 8.0.0) Since you're seeing corruption through Cloudstack but I'm not, the difference might be: - **Management Server OS**: Your RHEL 9 vs my Oracle Linux 8 - **Upgrade vs Fresh Install**: You upgraded from 4.20.1, I have fresh 4.21 I will try to reproduce with: 1. RHEL 9 - based management server 2. Upgrade path from ACS 4.20 → 4.21 + VMware 8.0 → 8.0.3 GitHub link: https://github.com/apache/cloudstack/discussions/12610#discussioncomment-15744958 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
