From 4448f243f396c502e34fda5bb148ba0224f934e7 Mon Sep 17 00:00:00 2001 From: Eduardo Santos Date: Thu, 6 Jan 2022 14:03:16 -0300 Subject: [PATCH] Fix public subnet creation command There was no space after the --project option in the command that creates the public subnet, thus if any option follows, the option itself will be parsed as part of the value passed to the --project option. This change just adds the missing space. Change-Id: I1e7375578342a82717222e902fcd65a4a62e33a7 --- lib/neutron_plugins/services/l3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron_plugins/services/l3 b/lib/neutron_plugins/services/l3 index ccb5398f75..a8844c475e 100644 --- a/lib/neutron_plugins/services/l3 +++ b/lib/neutron_plugins/services/l3 @@ -305,7 +305,7 @@ function _neutron_create_public_subnet_v4 { local admin_project_id admin_project_id=$(openstack project list | grep " admin " | get_field 1) die_if_not_set $LINENO admin_project_id "Failure retrieving project_id for admin" - local subnet_params="--ip-version 4 --project $admin_project_id" + local subnet_params="--ip-version 4 --project $admin_project_id " subnet_params+="${Q_FLOATING_ALLOCATION_POOL:+--allocation-pool $Q_FLOATING_ALLOCATION_POOL} " if [[ -n "$PUBLIC_NETWORK_GATEWAY" ]]; then subnet_params+="--gateway $PUBLIC_NETWORK_GATEWAY "