Host addition fails with a "libvirt/qemu version mismatch" error
ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.
Symptom
Host addition fails with a cannot be added to cluster because qemu/libvirt version does not match or no candidate host has version error.
Cause
The operating system versions of hosts in the Cluster are inconsistent.
Solution
-
Run the following command to reformat the host and reinstall the operating system:
root@localhost ~]# yum --disablerepo=* --enablerepo=zstack-local install -y sudo -
Add hosts running the same operating system version to the same Cluster.