Jump to: navigation, search

Cinder/Quobyte

< Cinder
Revision as of 09:58, 22 July 2015 by Kaisers (talk | contribs) (added libvirt specific settings for online snapshots.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quobyte Cinder Driver Configuration

The Quobyte Cinder driver allows using a Quobyte volume as storage for OpenStack Cinder. Use the following configuration options:

quobyte_volume_url
URL to the Quobyte volume, e.g. quobyte://<DIR host>/<volume name> .
quobyte_client_cfg
Path to a Quobyte Client configuration file.
quobyte_sparsed_volumes
Create volumes as sparse files which take no space.
If set to False, volume is created as regular file, in such cases volume creation may take a lot of time.
quobyte_qcow2_volumes
Create volumes as QCOW2 files rather than raw files.
quobyte_mount_point_base
Base dir containing the mount point for the Quobyte volume.

Example in /etc/cinder/cinder.conf:

[default]
ENABLED_BACKENDS = client:Quobyte
DEFAULT_VOLUME_TYPE = Quobyte

[Quobyte]
volume_driver = cinder.volume.drivers.quobyte.QuobyteDriver
quobyte_volume_url = quobyte://<server>/<Quobyte volume name>
quobyte_client_cfg = /etc/quobyte/client.cfg
quobyte_sparsed_volumes = True
quobyte_qcow2_volumes = True
quobyte_mount_point_base = /mnt/openstack/quobytemnt


Online Snapshots

If planning to use online snapshot features, ensure that Cinder, Nova and libvirtd are configured to run with the same UID or GID and configure libvirtd to use dynamic_ownership = 0.