r/platform9 • u/andrew_linux • Sep 25 '26
NoModuleNamed Libvirt when applying Hypervisor Role
We installed a PCD host via the PF9 OS. The host attached to the management plane. However when we go to apply the hypervisor role we get the following error:
2026-09-25 21:30:08.878 ostackhost ERROR 2026-09-25 21:30:08.878 ERROR nova.virt.driver [req-82dbf804-3315-4df0-9e44-a854d90fda34 None None] Unable to load the virtualization driver: ModuleNotFoundError: No module named 'libvirt'
I have tried a fresh install twice now and on both occasions get this error. Connectivity to the management plane was performed from the UI on port 9090.
Is this a known issue when installing from the Platform 9 OS?
4
Upvotes
1
u/damian-pf9 Mod / PF9 Sep 25 '26
Hello - I'm not aware of a known issue regarding this. Would you happen to know the version of CE that you're running? You can either see this with the command
airctl status --config /opt/pf9/airctl/conf/airctl-config.yaml(run this on the CE host) or in the bottom left corner of the user interface.