Browse code

Merge "Set oslo_messaging_notifications driver"

Jenkins authored on 2016/08/18 21:50:14
Showing 1 changed files
... ...
@@ -536,7 +536,6 @@ function create_nova_conf {
536 536
         iniset $NOVA_CONF DEFAULT instance_usage_audit "True"
537 537
         iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour"
538 538
         iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state"
539
-        iniset $NOVA_CONF oslo_messaging_notifications driver "messaging"
540 539
     fi
541 540
 
542 541
     # All nova-compute workers need to know the vnc configuration options
... ...
@@ -577,6 +576,9 @@ function create_nova_conf {
577 577
         iniset $NOVA_CONF spice enabled false
578 578
     fi
579 579
 
580
+    # Set the oslo messaging driver to the typical default. This does not
581
+    # enable notifications, but it will allow them to function when enabled.
582
+    iniset $NOVA_CONF oslo_messaging_notifications driver "messaging"
580 583
     iniset_rpc_backend nova $NOVA_CONF
581 584
     iniset $NOVA_CONF glance api_servers "${GLANCE_SERVICE_PROTOCOL}://${GLANCE_HOSTPORT}"
582 585