From 14d86e841c964ba12a57a652ece4239ca9283c92 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Fri, 29 Jul 2016 03:45:37 +0000 Subject: [PATCH] Set oslo_messaging_notifications driver This config option is requied in order for nova notificaions to function, and enabling it doesn't cause any harm (there is another option for turning notifications on). Change-Id: I309af6cc43af485f795c368d304ebe71fceb1a03 --- lib/nova | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/nova b/lib/nova index 67a80b9b16..c59a718b56 100644 --- a/lib/nova +++ b/lib/nova @@ -541,7 +541,6 @@ function create_nova_conf { iniset $NOVA_CONF DEFAULT instance_usage_audit "True" iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour" iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state" - iniset $NOVA_CONF oslo_messaging_notifications driver "messaging" fi # All nova-compute workers need to know the vnc configuration options @@ -582,6 +581,9 @@ function create_nova_conf { iniset $NOVA_CONF spice enabled false fi + # Set the oslo messaging driver to the typical default. This does not + # enable notifications, but it will allow them to function when enabled. + iniset $NOVA_CONF oslo_messaging_notifications driver "messaging" iniset_rpc_backend nova $NOVA_CONF iniset $NOVA_CONF glance api_servers "${GLANCE_SERVICE_PROTOCOL}://${GLANCE_HOSTPORT}"