
Ceph Jewel has introduced the ability to mirror its pools. If configured to do so, the rbd-mirror daemon will replay an image's journals to replicate the image at a remote Ceph store. In order for an image to be mirrored, the 'exclusive-lock' and 'journaling' feature bits need to be enabled per image. Ceph documentation recommends using "rbd features default = 125" in the Ceph configuration to enable these feature bits for all newly created images. However, if an image has an explicit set of feature bits asked for during its creation, that request overrides what is set for "rbd features default". The Ceph backup driver is specifcally asking for "stripingv2" and "layering"; thus ignoring what is set at "rbd features default". This patch adds a new configuration option, 'backup_ceph_image_journals' which adds these feature bits to the 'features' set returned by _get_rbd_support(). If 'backup_ceph_image_journals' is set to True and the underlying installation of RBD does not support either JOURNALING or EXCLUSIVE_LOCK, an error is logged and 'BackupCephInvalidArgs' is raised whenever an operation attempts to create a new Cepd object. Change-Id: Iea9dc18ab68891c99d008157220365d184caf508 Implements: blueprint backup-ceph-driver-journaling-exculsive-lock-features
Team and repository tags
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here http://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient
Description
Languages
Python
99.7%
Smarty
0.3%