oVirt 3.6 + CentOS7 experiments

... recording random tips while installing/configuring oVirt on CentOS 7 ...

Installation tips

I decided to follow the self-hosted engine setup with local nfs4 storage...

  • You need time to perform the setup. Hours if doing it for the first time.
    Generally, it is not possible to stop and continue after a good sleep :)
  • SELinux should be turned off during install.
    Having a local nfs server witch active SElinux wasn't  supported by the engine deployment utility.
  • Manually configure the firewall, don't switch back to iptables (you need to open hosted-console, vdsm libvirtd, etc. ports).
    cp /etc/ovirt-hosted-engine/firewalld/hosted-console.xml /etc/firewalld/services/
    firewall-cmd --reload && firewall-cmd --permanent --zone=internal --add-service=hosted-console && firewall-cmd --permanent --zone=internal --add-port=54321/tcp && firewall-cmd --permanent --zone=internal --add-port=16514/tcp && firewall-cmd --reload
  • If the hosted engine deployment fails for the first time you may try to do it again using the --config-append switch.
    It won't work in some cases but you should give it a try.
  • Using screen seems optional but handy if bridge configuration fails for some reason.
  • If the hosted vm is ready to install you can run remote-viewer on your local linux desktop.
    This will also check your firewalld setup.