dumping deploy command into a file to save it for redeployment 09/5509/2
authorDan Radez <dradez@redhat.com>
Tue, 15 Dec 2015 18:38:48 +0000 (13:38 -0500)
committerDan Radez <dradez@redhat.com>
Mon, 11 Jan 2016 16:13:03 +0000 (11:13 -0500)
Change-Id: I482e84bbe3f21f425e6bce74fdfa16f71bf12654

ci/deploy.sh

index 9d5d9d2..df2ae9e 100755 (executable)
@@ -756,6 +756,10 @@ echo "Configuring nameserver on ctlplane network"
 neutron subnet-update \$(neutron subnet-list | grep -v id | grep -v \\\\-\\\\- | awk {'print \$2'}) --dns-nameserver 8.8.8.8
 echo "Executing overcloud deployment, this should run for an extended period without output."
 sleep 60 #wait for Hypervisor stats to check-in to nova
+# save deploy command so it can be used for debugging
+cat > deploy_command << EOF
+openstack overcloud deploy --templates $DEPLOY_OPTIONS
+EOF
 openstack overcloud deploy --templates $DEPLOY_OPTIONS
 EOI