]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove lio_initiator_iqns config option
authorEric Harney <eharney@redhat.com>
Tue, 30 Jun 2015 15:06:40 +0000 (11:06 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 30 Jun 2015 15:11:40 +0000 (11:11 -0400)
This has been unneeded since
 67dd248 LIO iSCSI initiator ACL auto-config
and was deprecated in Kilo.

DocImpact: removes config option

Change-Id: Idbabcd8b7d6f278d11edf105d448d39eefc5e25a

cinder/volume/driver.py
cinder/volume/targets/lio.py

index 61142ffa033b86b1ea06675dae33c330ca99af93..9c6cd52d1e766fd894c644c70a239e165b1a17ea 100644 (file)
@@ -113,10 +113,6 @@ volume_opts = [
     cfg.StrOpt('chiscsi_conf',
                default='/etc/chelsio-iscsi/chiscsi.conf',
                help='Chiscsi (CXT) global defaults configuration file'),
-    cfg.StrOpt('lio_initiator_iqns',
-               default='',
-               help='This option is deprecated and unused. '
-                    'It will be removed in the next release.'),
     cfg.StrOpt('iscsi_iotype',
                default='fileio',
                choices=['blockio', 'fileio', 'auto'],
index 05fdf97f5eab381b78936d9ccc4095568ec14be8..81fa8fd0acd0065e596ea453dd49539683ee608f 100644 (file)
@@ -30,12 +30,6 @@ class LioAdm(iscsi.ISCSITarget):
         # FIXME(jdg): modify executor to use the cinder-rtstool
         self.iscsi_target_prefix =\
             self.configuration.safe_get('iscsi_target_prefix')
-        self.lio_initiator_iqns =\
-            self.configuration.safe_get('lio_initiator_iqns')
-
-        if self.lio_initiator_iqns is not None:
-            LOG.warning(_LW("The lio_initiator_iqns option has been "
-                            "deprecated and no longer has any effect."))
 
         self._verify_rtstool()