Appendix C. Setting up Cinderlib
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
Enable the
openstack-cinderlib
repositories on Red Hat Enterprise Linux:# subscription-manager repos --enable=openstack-16.1-cinderlib-for-rhel-8-x86_64-rpms
Install the
OpenStack Cinderlib
package:# dnf install -y python3-cinderlib
In the Red Hat Virtualization Manager, enable managed block domain support:
# engine-config -s ManagedBlockDomainSupported=true
Restart the Manager to save the new configuration:
# systemctl restart ovirt-engine
Setting up Cinderlib on the host
Enable the
openstack-cinderlib
repositories on Red Hat Enterprise Linux:# subscription-manager repos --enable=openstack-16.1-cinderlib-for-rhel-8-x86_64-rpms
Install the Python
brick
package:# yum install -y python3-os-brick
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:
Enable the following repositories on Red Hat Enterprise Linux:
# 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
Run the following command on the Manager and on the hosts:
# yum install -y ceph-common