From cb9c24f8f3860f60a769f9a189821f66ebf0f814 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 4 May 2012 10:46:06 +0100 Subject: [PATCH] Use ConfigOpts.find_file() to find paste config Use cfg's new helper method to find the paste deploy config file. The basic behavior is "look alongside the config file" with a fall back to the standard default config paths. Change-Id: If7a9ac1d456f372e3f5f6c78e237a7b099d1a30e --- nova/tests/fake_flags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/tests/fake_flags.py b/nova/tests/fake_flags.py index 598fb3af..9f0c9983 100644 --- a/nova/tests/fake_flags.py +++ b/nova/tests/fake_flags.py @@ -43,3 +43,4 @@ FLAGS.set_default('flat_network_bridge', 'br100') FLAGS.set_default('sqlite_synchronous', False) flags.DECLARE('policy_file', 'nova.policy') flags.DECLARE('compute_scheduler_driver', 'nova.scheduler.multi') +FLAGS.set_default('api_paste_config', '$state_path/etc/nova/api-paste.ini')