Make unused iscsi_num_targets, iser_num_targets configs as deprecated
After introducing new iscsi target driver model via Change-Id:
I43190d1dac33748fe55fa00f260f32ab209be656, configuration
options of iscsi_num_targets and iser_num_targets are not
used in these new scsi targets.
This patch makes these unused configuration options as
deprecated and adds warning messages to notify future removal
of these configs to users.
Also this patch removes _ensure_iscsi_targets() which uses these
two config options from cxt scsi target because this method is
never called anywhere.
Closes-Bug: #1427904
DocImpact: Two unused config options are deprecated
Change-Id: Ic34910f4765f46e2708de7cb686e49418f486709
Reviewed: https:/ /review. openstack. org/161036 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=582b4dfc783 3f2adfea787cff5 bce8e858d80d0e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 582b4dfc7833f2a dfea787cff5bce8 e858d80d0e
Author: Mitsuhiro Tanino <email address hidden>
Date: Tue Mar 3 17:49:03 2015 -0500
Make unused iscsi_num_targets, iser_num_targets configs as deprecated
After introducing new iscsi target driver model via Change-Id: 33748fe55fa00f2 60f32ab209be656 , configuration
I43190d1dac
options of iscsi_num_targets and iser_num_targets are not
used in these new scsi targets.
This patch makes these unused configuration options as
deprecated and adds warning messages to notify future removal
of these configs to users.
Also this patch removes _ensure_ iscsi_targets( ) which uses these
two config options from cxt scsi target because this method is
never called anywhere.
Closes-Bug: #1427904 e2708de7cb686e4 9418f486709
DocImpact: Two unused config options are deprecated
Change-Id: Ic34910f4765f46