684a93515d
For guest operating systems that rely on nova metadata rather than dhcp offers for host dns domain settings it is necessary to set dhcp_domain in the nova.conf. Change-Id: If7de988ddcd8817d02b261bea601d6922275890c Partial-Bug: #1805645
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
# newton
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
###############################################################################
|
|
[DEFAULT]
|
|
logdir=/var/log/nova
|
|
state_path=/var/lib/nova
|
|
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
|
|
debug = {{ debug }}
|
|
verbose= {{ verbose }}
|
|
use_syslog = {{ use_syslog }}
|
|
api_paste_config=/etc/nova/api-paste.ini
|
|
enabled_apis=metadata
|
|
multi_host=True
|
|
# Access to neutron API services
|
|
network_api_class=nova.network.neutronv2.api.API
|
|
use_neutron = True
|
|
metadata_workers = {{ workers }}
|
|
|
|
{% if vendor_data or vendor_data_url -%}
|
|
[api]
|
|
vendordata_providers = {{ vendordata_providers }}
|
|
{% if vendor_data -%}
|
|
vendordata_jsonfile_path = /etc/nova/vendor_data.json
|
|
{% endif -%}
|
|
{% if vendor_data_url -%}
|
|
vendordata_dynamic_targets = {{ vendor_data_url }}
|
|
{% endif -%}
|
|
{% endif -%}
|
|
|
|
{% if dns_domain -%}
|
|
# Per LP#1805645, dhcp_domain needs to be configured for nova-metadata-api
|
|
# It gets this information from neutron.
|
|
dhcp_domain = {{ dns_domain }}
|
|
{% endif -%}
|
|
|
|
[neutron]
|
|
url={{ quantum_url }}
|
|
auth_url={{ auth_protocol }}://{{ keystone_host }}:{{ auth_port }}
|
|
auth_type=password
|
|
project_domain_name=default
|
|
user_domain_name=default
|
|
region={{ region }}
|
|
project_name={{ service_tenant }}
|
|
username={{ service_username }}
|
|
password={{ service_password }}
|
|
service_metadata_proxy=True
|
|
metadata_proxy_shared_secret={{ shared_secret }}
|
|
|
|
{% include "section-rabbitmq-oslo" %}
|
|
|
|
[oslo_concurrency]
|
|
lock_path=/var/lock/nova
|