From d15102c913d7c02e315eaf557e79f4c3cb7dc631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Ramalho?= Date: Mon, 4 Apr 2016 10:42:17 -0300 Subject: [PATCH] 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 --- templates/nova.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 9d6c862c..bba99044 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -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 }}