Merge "Remove flashsystem_multipath_enabled opt"
This commit is contained in:
commit
180bcc89ce
@ -108,8 +108,6 @@ from cinder.volume.drivers.huawei import huawei_driver as \
|
|||||||
cinder_volume_drivers_huawei_huaweidriver
|
cinder_volume_drivers_huawei_huaweidriver
|
||||||
from cinder.volume.drivers.ibm import flashsystem_common as \
|
from cinder.volume.drivers.ibm import flashsystem_common as \
|
||||||
cinder_volume_drivers_ibm_flashsystemcommon
|
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 \
|
from cinder.volume.drivers.ibm import flashsystem_iscsi as \
|
||||||
cinder_volume_drivers_ibm_flashsystemiscsi
|
cinder_volume_drivers_ibm_flashsystemiscsi
|
||||||
from cinder.volume.drivers.ibm import gpfs as cinder_volume_drivers_ibm_gpfs
|
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_hpe_hpelefthandiscsi.hpelefthand_opts,
|
||||||
cinder_volume_drivers_huawei_huaweidriver.huawei_opts,
|
cinder_volume_drivers_huawei_huaweidriver.huawei_opts,
|
||||||
cinder_volume_drivers_ibm_flashsystemcommon.flashsystem_opts,
|
cinder_volume_drivers_ibm_flashsystemcommon.flashsystem_opts,
|
||||||
cinder_volume_drivers_ibm_flashsystemfc.flashsystem_fc_opts,
|
|
||||||
cinder_volume_drivers_ibm_flashsystemiscsi.
|
cinder_volume_drivers_ibm_flashsystemiscsi.
|
||||||
flashsystem_iscsi_opts,
|
flashsystem_iscsi_opts,
|
||||||
cinder_volume_drivers_ibm_gpfs.gpfs_opts,
|
cinder_volume_drivers_ibm_gpfs.gpfs_opts,
|
||||||
|
@ -35,23 +35,13 @@ from cinder import exception
|
|||||||
from cinder.i18n import _
|
from cinder.i18n import _
|
||||||
from cinder import interface
|
from cinder import interface
|
||||||
from cinder import utils
|
from cinder import utils
|
||||||
from cinder.volume import configuration
|
|
||||||
from cinder.volume.drivers.ibm import flashsystem_common as fscommon
|
from cinder.volume.drivers.ibm import flashsystem_common as fscommon
|
||||||
from cinder.volume.drivers.san import san
|
from cinder.volume.drivers.san import san
|
||||||
from cinder.zonemanager import utils as fczm_utils
|
from cinder.zonemanager import utils as fczm_utils
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
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 = cfg.CONF
|
||||||
CONF.register_opts(flashsystem_fc_opts, group=configuration.SHARED_CONF_GROUP)
|
|
||||||
|
|
||||||
|
|
||||||
@interface.volumedriver
|
@interface.volumedriver
|
||||||
@ -92,7 +82,6 @@ class FlashSystemFCDriver(fscommon.FlashSystemDriver):
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(FlashSystemFCDriver, self).__init__(*args, **kwargs)
|
super(FlashSystemFCDriver, self).__init__(*args, **kwargs)
|
||||||
self.configuration.append_config_values(fscommon.flashsystem_opts)
|
self.configuration.append_config_values(fscommon.flashsystem_opts)
|
||||||
self.configuration.append_config_values(flashsystem_fc_opts)
|
|
||||||
self.configuration.append_config_values(san.san_opts)
|
self.configuration.append_config_values(san.san_opts)
|
||||||
|
|
||||||
def _check_vdisk_params(self, params):
|
def _check_vdisk_params(self, params):
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user