chef/cookbooks/sahara/templates/default/sahara.conf.erb
[DEFAULT]
debug = <%= node[:sahara][:debug] %>
log_dir = /var/log/sahara
transport_url = <%= @rabbit_settings[:url] %>
use_syslog=<%= node[:sahara][:use_syslog] ? "True" : "False" %>
wsgi_keep_alive = false
host = <%= @bind_host %>
port = <%= @bind_port %>
use_namespaces = true
use_rootwrap = true
plugins = <%= node[:sahara][:plugins] %>
use_identity_api_v3 = true
admin_user_domain_name = <%= @keystone_settings["admin_domain"] %>
admin_project_domain_name = <%= @keystone_settings["admin_domain"]%>
os_region_name = <%= @keystone_settings['endpoint_region'] %>
api_workers = <%= [node["cpu"]["total"], 2, 4].sort[1] %>
use_barbican_key_manager = <%= node[:sahara][:use_barbican_key_manager] %>
[cinder]
api_insecure = <%= @cinder_insecure %>
[database]
connection=<%= @sql_connection %>
[heat]
api_insecure = <%= @heat_insecure %>
[keystone]
api_insecure = <%= @keystone_settings["insecure"] %>
[trustee]
username = <%= @keystone_settings['service_user'] %>
password = <%= @keystone_settings['service_password'] %>
project_name = <%= @keystone_settings['service_tenant'] %>
project_domain_name = <%= @keystone_settings["admin_domain"]%>
user_domain_name = <%= @keystone_settings["admin_domain"] %>
auth_url = <%= @keystone_settings['admin_auth_url'] %>
[keystone_authtoken]
www_authenticate_uri = <%= @keystone_settings["public_auth_url"] %>
username = <%= @keystone_settings['service_user'] %>
password = <%= @keystone_settings['service_password'] %>
project_name = <%= @keystone_settings['service_tenant'] %>
project_domain_name = <%= @keystone_settings["admin_domain"]%>
user_domain_name = <%= @keystone_settings["admin_domain"] %>
auth_url = <%= @keystone_settings['admin_auth_url'] %>
auth_type = password
insecure = <%= @keystone_settings["insecure"] %>
region_name = <%= @keystone_settings["endpoint_region"] %>
service_token_roles_required = true
service_token_roles = admin
memcached_servers = <%= @memcached_servers.join(',') %>
memcache_security_strategy = ENCRYPT
memcache_secret_key = <%= node[:sahara][:memcache_secret_key] %>
memcache_pool_socket_timeout = 1
[neutron]
api_insecure = <%= @neutron_insecure %>
[nova]
api_insecure = <%= @nova_insecure %>
[oslo_concurrency]
lock_path = "/var/run/sahara"
[oslo_messaging_rabbit]
amqp_durable_queues = <%= @rabbit_settings[:durable_queues] %>
rabbit_ha_queues = <%= @rabbit_settings[:ha_queues] %>
ssl = <%= @rabbit_settings[:use_ssl] %>
<% if @rabbit_settings[:client_ca_certs] -%>
ssl_ca_file = <%= @rabbit_settings[:client_ca_certs] %>
<% end -%>
heartbeat_timeout_threshold = <%= @rabbit_settings[:heartbeat_timeout] %>