DevStack plugin to configure the DRBD backend.
Go to file
OpenDev Sysadmins a9ec7fd147 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:39 +00:00
devstack Update hotfix url to new location 2017-09-05 11:13:45 -07:00
.gitignore drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:50:39 +00:00
CONTRIBUTING.rst drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
drbd-devstack.json drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
LICENSE drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
README.rst Replace openstack.org git:// URLs with https:// 2019-03-24 20:33:31 +00:00
tox.ini Fix tox file for bashate 2016-02-05 09:21:32 +01:00

drbd-devstack

DRBD installation helper for DevStack.

  • Free software: Apache license

This plugin helps to install the DRBD backend for Cinder (and, later on, Nova) in a devstack install.

Usage

Put some lines similar to these in your `local.conf`:

enable_plugin drbd-devstack https://git.openstack.org/openstack/drbd-devstack CINDER_ENABLED_BACKENDS=drbd:drbdmanage

A few environment variables can be set to modify the behaviour:

  • CINDER_DRBD_NO_STORAGE means --no-storage
  • CINDER_DRBD_NO_CV gets translated to --no-control-volume. This is allowed only for additional nodes, and not the initial drbdmanage node that has to create a control volume.
  • CINDER_DRBD_USE_DRBD_PROTOCOL makes the driver use the DRBD protocol to provide storage to the Nova nodes.

Secondary nodes are detected by having $SERVICE_HOST unequal to $HOST_IP, and therefore register themselves as additional nodes in drbdmanage.