Merge "LINBIT DRBDManage driver moves to maintenance mode"

This commit is contained in:
Zuul 2019-01-08 05:21:52 +00:00 committed by Gerrit Code Review
commit 47b2e5f40c
3 changed files with 18 additions and 4 deletions

View File

@ -32,10 +32,10 @@ import uuid
from oslo_config import cfg
from oslo_log import log as logging
from oslo_log import versionutils
from oslo_utils import importutils
from oslo_utils import units
from cinder import exception
from cinder.i18n import _
from cinder import interface
@ -229,6 +229,11 @@ class DrbdManageBaseDriver(driver.VolumeDriver):
def do_setup(self, context):
"""Any initialization the volume driver does while starting."""
super(DrbdManageBaseDriver, self).do_setup(context)
msg = _("The DRBD Manage driver is moving to maintenance mode"
"in the Stein release and will be removed in T release.")
versionutils.report_deprecated_feature(LOG, msg)
self.dbus_connect()
def check_for_setup_error(self):

View File

@ -1,9 +1,13 @@
===========
DRBD driver
===========
========================
DRBD driver (Deprecated)
========================
The DRBD driver allows Cinder to use DRBDmanage instances.
.. note::
The LINBIT DRBDManage volume driver is moving to maintenance mode in Stein
Release and will be removed in T Release.
Configuration
~~~~~~~~~~~~~

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The LINBIT DRBDManage volume driver is moving to maintenance mode in Stein
Release and will be removed in T Release.