Merge "nova: Fix DBNotAllowed during compute startup"

This commit is contained in:
Zuul 2019-06-04 03:58:15 +00:00 committed by Gerrit Code Review
commit 9d5b405328

View File

@ -153,6 +153,7 @@ project_name = service
username = {{ neutron_keystone_user }}
password = {{ neutron_keystone_password }}
{% if not service_name.startswith('nova-compute') %}
[database]
connection = mysql+pymysql://{{ nova_database_user }}:{{ nova_database_password }}@{{ nova_database_address }}/{{ nova_database_name }}
max_pool_size = 50
@ -162,6 +163,7 @@ max_retries = -1
[api_database]
connection = mysql+pymysql://{{ nova_api_database_user }}:{{ nova_api_database_password }}@{{ nova_api_database_address }}/{{ nova_api_database_name }}
max_retries = -1
{% endif %}
[cache]
backend = oslo_cache.memcache_pool