summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-04-04 16:02:56 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-04-09 10:48:37 -0400
commite7b4a0b965bb40861a487c13199755044919472a (patch)
tree740373e9594abbadd846279582c596cc9e2607dd /meta-openstack/recipes-devtools/python/python-nova/nova-convert-path-from-relative-to-absolute.patch
parentc87a3d517bd49b1e915ba9bb3f20bfc86d239dbc (diff)
downloadmeta-cloud-services-e7b4a0b965bb40861a487c13199755044919472a.tar.gz
python-nova: uprev to latest openstack sable/pike release
This requires several new recipes and package uprevs (python-tooz, python-os-brick, python-pypowervm, python-networkx, python-microversion-parse, python-os-win, python-os-vif, and python-os-traits). Along with updates to make things work with systemd. We also take steps to make setup/init use the directions from https://docs.openstack.org/nova/pike/install/controller-install-ubuntu.html After these changes we can validate that nova is operating nominally using the command: +-------+--------------------------------------+ | Name | UUID | +-------+--------------------------------------+ | cell0 | 00000000-0000-0000-0000-000000000000 | | cell1 | f547fa04-7c82-4498-95ee-210fc40abdb6 | +-------+--------------------------------------+ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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