Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First of all, we need to prepare a host in order to configure libvirt, iptables, permissions, etc. This repository contains a bash script that will prepare the host for you:

source utils/prep_host.sh

The official documentation that describes these changes can be found in the following link: So far this is a manual process: https://github.com/openshift/installer/blob/master/docs/dev/libvirt-howto.md .

Unfortunately, libvirt is only for development purposes from the OpenShift perspective, so the binary is not compiled with the libvirt bits by default. The user will have to compile it by his/her own version with libvirt enabled. In order to build the binary with libvirt enabled, you simply can execute this command:

...

And copy the generated binary inside the GOBIN path. (Please look at Building and consuming your own installer KNI blueprints installation overview section)

There are two different footprints for libvirt: 1 master/1 worker, and 3 masters/3 workers. Makefile needs to be called with:

...

The rest of the options are exactly the same as in an AWS deployment.

There is a recording of the deployment of a Libvirt blueprint with 1 master and 1 worker. Please, see the following link to watch it: https://www.youtube.com/watch?v=3mDb1cba8uU

Temporary workaround

Currently the installer is failing when adding console to the cluster for libvirt. In order to make it work, please follow instructions on https://github.com/openshift/installer/pull/1371.

...