From 9019bcf44a0f4836dfb21b99473b503bc137202a Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Fri, 11 Mar 2016 11:12:36 -0500 Subject: [PATCH] Fixing Glance API startup failure Change I329c0a3173584109ef1e6f500fdd55e76c10bb8b introduced a failure condition in the glance-api that was not caught by role convergence testing but manifested in the AIO gate checks as: ERROR glance.image_cache.drivers.base [-] Failed to read image_cache_dir from config CRITICAL glance [-] BadDriverConfiguration: Driver glance.image_cache.drivers.sqlite could not be configured correctly. Reason: Failed to read image_cache_dir from config in the glance-api.log Change-Id: I2e6d5fa60c030c7ba229c5271668aabd0271723b --- templates/glance-api.conf.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/glance-api.conf.j2 b/templates/glance-api.conf.j2 index 5c174951..1e527120 100644 --- a/templates/glance-api.conf.j2 +++ b/templates/glance-api.conf.j2 @@ -25,8 +25,7 @@ enable_v2_api = {{ glance_enable_v2_api }} enable_v2_registry = {{ glance_enable_v2_registry }} {% if glance_ceilometer_enabled %} -[oslo_messaging_notifications] -driver = messagingv2 +notification_driver = messagingv2 {% endif %} rpc_backend = {{ glance_rpc_backend }}