Appendix C. Setting up Cinderlib

Important

Cinderlib is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs), might not be functionally complete, and Red Hat does not recommend to use them for production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information on Red Hat Technology Preview features support scope, see https://access.redhat.com/support/offerings/techpreview/.

Setting up Cinderlib on the Manager

  1. Enable the openstack-cinderlib repositories:

    # subscription-manager repos --enable=openstack-16.1-cinderlib-for-rhel-8-x86_64-rpms
  2. Install the OpenStack Cinderlib package:

    # yum install -y openstack-cinder
  3. In the Red Hat Virtualization Manager, enable managed block domain support:

    # engine-config -s ManagedBlockDomainSupported=true
  4. Restart the Manager to save the new configuration:

    # systemctl restart ovirt-engine

Setting up Cinderlib on the host

  1. Enable the openstack-cinderlib repositories:

    # subscription-manager repos --enable=openstack-16.1-cinderlib-for-rhel-8-x86_64-rpms
  2. Install the Python brick package:

    # yum install -y python3-os-brick
  3. Restart the VDSM on the host to save the new configuration:

    # systemctl restart vdsmd

Using Cinderlib with a ceph driver

If you are using Cinderlib together with a ceph driver:

  1. Enable the following rpms:

    # subscription-manager repos --enable=rhceph-4-osd-for-rhel-8-x86_64-rpms \
                                              --enable=rhceph-4-mon-for-rhel-8-x86_64-rpms \
                                              --enable=rhceph-4-tools-for-rhel-8-x86_64-rpms
  2. Run the following command on the Manager and on the hosts:

    # yum install -y ceph-common