Don't configure neutron metadata agent for neutron API access
Metadata agent now talks to neutron-server thru AMQP, so there is no use for API access configuration. Change-Id: I8f81eea91fe3448d5098e77312f64f2eaba68a68 Depends-On: I254c575c66214f50fb93a94c46c4c9caebfc2937 Closes-Bug: #1502947
This commit is contained in:
parent
b041819856
commit
bb4654b869
@ -1050,11 +1050,6 @@ function _configure_neutron_metadata_agent {
|
||||
if [[ "$Q_USE_ROOTWRAP_DAEMON" == "True" ]]; then
|
||||
iniset $Q_META_CONF_FILE AGENT root_helper_daemon "$Q_RR_DAEMON_COMMAND"
|
||||
fi
|
||||
|
||||
# Configures keystone for metadata_agent
|
||||
# The third argument "True" sets auth_url needed to communicate with keystone
|
||||
_neutron_setup_keystone $Q_META_CONF_FILE DEFAULT True
|
||||
|
||||
}
|
||||
|
||||
function _configure_neutron_ceilometer_notifications {
|
||||
@ -1212,17 +1207,10 @@ function _neutron_setup_rootwrap {
|
||||
fi
|
||||
}
|
||||
|
||||
# Configures keystone integration for neutron service and agents
|
||||
# Configures keystone integration for neutron service
|
||||
function _neutron_setup_keystone {
|
||||
local conf_file=$1
|
||||
local section=$2
|
||||
local use_auth_url=$3
|
||||
|
||||
# Configures keystone for metadata_agent
|
||||
# metadata_agent needs auth_url to communicate with keystone
|
||||
if [[ "$use_auth_url" == "True" ]]; then
|
||||
iniset $conf_file $section auth_url $KEYSTONE_SERVICE_URI/v2.0
|
||||
fi
|
||||
|
||||
create_neutron_cache_dir
|
||||
configure_auth_token_middleware $conf_file $Q_ADMIN_USERNAME $NEUTRON_AUTH_CACHE_DIR $section
|
||||
|
Loading…
Reference in New Issue
Block a user