Jump to: navigation, search

Difference between revisions of "Cinder/Quobyte"

(Updated config example)
(added libvirt specific settings for online snapshots.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===  Cinder Driver Configuration with Quobyte ===
+
===  Quobyte Cinder Driver Configuration ===
  
 
The Quobyte Cinder driver allows using a Quobyte volume as storage for OpenStack Cinder. Use the following configuration options:  
 
The Quobyte Cinder driver allows using a Quobyte volume as storage for OpenStack Cinder. Use the following configuration options:  
Line 30: Line 30:
 
quobyte_mount_point_base = /mnt/openstack/quobytemnt
 
quobyte_mount_point_base = /mnt/openstack/quobytemnt
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
==== 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''.

Latest revision as of 09:58, 22 July 2015

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.