From 48c99a5231adafa72b280fba2b37392a7dda55da Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Fri, 14 Oct 2016 08:58:01 +0800 Subject: [PATCH] Fix api_paste_config option Option "api_paste_config" from group "DEFAULT" is deprecated in Nova. Use option "api_paste_config" from group "wsgi". Change-Id: I7267c0f93f745219611cf6f508f5953d545f0c44 --- templates/nova.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 3af986a5..a9c29ac9 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -61,7 +61,6 @@ enable_instance_password = {{ nova_enable_instance_password }} compute_driver = {{ nova_compute_driver }} instance_name_template = instance-%08x instances_path = {{ nova_system_home_folder }}/instances -api_paste_config = /etc/nova/api-paste.ini allow_resize_to_same_host = True image_cache_manager_interval = {{ nova_image_cache_manager_interval }} resume_guests_state_on_host_boot = {{ nova_resume_guests_state_on_host_boot }} @@ -288,3 +287,6 @@ live_migration_uri = "qemu+ssh://nova@%s/system?no_verify=1&keyfile={{ nova_syst hw_disk_discard = {{ nova_libvirt_hw_disk_discard }} disk_cachemodes = {{ nova_libvirt_disk_cachemodes }} {% endif %} + +[wsgi] +api_paste_config = /etc/nova/api-paste.ini