From 3919907d219bbdfba9ccae880a25208d70efe1a3 Mon Sep 17 00:00:00 2001 From: James Page Date: Tue, 26 Feb 2019 11:20:55 +0100 Subject: [PATCH] Use transport_url for Ocata or later Create new nova.conf template for Ocata release and switch to using the required parts from the openstack layer to configure [DEFAULT]transport_url and the remaining SSL and HA options in [oslo_messaging_rabbitmq] Change-Id: I956a2edad7e64cd14515ae562389180e2c28f195 Closes-Bug: 1817672 --- src/templates/ocata/nova.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/templates/ocata/nova.conf diff --git a/src/templates/ocata/nova.conf b/src/templates/ocata/nova.conf new file mode 100644 index 0000000..167d2c9 --- /dev/null +++ b/src/templates/ocata/nova.conf @@ -0,0 +1,20 @@ +# ocata +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### +[DEFAULT] +verbose={{ options.verbose }} +debug={{ options.debug }} +logdir=/var/log/nova +state_path=/var/lib/nova +root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf + +{% include "parts/section-transport-url" %} + +{% include "parts/database" %} + +[conductor] +workers = {{ options.workers }} + +{% include "parts/section-oslo-messaging-rabbit" %}