Browse code

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

Ken'ichi Ohmichi authored on 2017/10/12 01:57:25
Showing 1 changed files
... ...
@@ -243,7 +243,7 @@ function configure_neutron_new {
243 243
         cp $NEUTRON_DIR/etc/metadata_agent.ini.sample $NEUTRON_META_CONF
244 244
 
245 245
         iniset $NEUTRON_META_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
246
-        iniset $NEUTRON_META_CONF DEFAULT nova_metadata_ip $SERVICE_HOST
246
+        iniset $NEUTRON_META_CONF DEFAULT nova_metadata_host $SERVICE_HOST
247 247
         iniset $NEUTRON_META_CONF DEFAULT metadata_workers $API_WORKERS
248 248
         # TODO(ihrachys) do we really need to set rootwrap for metadata agent?
249 249
         configure_root_helper_options $NEUTRON_META_CONF