conf: Remove deprecated aliases
These have been around since the beginning of time. Let's clean them up. Change-Id: I2339cc62698fe39ddb6be48d021b9211223dbf41 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
62e112461f
commit
50a7a3050a
@ -25,8 +25,6 @@ scheduler_opts = [
|
|||||||
cfg.IntOpt("max_attempts",
|
cfg.IntOpt("max_attempts",
|
||||||
default=3,
|
default=3,
|
||||||
min=1,
|
min=1,
|
||||||
deprecated_name="scheduler_max_attempts",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
The maximum number of schedule attempts.
|
The maximum number of schedule attempts.
|
||||||
|
|
||||||
@ -245,8 +243,6 @@ filter_scheduler_opts = [
|
|||||||
cfg.IntOpt("host_subset_size",
|
cfg.IntOpt("host_subset_size",
|
||||||
default=1,
|
default=1,
|
||||||
min=1,
|
min=1,
|
||||||
deprecated_name="scheduler_host_subset_size",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Size of subset of best hosts selected by scheduler.
|
Size of subset of best hosts selected by scheduler.
|
||||||
|
|
||||||
@ -267,7 +263,6 @@ Possible values:
|
|||||||
cfg.IntOpt("max_io_ops_per_host",
|
cfg.IntOpt("max_io_ops_per_host",
|
||||||
default=8,
|
default=8,
|
||||||
min=0,
|
min=0,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
The number of instances that can be actively performing IO on a host.
|
The number of instances that can be actively performing IO on a host.
|
||||||
|
|
||||||
@ -289,7 +284,6 @@ Related options:
|
|||||||
cfg.IntOpt("max_instances_per_host",
|
cfg.IntOpt("max_instances_per_host",
|
||||||
default=50,
|
default=50,
|
||||||
min=1,
|
min=1,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Maximum number of instances that can exist on a host.
|
Maximum number of instances that can exist on a host.
|
||||||
|
|
||||||
@ -312,8 +306,6 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.BoolOpt("track_instance_changes",
|
cfg.BoolOpt("track_instance_changes",
|
||||||
default=True,
|
default=True,
|
||||||
deprecated_name="scheduler_tracks_instance_changes",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Enable querying of individual hosts for instance information.
|
Enable querying of individual hosts for instance information.
|
||||||
|
|
||||||
@ -341,8 +333,6 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.MultiStrOpt("available_filters",
|
cfg.MultiStrOpt("available_filters",
|
||||||
default=["nova.scheduler.filters.all_filters"],
|
default=["nova.scheduler.filters.all_filters"],
|
||||||
deprecated_name="scheduler_available_filters",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Filters that the scheduler can use.
|
Filters that the scheduler can use.
|
||||||
|
|
||||||
@ -373,8 +363,6 @@ Related options:
|
|||||||
"ServerGroupAntiAffinityFilter",
|
"ServerGroupAntiAffinityFilter",
|
||||||
"ServerGroupAffinityFilter",
|
"ServerGroupAffinityFilter",
|
||||||
],
|
],
|
||||||
deprecated_name="scheduler_default_filters",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Filters that the scheduler will use.
|
Filters that the scheduler will use.
|
||||||
|
|
||||||
@ -398,8 +386,6 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.ListOpt("weight_classes",
|
cfg.ListOpt("weight_classes",
|
||||||
default=["nova.scheduler.weights.all_weighers"],
|
default=["nova.scheduler.weights.all_weighers"],
|
||||||
deprecated_name="scheduler_weight_classes",
|
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Weighers that the scheduler will use.
|
Weighers that the scheduler will use.
|
||||||
|
|
||||||
@ -418,7 +404,6 @@ Possible values:
|
|||||||
"""),
|
"""),
|
||||||
cfg.FloatOpt("ram_weight_multiplier",
|
cfg.FloatOpt("ram_weight_multiplier",
|
||||||
default=1.0,
|
default=1.0,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
RAM weight multipler ratio.
|
RAM weight multipler ratio.
|
||||||
|
|
||||||
@ -465,7 +450,6 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.FloatOpt("disk_weight_multiplier",
|
cfg.FloatOpt("disk_weight_multiplier",
|
||||||
default=1.0,
|
default=1.0,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Disk weight multipler ratio.
|
Disk weight multipler ratio.
|
||||||
|
|
||||||
@ -482,7 +466,6 @@ Possible values:
|
|||||||
"""),
|
"""),
|
||||||
cfg.FloatOpt("io_ops_weight_multiplier",
|
cfg.FloatOpt("io_ops_weight_multiplier",
|
||||||
default=-1.0,
|
default=-1.0,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
IO operations weight multipler ratio.
|
IO operations weight multipler ratio.
|
||||||
|
|
||||||
@ -659,7 +642,6 @@ Possible values:
|
|||||||
# TODO(mikal): replace this option with something involving host aggregates
|
# TODO(mikal): replace this option with something involving host aggregates
|
||||||
cfg.ListOpt("isolated_images",
|
cfg.ListOpt("isolated_images",
|
||||||
default=[],
|
default=[],
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
List of UUIDs for images that can only be run on certain hosts.
|
List of UUIDs for images that can only be run on certain hosts.
|
||||||
|
|
||||||
@ -681,7 +663,6 @@ Related options:
|
|||||||
"""),
|
"""),
|
||||||
cfg.ListOpt("isolated_hosts",
|
cfg.ListOpt("isolated_hosts",
|
||||||
default=[],
|
default=[],
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
List of hosts that can only run certain images.
|
List of hosts that can only run certain images.
|
||||||
|
|
||||||
@ -703,7 +684,6 @@ Related options:
|
|||||||
cfg.BoolOpt(
|
cfg.BoolOpt(
|
||||||
"restrict_isolated_hosts_to_isolated_images",
|
"restrict_isolated_hosts_to_isolated_images",
|
||||||
default=True,
|
default=True,
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Prevent non-isolated images from being built on isolated hosts.
|
Prevent non-isolated images from being built on isolated hosts.
|
||||||
|
|
||||||
@ -722,7 +702,6 @@ Related options:
|
|||||||
# properties
|
# properties
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
"aggregate_image_properties_isolation_namespace",
|
"aggregate_image_properties_isolation_namespace",
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Image property namespace for use in the host aggregate.
|
Image property namespace for use in the host aggregate.
|
||||||
|
|
||||||
@ -747,7 +726,6 @@ Related options:
|
|||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
"aggregate_image_properties_isolation_separator",
|
"aggregate_image_properties_isolation_separator",
|
||||||
default=".",
|
default=".",
|
||||||
deprecated_group="DEFAULT",
|
|
||||||
help="""
|
help="""
|
||||||
Separator character(s) for image property namespace and name.
|
Separator character(s) for image property namespace and name.
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
A number of scheduler-related config options were renamed during the 15.0.0
|
||||||
|
(Ocata) release. The deprecated aliases have now been removed. These are:
|
||||||
|
|
||||||
|
- ``[DEFAULT] scheduler_max_attempts`` (now ``[scheduler] max_attempts``)
|
||||||
|
- ``[DEFAULT] scheduler_host_subset_size`` (now
|
||||||
|
``[scheduler] host_subset_size``)
|
||||||
|
- ``[DEFAULT] max_io_ops_per_host`` (now
|
||||||
|
``[scheduler] max_io_ops_per_host``)
|
||||||
|
- ``[DEFAULT] max_instances_per_host`` (now
|
||||||
|
``[scheduler] max_instances_per_host``)
|
||||||
|
- ``[DEFAULT] scheduler_tracks_instance_changes`` (now
|
||||||
|
``[scheduler] track_instance_changes``)
|
||||||
|
- ``[DEFAULT] scheduler_available_filters`` (now
|
||||||
|
``[scheduler] available_filters``)
|
Loading…
x
Reference in New Issue
Block a user