You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add host process results in incorrect libvirtd settings for Ubuntu VERSION="24.04.1 LTS (Noble Numbat)" #9802
When adding a kvm host to Cloudstack, the agent configuration automatically adds the option libvirtd_opts='-l' to /etc/default/libvirtd. This creates failures for live migrations between cluster hosts. Documentation here https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html is correct, stating that Ubuntu 20.04 and newer should use the option LIBVIRTD_ARGS="--listen".
The documentation is confusing in that it seems to tell you to make these changes manually, but the host provisioning process modifies all of the files referenced.
STEPS TO REPRODUCE
Simply adding a host via the web interface will do this at least when the host os version is Ubuntu 24.04.1 LTS.
EXPECTED RESULTS
The proper existing settings to be uncommented or at least added to the end of the config files as the documentation states.
ACTUAL RESULTS
Agent configuration process automatically adds the option libvirtd_opts='-l' to /etc/default/libvirtd when the os version is newer than 20.04.
If network/bridges have already been configured, ACS will not configure the host again.
The automatic configuration on kvm host is out of date, it does not work on some new distributions, due to libvirtd/netplan/nmcli etc.
Users are suggested to configure libvirtd, linux bridge or ovs manually before adding the host to cloudstack.
Activity
boring-cyborg commentedon Oct 15, 2024
Thanks for opening your first issue here! Be sure to follow the issue template!
weizhouapache commentedon Oct 15, 2024
If network/bridges have already been configured, ACS will not configure the host again.
The automatic configuration on kvm host is out of date, it does not work on some new distributions, due to libvirtd/netplan/nmcli etc.
Users are suggested to configure libvirtd, linux bridge or ovs manually before adding the host to cloudstack.
ffslcschools commentedon Oct 16, 2024
Is there a way to disable the automatic configuration during host provisioning?
weizhouapache commentedon Oct 16, 2024
@ffslcschools
yes
if the network (linux bridges) have been configured correctly, the node is considered as preconfigured, ACS will not reconfigure it