From 2da019f133bb3e53ef67e33cfd269a9b6a72d27a Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Wed, 11 Oct 2017 09:57:25 -0700 Subject: [PATCH] Replace the deprecated nova_metadata_ip As [1], the option nova_metadata_ip has been deprecated and we can use nova_metadata_host instead. This patch makes devstack do it. [1]: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/conf/agent/metadata/config.py#n49 Change-Id: Ifda43ec8c7743af6acdd3003c55c081ef5b1311c --- lib/neutron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron b/lib/neutron index 21c8d4c735..c5839f5c3e 100644 --- a/lib/neutron +++ b/lib/neutron @@ -243,7 +243,7 @@ function configure_neutron_new { cp $NEUTRON_DIR/etc/metadata_agent.ini.sample $NEUTRON_META_CONF iniset $NEUTRON_META_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL - iniset $NEUTRON_META_CONF DEFAULT nova_metadata_ip $SERVICE_HOST + iniset $NEUTRON_META_CONF DEFAULT nova_metadata_host $SERVICE_HOST iniset $NEUTRON_META_CONF DEFAULT metadata_workers $API_WORKERS # TODO(ihrachys) do we really need to set rootwrap for metadata agent? configure_root_helper_options $NEUTRON_META_CONF