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
This commit is contained in:
James Page 2019-02-26 11:20:55 +01:00
parent 5d09b43119
commit 3919907d21
1 changed files with 20 additions and 0 deletions

View File

@ -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" %}