Omit default_schedule_zone if its not configured
There are cases where the default AZ is not called 'nova' in a single AZ environment. This patch adds the default behavior of Nova by leaving it empty if it's not used. For deployers that are using it, it will be added so this should not break them. Change-Id: Iacaa9785bf7ec7bebe2e0eb69e304bcfab41df5c
This commit is contained in:
parent
52d075839d
commit
3de3c37975
@ -306,7 +306,7 @@ nova_max_age: 0
|
||||
nova_remove_unused_resized_minimum_age_seconds: 3600
|
||||
nova_image_cache_manager_interval: 0
|
||||
nova_resume_guests_state_on_host_boot: False
|
||||
nova_default_schedule_zone: nova
|
||||
# nova_default_schedule_zone: nova
|
||||
|
||||
# Comma separated list of Glance API servers
|
||||
# nova_glance_api_servers:
|
||||
|
@ -10,7 +10,9 @@ log_dir = {{ nova_log_dir }}
|
||||
state_path = {{ nova_system_home_folder }}
|
||||
rootwrap_config = /etc/nova/rootwrap.conf
|
||||
service_down_time = 120
|
||||
{% if nova_default_schedule_zone is defined %}
|
||||
default_schedule_zone = {{ nova_default_schedule_zone }}
|
||||
{% endif %}
|
||||
|
||||
# Scheduler
|
||||
cpu_allocation_ratio = {{ nova_cpu_allocation_ratio }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user