36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
[DEFAULT]
|
|
logdir=/var/log/nova
|
|
state_path=/var/lib/nova
|
|
lock_path=/var/lock/nova
|
|
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
|
|
verbose=True
|
|
api_paste_config=/etc/nova/api-paste.ini
|
|
enabled_apis=metadata
|
|
multi_host=True
|
|
sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
|
quantum_metadata_proxy_shared_secret={{ shared_secret }}
|
|
service_quantum_metadata_proxy=True
|
|
# Access to message bus
|
|
{% if rabbitmq_host or rabbitmq_hosts -%}
|
|
rabbit_userid={{ rabbitmq_user }}
|
|
rabbit_virtual_host={{ rabbitmq_virtual_host }}
|
|
rabbit_password={{ rabbitmq_password }}
|
|
{% if rabbitmq_hosts -%}
|
|
rabbit_hosts = {{ rabbitmq_hosts }}
|
|
{% if rabbitmq_ha_queues -%}
|
|
rabbit_ha_queues = true
|
|
rabbit_durable_queues = false
|
|
{% endif %}
|
|
{% else %}
|
|
rabbit_host = {{ rabbitmq_host }}
|
|
{% endif -%}
|
|
{% endif -%}
|
|
# Access to quantum API services
|
|
network_api_class=nova.network.quantumv2.api.API
|
|
quantum_auth_strategy=keystone
|
|
quantum_url={{ quantum_url }}
|
|
quantum_admin_tenant_name={{ service_tenant }}
|
|
quantum_admin_username={{ service_username }}
|
|
quantum_admin_password={{ service_password }}
|
|
quantum_admin_auth_url={{ service_protocol }}://{{ keystone_host }}:{{ service_port }}/v2.0
|