Deprecate scheduler_max_attempts option

Option "scheduler_max_attempts" from group "DEFAULT" is deprecated.
Use option "max_attempts" from group "scheduler".

Change-Id: Ibdb4efc04dcec22a9223cefb0fa10b7c4b5015e0
Closes-Bug: #1642310
This commit is contained in:
ZhongShengping 2016-11-16 23:49:51 +08:00
parent 1e3090a5c8
commit 2b87253886

View File

@ -51,7 +51,6 @@ scheduler_default_filters = {{ nova_scheduler_default_filters }}
scheduler_driver_task_period = {{ nova_scheduler_driver_task_period }}
scheduler_host_manager = {{ nova_scheduler_host_manager }}
scheduler_host_subset_size = {{ nova_scheduler_host_subset_size }}
scheduler_max_attempts = {{ nova_scheduler_max_attempts }}
scheduler_weight_classes = {{ nova_scheduler_weight_classes }}
scheduler_use_baremetal_filters = {{ nova_scheduler_use_baremetal_filters }}
scheduler_tracks_instance_changes = {{ nova_scheduler_tracks_instance_changes }}
@ -302,3 +301,6 @@ disk_cachemodes = {{ nova_libvirt_disk_cachemodes }}
[wsgi]
api_paste_config = /etc/nova/api-paste.ini
[scheduler]
max_attempts = {{ nova_scheduler_max_attempts }}