Missed an update to swap neutron out for openstack cli 05/35005/2
authorDan Radez <dradez@redhat.com>
Thu, 18 May 2017 19:05:09 +0000 (15:05 -0400)
committerDan Radez <dradez@redhat.com>
Thu, 18 May 2017 19:08:24 +0000 (15:08 -0400)
APEX-432

Change-Id: I787ce844d0d585f55d2267a57642e35f2a47bd40
Signed-off-by: Dan Radez <dradez@redhat.com>
lib/overcloud-deploy-functions.sh

index e125eb6..adaf98a 100755 (executable)
@@ -378,7 +378,7 @@ dns_server_ext=''
 for dns_server in ${dns_servers}; do
   dns_server_ext="\${dns_server_ext} --dns-nameserver \${dns_server}"
 done
-neutron subnet-update \$(neutron subnet-list | grep -Ev "id|tenant|external|storage" | grep -v \\\\-\\\\- | awk {'print \$2'}) \${dns_server_ext}
+openstack subnet set ctlplane-subnet \${dns_server_ext}
 sed -i '/CloudDomain:/c\  CloudDomain: '${domain_name} ${ENV_FILE}
 echo "Executing overcloud deployment, this could run for an extended period without output."
 sleep 60 #wait for Hypervisor stats to check-in to nova