Remove flashsystem_multipath_enabled opt

This config option was deprecated in Mitaka and is now being removed.

Change-Id: Iba7db13ca6877eebc2c7998c74086358e7b745e1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-08-22 14:59:16 -05:00
parent f68a0e80ed
commit 3f631351e4
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
3 changed files with 6 additions and 14 deletions

View File

@ -108,8 +108,6 @@ from cinder.volume.drivers.huawei import huawei_driver as \
cinder_volume_drivers_huawei_huaweidriver
from cinder.volume.drivers.ibm import flashsystem_common as \
cinder_volume_drivers_ibm_flashsystemcommon
from cinder.volume.drivers.ibm import flashsystem_fc as \
cinder_volume_drivers_ibm_flashsystemfc
from cinder.volume.drivers.ibm import flashsystem_iscsi as \
cinder_volume_drivers_ibm_flashsystemiscsi
from cinder.volume.drivers.ibm import gpfs as cinder_volume_drivers_ibm_gpfs
@ -300,7 +298,6 @@ def list_opts():
cinder_volume_drivers_hpe_hpelefthandiscsi.hpelefthand_opts,
cinder_volume_drivers_huawei_huaweidriver.huawei_opts,
cinder_volume_drivers_ibm_flashsystemcommon.flashsystem_opts,
cinder_volume_drivers_ibm_flashsystemfc.flashsystem_fc_opts,
cinder_volume_drivers_ibm_flashsystemiscsi.
flashsystem_iscsi_opts,
cinder_volume_drivers_ibm_gpfs.gpfs_opts,

View File

@ -35,23 +35,13 @@ from cinder import exception
from cinder.i18n import _
from cinder import interface
from cinder import utils
from cinder.volume import configuration
from cinder.volume.drivers.ibm import flashsystem_common as fscommon
from cinder.volume.drivers.san import san
from cinder.zonemanager import utils as fczm_utils
LOG = logging.getLogger(__name__)
flashsystem_fc_opts = [
cfg.BoolOpt('flashsystem_multipath_enabled',
default=False,
help='This option no longer has any affect. It is deprecated '
'and will be removed in the next release.',
deprecated_for_removal=True)
]
CONF = cfg.CONF
CONF.register_opts(flashsystem_fc_opts, group=configuration.SHARED_CONF_GROUP)
@interface.volumedriver
@ -92,7 +82,6 @@ class FlashSystemFCDriver(fscommon.FlashSystemDriver):
def __init__(self, *args, **kwargs):
super(FlashSystemFCDriver, self).__init__(*args, **kwargs)
self.configuration.append_config_values(fscommon.flashsystem_opts)
self.configuration.append_config_values(flashsystem_fc_opts)
self.configuration.append_config_values(san.san_opts)
def _check_vdisk_params(self, params):

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The IBM FlashSystem configuration options ``flashsystem_multipath_enabled``
was deprecated in the Mitaka release. It had no effect, so it can be safely
removed and does not have a new equivalent config option.