Browse code

Merge "notification_driver is deprecated to driver"

Jenkins authored on 2016/01/22 09:11:49
Showing 4 changed files
... ...
@@ -299,7 +299,7 @@ function configure_cinder {
299 299
     fi
300 300
 
301 301
     if is_service_enabled ceilometer; then
302
-        iniset $CINDER_CONF DEFAULT notification_driver "messaging"
302
+        iniset $CINDER_CONF oslo_messaging_notifications driver "messaging"
303 303
     fi
304 304
 
305 305
     if is_service_enabled tls-proxy; then
... ...
@@ -113,7 +113,7 @@ function configure_glance {
113 113
     iniset $GLANCE_REGISTRY_CONF DEFAULT workers "$API_WORKERS"
114 114
     iniset $GLANCE_REGISTRY_CONF paste_deploy flavor keystone
115 115
     configure_auth_token_middleware $GLANCE_REGISTRY_CONF glance $GLANCE_AUTH_CACHE_DIR/registry
116
-    iniset $GLANCE_REGISTRY_CONF DEFAULT notification_driver messaging
116
+    iniset $GLANCE_REGISTRY_CONF oslo_messaging_notifications driver messaging
117 117
     iniset_rpc_backend glance $GLANCE_REGISTRY_CONF
118 118
     iniset $GLANCE_REGISTRY_CONF DEFAULT graceful_shutdown_timeout "$SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT"
119 119
 
... ...
@@ -126,7 +126,7 @@ function configure_glance {
126 126
     iniset $GLANCE_API_CONF DEFAULT image_cache_dir $GLANCE_CACHE_DIR/
127 127
     iniset $GLANCE_API_CONF paste_deploy flavor keystone+cachemanagement
128 128
     configure_auth_token_middleware $GLANCE_API_CONF glance $GLANCE_AUTH_CACHE_DIR/api
129
-    iniset $GLANCE_API_CONF DEFAULT notification_driver messaging
129
+    iniset $GLANCE_API_CONF oslo_messaging_notifications driver messaging
130 130
     iniset_rpc_backend glance $GLANCE_API_CONF
131 131
     if [ "$VIRT_DRIVER" = 'xenserver' ]; then
132 132
         iniset $GLANCE_API_CONF DEFAULT container_formats "ami,ari,aki,bare,ovf,tgz"
... ...
@@ -1072,7 +1072,7 @@ function _configure_neutron_metadata_agent {
1072 1072
 }
1073 1073
 
1074 1074
 function _configure_neutron_ceilometer_notifications {
1075
-    iniset $NEUTRON_CONF DEFAULT notification_driver messaging
1075
+    iniset $NEUTRON_CONF oslo_messaging_notifications driver messaging
1076 1076
 }
1077 1077
 
1078 1078
 function _configure_neutron_lbaas {
... ...
@@ -556,7 +556,7 @@ function create_nova_conf {
556 556
         iniset $NOVA_CONF DEFAULT instance_usage_audit "True"
557 557
         iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour"
558 558
         iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state"
559
-        iniset $NOVA_CONF DEFAULT notification_driver "messaging"
559
+        iniset $NOVA_CONF oslo_messaging_notifications driver "messaging"
560 560
     fi
561 561
 
562 562
     # All nova-compute workers need to know the vnc configuration options