| SYSTEM INFORMATION | |
|---|---|
| OS type and version | Ubuntu Linux 24.04.3 |
| Usermin version | 2.302 |
| Virtualmin version | 7.30.8 Pro |
| Theme version | 24.02 |
| Apache version | 2.4.58 |
| Package updates | All installed packages are up to date |
Hi guys,
I know I’m not the first to be asking about KVM installation, so I searched the forum and the rest of the Internet community for answers, but nothing seems to work. Here’s my problem.
We are a university (nursing) and we use Moodle as our LMS. We want to integrate Big Blue Button, as our virtual classroom. Big Blue Button (ideally) needs to be installed on a ‘fresh’ physically dedicated server. We only have one physical server in use, so we need to create a virtual machine on one of our virtualmin subservers, with its own OS, to ‘isolate’ Big Blue Button. Since we are using Ubuntu 24.04 as our ‘go to’ OS, installing KVM seemed obvious (at least to us and according to most of the answers we found on several fora).
Installing the necessary packages and dependent software was no problem in itself, but we keep running into problems:
Below is what we did and what happened.
→ We checked if Visualization is enabled in BIOS and Ubuntu (vmx) and it is.
→ We are not using VirtualBox (just as FIY).
→ KVM acceleration can be used.
→ We installed qemu-kvm, virt-manager, libvirt-clients, bridge-utils, libvirt-daemon-system and virtinst without any problems or error-messages.
→ We enabled libvirtd without any problems or error-messages, but when we check its status we get the following error:
“firewalld is set to use the nftables backend, but the required firewalld ‘libvirt’ zone is missing. Either set the firewalld backend to ‘iptables’, or ensure that firewalld has a ‘libvirt’ zone by upgrading firewalld to a version supporting rule priorities (0.7.0+) and/or rebuilding libvirt with --with-firewalld-zone”
→ Changing firewalld to iptables does not help.
→ However, starting libvird showed it as ‘active’ and ‘enabled’.
→ We added ‘root’ as the user (since only the admin/root will be aministering for now). Root was also the ‘active user’ during installation of KVM, but we also tried the actual server-account as the user.
→ We downloaded Ubuntu 24.04.03 ISO to the subserver where we want the virtual machine to be working.
→ Apart from the Virtualmin ‘desktop’ we don’t use any other desktop or GUI, so we used the terminal to try to create the actual virtual machine.
→ We used the qcow2 qemu-img creation command. No error-messages were shown.
→ We started the vm install with the usual virt-install command and options/arguments (–name, --memory, --disk path, --vcpus, --cdrom (we also tried --location), --os-variant, --network (default), --graphics (none).
→ After creation-attempt we get the message that the default network is not active and we are not able to activate it.
We also tried some other methods, found on the Internet, but they all led to error-messages, like “IP address already in use” and not being able to ‘down’ the wired connection and ‘up’ the bridge.
Is there some kind of script for installing a kvm on a Virtualmin subserver? We tried the Cloudmin script but it appears to be outdated and didn’t work.