apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.11k stars 1.11k forks source link

Instance Creation On LXC #8109

Open midhunpjos opened 1 year ago

midhunpjos commented 1 year ago
ISSUE TYPE
COMPONENT NAME
UI
Instance Creation on LXC
CLOUDSTACK VERSION
4.18.1
CONFIGURATION
OS / ENVIRONMENT

LXC on ubuntu 20.04

SUMMARY

Unable to Create LXC instances. Error in ui "Hypervisor LXC Does not support rootdisksize override "

STEPS TO REPRODUCE
1. Add LXC Hypervisor
2. Ubuntu LXC Template created using  https://cwiki.apache.org/confluence/display/CLOUDSTACK/LXC+Template+creation
3. tar created and Added to Cloudstack
4. On instance deployment its failed with error "Hypervisor LXC Does not support rootdisksize override"
![LXC](https://github.com/apache/cloudstack/assets/82935957/2be21c2d-ba69-49a5-9d40-32a05b9b08af)
EXPECTED RESULTS
ACTUAL RESULTS
DaanHoogland commented 1 year ago

@midhunpjos , the error message says Hypervisor LXC Does not support rootdisksize override . Did you try installing a template as is? (without changing/choosing disk sizes)

LXC is probably one of the least used hypervisors and might need some TLC :(

midhunpjos commented 1 year ago

@DaanHoogland Yes. The Template was created without a root disk size. Followed https://cwiki.apache.org/confluence/display/CLOUDSTACK/LXC+Template+creation On deployment the rootdisk is displayed as 1GB.

weizhouapache commented 1 year ago

this looks like a bug