Browse code

nova: Set '[neutron] default_floating_pool' instead

In change I2ce8ff3d7c33a402b8af50182ec01f512859c388, we duplicated the
'default_floating_pool' option, found in the '[DEFAULT]' group, to the
'[neutron]' group. This allowed us to continue with our deprecation
plans for the former option, which should be retired along with
nova-network.

Update the nova lib module so it'll set the new option, we can safely
assume to be the correct one now that we've removed support for cells v1
and nova-network.

Change-Id: If9a02b640e6c2e1300c7b11b7552ba13c1496d79
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>

Stephen Finucane authored on 2019/05/22 18:38:28
Showing 1 changed files
... ...
@@ -388,7 +388,7 @@ function create_nova_conf {
388 388
     if [[ $SCHEDULER == "filter_scheduler" ]]; then
389 389
         iniset $NOVA_CONF scheduler workers "$API_WORKERS"
390 390
     fi
391
-    iniset $NOVA_CONF DEFAULT default_floating_pool "$PUBLIC_NETWORK_NAME"
391
+    iniset $NOVA_CONF neutron default_floating_pool "$PUBLIC_NETWORK_NAME"
392 392
     if [[ $SERVICE_IP_VERSION == 6 ]]; then
393 393
         iniset $NOVA_CONF DEFAULT my_ip "$HOST_IPV6"
394 394
         iniset $NOVA_CONF DEFAULT use_ipv6 "True"