summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch b/meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch
deleted file mode 100644
index 0dba960..0000000
--- a/meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 8fbdaba5c172dd95c08a808a3ec12309461ffbdb Mon Sep 17 00:00:00 2001
2From: Keith Holman <Keith.Holman@windriver.com>
3Date: Tue, 17 Jun 2014 14:34:27 -0400
4Subject: [PATCH] nova: convert path from relative to absolute
5
6Nova requires the configuration file "api-paste.ini". It is currently
7installed to the "/etc/nova/" directory. Nova assumes that this
8directory is accessible relative to the current location of source
9files. This works if the files are stored in the source tree,
10however, in deployment this doesn't work. This patch changes the path
11to the absolute path on the deployed system.
12
13Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
14---
15 nova/tests/conf_fixture.py | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/nova/tests/conf_fixture.py b/nova/tests/conf_fixture.py
19index f8e6dda..f8935f9 100644
20--- a/nova/tests/conf_fixture.py
21+++ b/nova/tests/conf_fixture.py
22@@ -48,7 +48,7 @@ class ConfFixture(fixtures.Fixture):
23 super(ConfFixture, self).setUp()
24
25 self.conf.set_default('api_paste_config',
26- paths.state_path_def('etc/nova/api-paste.ini'))
27+ paths.state_path_def('/etc/nova/api-paste.ini'))
28 self.conf.set_default('host', 'fake-mini')
29 self.conf.set_default('compute_driver', 'nova.virt.fake.FakeDriver')
30 self.conf.set_default('fake_network', True)
31--
321.9.3
33