Add missing DB configuration for nova-cert and nova-consoleauth

The databse configuration is required by the nova-cert and nova-
consoleauth services. This change adds nova_console and nova_cert
groups to the conditional which checks when to apply the databse
configuration.

Change-Id: I95531887decb2588a3fbdbe99f307bdc6219d28c
Closes-Bug: #1565784
This commit is contained in:
Flávio Ramalho 2016-04-04 10:42:17 -03:00
parent d10448c3b6
commit d15102c913

View File

@ -207,7 +207,7 @@ memcache_secret_key = {{ memcached_encryption_key }}
check_revocations_for_cached = False
{% if inventory_hostname in (groups['nova_conductor'] + groups['nova_scheduler'] + groups['nova_api_os_compute'] + groups['nova_api_metadata']) %}
{% if inventory_hostname in (groups['nova_conductor'] + groups['nova_scheduler'] + groups['nova_api_os_compute'] + groups['nova_api_metadata'] + groups['nova_console'] + groups['nova_cert']) %}
[database]
connection = mysql+pymysql://{{ nova_galera_user }}:{{ nova_container_mysql_password }}@{{ nova_galera_address }}/{{ nova_galera_database }}?charset=utf8
max_overflow = {{ nova_db_max_overflow }}