Browse code

Merge "Don't configure neutron metadata agent for neutron API access"

Jenkins authored on 2016/01/07 04:22:58
Showing 1 changed files
... ...
@@ -1069,11 +1069,6 @@ function _configure_neutron_metadata_agent {
1069 1069
     if [[ "$Q_USE_ROOTWRAP_DAEMON" == "True" ]]; then
1070 1070
         iniset $Q_META_CONF_FILE AGENT root_helper_daemon "$Q_RR_DAEMON_COMMAND"
1071 1071
     fi
1072
-
1073
-    # Configures keystone for metadata_agent
1074
-    # The third argument "True" sets auth_url needed to communicate with keystone
1075
-    _neutron_setup_keystone $Q_META_CONF_FILE DEFAULT True
1076
-
1077 1072
 }
1078 1073
 
1079 1074
 function _configure_neutron_ceilometer_notifications {
... ...
@@ -1241,17 +1236,10 @@ function _neutron_setup_rootwrap {
1241 1241
     fi
1242 1242
 }
1243 1243
 
1244
-# Configures keystone integration for neutron service and agents
1244
+# Configures keystone integration for neutron service
1245 1245
 function _neutron_setup_keystone {
1246 1246
     local conf_file=$1
1247 1247
     local section=$2
1248
-    local use_auth_url=$3
1249
-
1250
-    # Configures keystone for metadata_agent
1251
-    # metadata_agent needs auth_url to communicate with keystone
1252
-    if [[ "$use_auth_url" == "True" ]]; then
1253
-        iniset $conf_file $section auth_url $KEYSTONE_SERVICE_URI/v2.0
1254
-    fi
1255 1248
 
1256 1249
     create_neutron_cache_dir
1257 1250
     configure_auth_token_middleware $conf_file $Q_ADMIN_USERNAME $NEUTRON_AUTH_CACHE_DIR $section