Add deprecated_since parameter
This can be used to formalize deprecation timelines, so that options are removed when planned. This includes moving some lines around, so that parameters are in a regular order. A future change can remove the fully deprecated options. The relevant commits are: DEFAULT vendordata_driver21da1ba
cells manager0fcec69
cells driver579c98a
conductor use_locala698871
conductor managere683c41
service metadata_manager0fcec69
service compute_manager0fcec69
service console_manager0fcec69
service consoleauth_manager0fcec69
service cert_manager0fcec69
service scheduler_manager0fcec69
DEFAULT quota_driver4306388
DEFAULT compute_available_monitors973f312
DEFAULT compute_stats_class3be36fc
DEFAULT snapshot_name_templateaeee454
DEFAULT db_driverc87ae92
DEFAULT image_decryption_dirbe86b27
DEFAULT s3_hostbe86b27
DEFAULT s3_portbe86b27
DEFAULT s3_access_keybe86b27
DEFAULT s3_secret_keybe86b27
DEFAULT s3_use_sslbe86b27
DEFAULT s3_affix_tenantbe86b27
DEFAULT enable_network_quotad0b8fec
DEFAULT quota_networksd0b8fec
glance use_glance_v116dd86f
image_file_url filesystems9931ef9
image_file_url:??? id9931ef9
image_file_url:??? mountpoint9931ef9
DEFAULT fatal_exception_format_errors6919b25
barbican catalog_info899a140
barbican endpoint_template899a140
barbican os_region_name899a140
ironic admin_username2ea2399
ironic admin_password2ea2399
libvirt use_usb_tablet73d5d1f
libvirt image_info_filename_pattern2c389cc
libvirt checksum_base_images2c389cc
libvirt checksum_interval_seconds2c389cc
DEFAULT share_dhcp_addresse29a800
DEFAULT security_group_apief957ee
osapi_v21 extensions_blacklist11507ee
osapi_v21 extensions_whitelist11507ee
osapi_v21 project_id_regex1f16a76
DEFAULT cert_topic5afc8e5
DEFAULT default_flavorb7660e0
Change-Id: I9e483109b52fe6d98e386a03010063cb37a0d9c8 Implements: bp centralize-config-options-ocata
This commit is contained in:
parent
4cc5ef121f
commit
e9515ba745
@ -64,6 +64,7 @@ Possible values:
|
|||||||
cfg.StrOpt("vendordata_driver",
|
cfg.StrOpt("vendordata_driver",
|
||||||
default="nova.api.metadata.vendordata_json.JsonFileVendorData",
|
default="nova.api.metadata.vendordata_json.JsonFileVendorData",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="13.0.0",
|
||||||
help="""
|
help="""
|
||||||
When returning instance metadata, this is the class that is used
|
When returning instance metadata, this is the class that is used
|
||||||
for getting vendor metadata when that class isn't specified in the individual
|
for getting vendor metadata when that class isn't specified in the individual
|
||||||
@ -278,6 +279,7 @@ fping_path_opts = [
|
|||||||
os_network_opts = [
|
os_network_opts = [
|
||||||
cfg.BoolOpt("enable_network_quota",
|
cfg.BoolOpt("enable_network_quota",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
CRUD operations on tenant networks are only available when using nova-network
|
CRUD operations on tenant networks are only available when using nova-network
|
||||||
and nova-network is itself deprecated.""",
|
and nova-network is itself deprecated.""",
|
||||||
@ -311,6 +313,7 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.IntOpt("quota_networks",
|
cfg.IntOpt("quota_networks",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
CRUD operations on tenant networks are only available when using nova-network
|
CRUD operations on tenant networks are only available when using nova-network
|
||||||
and nova-network is itself deprecated.""",
|
and nova-network is itself deprecated.""",
|
||||||
|
@ -237,6 +237,7 @@ cell_manager_opts = [
|
|||||||
cfg.StrOpt('driver',
|
cfg.StrOpt('driver',
|
||||||
default='nova.cells.rpc_driver.CellsRPCDriver',
|
default='nova.cells.rpc_driver.CellsRPCDriver',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason='The only available driver '
|
deprecated_reason='The only available driver '
|
||||||
'is the RPC driver.',
|
'is the RPC driver.',
|
||||||
help="""Cells communication driver
|
help="""Cells communication driver
|
||||||
|
@ -19,6 +19,7 @@ from oslo_config import cfg
|
|||||||
cert_opts = [
|
cert_opts = [
|
||||||
cfg.StrOpt("cert_topic",
|
cfg.StrOpt("cert_topic",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
Since the nova-cert service is marked for deprecation, the feature to change
|
Since the nova-cert service is marked for deprecation, the feature to change
|
||||||
RPC topic that cert nodes listen may be removed as early as the 15.0.0
|
RPC topic that cert nodes listen may be removed as early as the 15.0.0
|
||||||
|
@ -114,6 +114,7 @@ Possible values:
|
|||||||
"""),
|
"""),
|
||||||
cfg.MultiStrOpt('compute_available_monitors',
|
cfg.MultiStrOpt('compute_available_monitors',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='12.0.0',
|
||||||
deprecated_reason='stevedore and setuptools entry points '
|
deprecated_reason='stevedore and setuptools entry points '
|
||||||
'now allow a set of plugins to be '
|
'now allow a set of plugins to be '
|
||||||
'specified without this config option.',
|
'specified without this config option.',
|
||||||
@ -174,6 +175,7 @@ Possible values:
|
|||||||
cfg.StrOpt('compute_stats_class',
|
cfg.StrOpt('compute_stats_class',
|
||||||
default='nova.compute.stats.Stats',
|
default='nova.compute.stats.Stats',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='13.0.0',
|
||||||
help="""
|
help="""
|
||||||
Abstracts out managing compute host stats to pluggable class. This class
|
Abstracts out managing compute host stats to pluggable class. This class
|
||||||
manages and updates stats for the local compute host after an instance
|
manages and updates stats for the local compute host after an instance
|
||||||
@ -700,8 +702,8 @@ Related options:
|
|||||||
cfg.StrOpt('snapshot_name_template',
|
cfg.StrOpt('snapshot_name_template',
|
||||||
default='snapshot-%s',
|
default='snapshot-%s',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_reason='This is not used anymore and will be '
|
deprecated_since='14.0.0',
|
||||||
'removed in the O release.',
|
deprecated_reason='This is not used anymore.',
|
||||||
help='Template string to be used to generate snapshot names')
|
help='Template string to be used to generate snapshot names')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ ALL_OPTS = [
|
|||||||
'use_local',
|
'use_local',
|
||||||
default=False,
|
default=False,
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='13.0.0',
|
||||||
help="""
|
help="""
|
||||||
Perform nova-conductor operations locally. This legacy mode was
|
Perform nova-conductor operations locally. This legacy mode was
|
||||||
introduced to bridge a gap during the transition to the conductor service.
|
introduced to bridge a gap during the transition to the conductor service.
|
||||||
@ -51,6 +52,7 @@ Topic exchange name on which conductor nodes listen.
|
|||||||
'manager',
|
'manager',
|
||||||
default='nova.conductor.manager.ConductorManager',
|
default='nova.conductor.manager.ConductorManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='13.0.0',
|
||||||
help="""
|
help="""
|
||||||
Full class name for the Manager for conductor.
|
Full class name for the Manager for conductor.
|
||||||
|
|
||||||
|
@ -28,8 +28,9 @@ _DEFAULT_SQL_CONNECTION = 'sqlite:///' + paths.state_path_def('nova.sqlite')
|
|||||||
db_driver_opt = cfg.StrOpt(
|
db_driver_opt = cfg.StrOpt(
|
||||||
'db_driver',
|
'db_driver',
|
||||||
default='nova.db',
|
default='nova.db',
|
||||||
help='DEPRECATED: The driver to use for database access',
|
deprecated_for_removal=True,
|
||||||
deprecated_for_removal=True)
|
deprecated_since='13.0.0',
|
||||||
|
help='The driver to use for database access')
|
||||||
|
|
||||||
|
|
||||||
# NOTE(markus_z): We cannot simply do:
|
# NOTE(markus_z): We cannot simply do:
|
||||||
|
@ -19,6 +19,7 @@ exc_log_opts = [
|
|||||||
cfg.BoolOpt('fatal_exception_format_errors',
|
cfg.BoolOpt('fatal_exception_format_errors',
|
||||||
default=False,
|
default=False,
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="This is only used for internal testing.",
|
deprecated_reason="This is only used for internal testing.",
|
||||||
help="""
|
help="""
|
||||||
When set to true, this option enables validation of exception
|
When set to true, this option enables validation of exception
|
||||||
|
@ -21,7 +21,8 @@ flavor_opts = [
|
|||||||
"default_flavor",
|
"default_flavor",
|
||||||
default="m1.small",
|
default="m1.small",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_reason="The EC2 API is deprecated",
|
deprecated_since="14.0.0",
|
||||||
|
deprecated_reason="The EC2 API is deprecated.",
|
||||||
help="""
|
help="""
|
||||||
Default flavor to use for the EC2 API only.
|
Default flavor to use for the EC2 API only.
|
||||||
The Nova API does not support a default flavor.
|
The Nova API does not support a default flavor.
|
||||||
|
@ -50,6 +50,10 @@ should be fully qualified urls of the form
|
|||||||
'[file].'),
|
'[file].'),
|
||||||
cfg.BoolOpt('use_glance_v1',
|
cfg.BoolOpt('use_glance_v1',
|
||||||
default=False,
|
default=False,
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
|
deprecated_reason='Glance v1 support will be removed in '
|
||||||
|
'Ocata',
|
||||||
help="""
|
help="""
|
||||||
This flag allows reverting to glance v1 if for some reason glance v2 doesn't
|
This flag allows reverting to glance v1 if for some reason glance v2 doesn't
|
||||||
work in your environment. This will only exist in Newton, and a fully working
|
work in your environment. This will only exist in Newton, and a fully working
|
||||||
@ -68,10 +72,7 @@ Glance v2 will be a hard requirement in Ocata.
|
|||||||
* Related options:
|
* Related options:
|
||||||
|
|
||||||
None
|
None
|
||||||
""",
|
"""),
|
||||||
deprecated_for_removal=True,
|
|
||||||
deprecated_reason='Glance v1 support will be removed in '
|
|
||||||
'Ocata'),
|
|
||||||
cfg.BoolOpt('verify_glance_signatures',
|
cfg.BoolOpt('verify_glance_signatures',
|
||||||
default=False,
|
default=False,
|
||||||
help='Require Nova to perform signature verification on '
|
help='Require Nova to perform signature verification on '
|
||||||
|
@ -24,6 +24,7 @@ filesystems = cfg.ListOpt(
|
|||||||
name='filesystems',
|
name='filesystems',
|
||||||
default=[],
|
default=[],
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
The feature to download images from glance via filesystem is not used and will
|
The feature to download images from glance via filesystem is not used and will
|
||||||
be removed in the future.
|
be removed in the future.
|
||||||
@ -39,6 +40,7 @@ image_file_url:<list entry name> sections
|
|||||||
filesystem_opts = [
|
filesystem_opts = [
|
||||||
cfg.StrOpt('id',
|
cfg.StrOpt('id',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
The feature to download images from glance via filesystem is not used and will
|
The feature to download images from glance via filesystem is not used and will
|
||||||
be removed in the future.
|
be removed in the future.
|
||||||
@ -50,6 +52,7 @@ file system.
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt('mountpoint',
|
cfg.StrOpt('mountpoint',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="""
|
deprecated_reason="""
|
||||||
The feature to download images from glance via filesystem is not used and will
|
The feature to download images from glance via filesystem is not used and will
|
||||||
be removed in the future.
|
be removed in the future.
|
||||||
|
@ -46,12 +46,14 @@ ironic_options = [
|
|||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'admin_username',
|
'admin_username',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
help='Ironic keystone admin name. '
|
help='Ironic keystone admin name. '
|
||||||
'Use ``username`` instead.'),
|
'Use ``username`` instead.'),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'admin_password',
|
'admin_password',
|
||||||
secret=True,
|
secret=True,
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
help='Ironic keystone admin password. '
|
help='Ironic keystone admin password. '
|
||||||
'Use ``password`` instead.'),
|
'Use ``password`` instead.'),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
|
@ -42,6 +42,7 @@ barbican_opts = [
|
|||||||
cfg.StrOpt("catalog_info",
|
cfg.StrOpt("catalog_info",
|
||||||
default="key-manager:barbican:public",
|
default="key-manager:barbican:public",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="This option have been moved to the "
|
deprecated_reason="This option have been moved to the "
|
||||||
"Castellan library",
|
"Castellan library",
|
||||||
help="""
|
help="""
|
||||||
@ -51,6 +52,7 @@ catalog. Format is: separated values of the form:
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt("endpoint_template",
|
cfg.StrOpt("endpoint_template",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="This option have been moved to the "
|
deprecated_reason="This option have been moved to the "
|
||||||
"Castellan library",
|
"Castellan library",
|
||||||
help="""
|
help="""
|
||||||
@ -60,6 +62,7 @@ http://localhost:9311/v1/%(project_id)s
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt("os_region_name",
|
cfg.StrOpt("os_region_name",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since="14.0.0",
|
||||||
deprecated_reason="This option have been moved to the "
|
deprecated_reason="This option have been moved to the "
|
||||||
"Castellan library",
|
"Castellan library",
|
||||||
help='Region name of this node'),
|
help='Region name of this node'),
|
||||||
|
@ -223,6 +223,7 @@ Related options:
|
|||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_reason="This option is being replaced by the "
|
deprecated_reason="This option is being replaced by the "
|
||||||
"'pointer_model' option.",
|
"'pointer_model' option.",
|
||||||
|
deprecated_since='14.0.0',
|
||||||
help="""
|
help="""
|
||||||
Enable a mouse cursor within a graphical VNC or SPICE sessions.
|
Enable a mouse cursor within a graphical VNC or SPICE sessions.
|
||||||
|
|
||||||
@ -503,31 +504,34 @@ libvirt_imagecache_opts = [
|
|||||||
cfg.StrOpt('image_info_filename_pattern',
|
cfg.StrOpt('image_info_filename_pattern',
|
||||||
default='$instances_path/$image_cache_subdirectory_name/'
|
default='$instances_path/$image_cache_subdirectory_name/'
|
||||||
'%(image)s.info',
|
'%(image)s.info',
|
||||||
help='Allows image information files to be stored in '
|
|
||||||
'non-standard locations',
|
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='Image info files are no longer used by the '
|
deprecated_reason='Image info files are no longer used by the '
|
||||||
'image cache'),
|
'image cache',
|
||||||
|
help='Allows image information files to be stored in '
|
||||||
|
'non-standard locations'),
|
||||||
cfg.IntOpt('remove_unused_resized_minimum_age_seconds',
|
cfg.IntOpt('remove_unused_resized_minimum_age_seconds',
|
||||||
default=3600,
|
default=3600,
|
||||||
help='Unused resized base images younger than this will not be '
|
help='Unused resized base images younger than this will not be '
|
||||||
'removed'),
|
'removed'),
|
||||||
cfg.BoolOpt('checksum_base_images',
|
cfg.BoolOpt('checksum_base_images',
|
||||||
default=False,
|
default=False,
|
||||||
help='Write a checksum for files in _base to disk',
|
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='The image cache no longer periodically '
|
deprecated_reason='The image cache no longer periodically '
|
||||||
'calculates checksums of stored images. '
|
'calculates checksums of stored images. '
|
||||||
'Data integrity can be checked at the block '
|
'Data integrity can be checked at the block '
|
||||||
'or filesystem level.'),
|
'or filesystem level.',
|
||||||
|
help='Write a checksum for files in _base to disk'),
|
||||||
cfg.IntOpt('checksum_interval_seconds',
|
cfg.IntOpt('checksum_interval_seconds',
|
||||||
default=3600,
|
default=3600,
|
||||||
help='How frequently to checksum base images',
|
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='The image cache no longer periodically '
|
deprecated_reason='The image cache no longer periodically '
|
||||||
'calculates checksums of stored images. '
|
'calculates checksums of stored images. '
|
||||||
'Data integrity can be checked at the block '
|
'Data integrity can be checked at the block '
|
||||||
'or filesystem level.'),
|
'or filesystem level.',
|
||||||
|
help='How frequently to checksum base images'),
|
||||||
]
|
]
|
||||||
|
|
||||||
libvirt_lvm_opts = [
|
libvirt_lvm_opts = [
|
||||||
@ -560,8 +564,8 @@ libvirt_volume_opts = [
|
|||||||
'from QEMU. Currently supported protocols: [gluster]'),
|
'from QEMU. Currently supported protocols: [gluster]'),
|
||||||
cfg.BoolOpt('volume_use_multipath',
|
cfg.BoolOpt('volume_use_multipath',
|
||||||
default=False,
|
default=False,
|
||||||
help='Use multipath connection of the iSCSI or FC volume',
|
deprecated_name='iscsi_use_multipath',
|
||||||
deprecated_name='iscsi_use_multipath'),
|
help='Use multipath connection of the iSCSI or FC volume')
|
||||||
]
|
]
|
||||||
|
|
||||||
libvirt_volume_aoe_opts = [
|
libvirt_volume_aoe_opts = [
|
||||||
|
@ -370,6 +370,7 @@ Related options:
|
|||||||
cfg.BoolOpt("share_dhcp_address",
|
cfg.BoolOpt("share_dhcp_address",
|
||||||
default=False,
|
default=False,
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='2014.2',
|
||||||
help="""
|
help="""
|
||||||
THIS VALUE SHOULD BE SET WHEN CREATING THE NETWORK.
|
THIS VALUE SHOULD BE SET WHEN CREATING THE NETWORK.
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ api_opts = [
|
|||||||
cfg.ListOpt("extensions_blacklist",
|
cfg.ListOpt("extensions_blacklist",
|
||||||
default=[],
|
default=[],
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_group="osapi_v21",
|
deprecated_since="12.0.0",
|
||||||
help="""
|
help="""
|
||||||
This option is a list of all of the v2.1 API extensions to never load. However,
|
This option is a list of all of the v2.1 API extensions to never load. However,
|
||||||
it will be removed in the near future, after which all the functionality
|
it will be removed in the near future, after which all the functionality
|
||||||
@ -43,7 +43,7 @@ Related options:
|
|||||||
cfg.ListOpt("extensions_whitelist",
|
cfg.ListOpt("extensions_whitelist",
|
||||||
default=[],
|
default=[],
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_group="osapi_v21",
|
deprecated_since="12.0.0",
|
||||||
help="""
|
help="""
|
||||||
This is a list of extensions. If it is empty, then *all* extensions except
|
This is a list of extensions. If it is empty, then *all* extensions except
|
||||||
those specified in the extensions_blacklist option will be loaded. If it is not
|
those specified in the extensions_blacklist option will be loaded. If it is not
|
||||||
@ -64,7 +64,7 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt("project_id_regex",
|
cfg.StrOpt("project_id_regex",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_group="osapi_v21",
|
deprecated_since="13.0.0",
|
||||||
help="""
|
help="""
|
||||||
This option is a string representing a regular expression (regex) that matches
|
This option is a string representing a regular expression (regex) that matches
|
||||||
the project_id as contained in URLs. If not set, it will match normal UUIDs
|
the project_id as contained in URLs. If not set, it will match normal UUIDs
|
||||||
|
@ -230,6 +230,7 @@ Possible values:
|
|||||||
cfg.StrOpt('quota_driver',
|
cfg.StrOpt('quota_driver',
|
||||||
default='nova.quota.DbQuotaDriver',
|
default='nova.quota.DbQuotaDriver',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
help="""
|
help="""
|
||||||
Provides abstraction for quota checks. Users can configure a specific
|
Provides abstraction for quota checks. Users can configure a specific
|
||||||
driver to use for quota checks.
|
driver to use for quota checks.
|
||||||
|
@ -20,6 +20,7 @@ from oslo_config import cfg
|
|||||||
s3_opts = [
|
s3_opts = [
|
||||||
cfg.StrOpt('image_decryption_dir',
|
cfg.StrOpt('image_decryption_dir',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default='/tmp',
|
default='/tmp',
|
||||||
help="""
|
help="""
|
||||||
@ -27,6 +28,7 @@ Parent directory for tempdir used for image decryption
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt('s3_host',
|
cfg.StrOpt('s3_host',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default='$my_ip',
|
default='$my_ip',
|
||||||
help="""
|
help="""
|
||||||
@ -34,6 +36,7 @@ Hostname or IP for OpenStack to use when accessing the S3 API
|
|||||||
"""),
|
"""),
|
||||||
cfg.PortOpt('s3_port',
|
cfg.PortOpt('s3_port',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default=3333,
|
default=3333,
|
||||||
help="""
|
help="""
|
||||||
@ -42,21 +45,25 @@ Port used when accessing the S3 API. It should be in the range of
|
|||||||
"""),
|
"""),
|
||||||
cfg.StrOpt('s3_access_key',
|
cfg.StrOpt('s3_access_key',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default='notchecked',
|
default='notchecked',
|
||||||
help='Access key to use S3 server for images'),
|
help='Access key to use S3 server for images'),
|
||||||
cfg.StrOpt('s3_secret_key',
|
cfg.StrOpt('s3_secret_key',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default='notchecked',
|
default='notchecked',
|
||||||
help='Secret key to use for S3 server for images'),
|
help='Secret key to use for S3 server for images'),
|
||||||
cfg.BoolOpt('s3_use_ssl',
|
cfg.BoolOpt('s3_use_ssl',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default=False,
|
default=False,
|
||||||
help='Whether to use SSL when talking to S3'),
|
help='Whether to use SSL when talking to S3'),
|
||||||
cfg.BoolOpt('s3_affix_tenant',
|
cfg.BoolOpt('s3_affix_tenant',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='14.0.0',
|
||||||
deprecated_reason='EC2 API related options are not supported.',
|
deprecated_reason='EC2 API related options are not supported.',
|
||||||
default=False,
|
default=False,
|
||||||
help="""
|
help="""
|
||||||
|
@ -126,6 +126,7 @@ Possible Values:
|
|||||||
cfg.StrOpt('metadata_manager',
|
cfg.StrOpt('metadata_manager',
|
||||||
default='nova.api.manager.MetadataManager',
|
default='nova.api.manager.MetadataManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_since='13.0.0',
|
||||||
help="Full class name for the service metadata manager."),
|
help="Full class name for the service metadata manager."),
|
||||||
cfg.StrOpt('metadata_listen',
|
cfg.StrOpt('metadata_listen',
|
||||||
default="0.0.0.0",
|
default="0.0.0.0",
|
||||||
@ -164,19 +165,23 @@ Possible Values:
|
|||||||
cfg.StrOpt('compute_manager',
|
cfg.StrOpt('compute_manager',
|
||||||
default='nova.compute.manager.ComputeManager',
|
default='nova.compute.manager.ComputeManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help="Full class name for the Manager for compute"),
|
deprecated_since='13.0.0',
|
||||||
|
help='Full class name for the Manager for compute'),
|
||||||
cfg.StrOpt('console_manager',
|
cfg.StrOpt('console_manager',
|
||||||
default='nova.console.manager.ConsoleProxyManager',
|
default='nova.console.manager.ConsoleProxyManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help="Full class name for the Manager for console proxy"),
|
deprecated_since='13.0.0',
|
||||||
|
help='Full class name for the Manager for console proxy'),
|
||||||
cfg.StrOpt('consoleauth_manager',
|
cfg.StrOpt('consoleauth_manager',
|
||||||
default='nova.consoleauth.manager.ConsoleAuthManager',
|
default='nova.consoleauth.manager.ConsoleAuthManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help="Full clase name for the Manager for console auth"),
|
deprecated_since='13.0.0',
|
||||||
|
help='Full class name for the Manager for console auth'),
|
||||||
cfg.StrOpt('cert_manager',
|
cfg.StrOpt('cert_manager',
|
||||||
default='nova.cert.manager.CertManager',
|
default='nova.cert.manager.CertManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help="Full class name for the Manager for cert"),
|
deprecated_since='13.0.0',
|
||||||
|
help='Full class name for the Manager for cert'),
|
||||||
# NOTE(sdague): the network_manager has a bunch of different in
|
# NOTE(sdague): the network_manager has a bunch of different in
|
||||||
# tree classes that are still legit options. In Newton we should
|
# tree classes that are still legit options. In Newton we should
|
||||||
# turn this into a selector.
|
# turn this into a selector.
|
||||||
@ -187,12 +192,13 @@ Possible Values:
|
|||||||
'nova.network.manager.VlanManager',
|
'nova.network.manager.VlanManager',
|
||||||
],
|
],
|
||||||
default='nova.network.manager.VlanManager',
|
default='nova.network.manager.VlanManager',
|
||||||
help="Full class name for the Manager for network"),
|
help='Full class name for the Manager for network'),
|
||||||
cfg.StrOpt('scheduler_manager',
|
cfg.StrOpt('scheduler_manager',
|
||||||
default='nova.scheduler.manager.SchedulerManager',
|
default='nova.scheduler.manager.SchedulerManager',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help="Full class name for the Manager for scheduler"),
|
deprecated_since='13.0.0',
|
||||||
]
|
help='Full class name for the Manager for scheduler'),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def register_opts(conf):
|
def register_opts(conf):
|
||||||
|
Loading…
Reference in New Issue
Block a user