Merge "Deprecate iser_opts"

This commit is contained in:
Zuul 2025-03-13 15:00:59 +00:00 committed by Gerrit Code Review
commit 8da01f896b
2 changed files with 31 additions and 5 deletions

View File

@ -247,19 +247,34 @@ iser_opts = [
cfg.IntOpt('num_iser_scan_tries',
default=3,
help='The maximum number of times to rescan iSER target '
'to find volume'),
'to find volume',
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason='Has been unused since the Mitaka release.'),
cfg.StrOpt('iser_target_prefix',
default='iqn.2010-10.org.openstack:',
help='Prefix for iSER volumes'),
help='Prefix for iSER volumes',
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason='Has been unused since the Mitaka release.'),
cfg.StrOpt('iser_ip_address',
default='$my_ip',
help='The IP address that the iSER daemon is listening on'),
help='The IP address that the iSER daemon is listening on',
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason='Has been unused since the Mitaka release.'),
cfg.PortOpt('iser_port',
default=3260,
help='The port that the iSER daemon is listening on'),
help='The port that the iSER daemon is listening on',
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason='Has been unused since the Mitaka release.'),
cfg.StrOpt('iser_helper',
default='tgtadm',
help='The name of the iSER target user-land tool to use'),
help='The name of the iSER target user-land tool to use',
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason='Has been unused since the Havana release.'),
]
nvmeof_opts = [

View File

@ -0,0 +1,11 @@
---
deprecations:
- |
The following configuration options, which have been silently ignored since
the Mitaka release, are hereby deprecated for removal:
- ``num_iser_scan_tries``
- ``iser_target_prefix``
- ``iser_ip_address``
- ``iser_port``
- ``iser_helper``