summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-12-15 13:38:48 -0500
committerDan Radez <dradez@redhat.com>2016-01-11 11:13:03 -0500
commit1f51a14d30063c07e4d78b71661fc55bf579982b (patch)
tree2fac337aa774e1cec67065b044eb4bd8cd040e84 /ci/deploy.sh
parent85485bca140826c2302b5c5a789de9328c3caec8 (diff)
dumping deploy command into a file to save it for redeployment
Change-Id: I482e84bbe3f21f425e6bce74fdfa16f71bf12654
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 9d5d9d28..df2ae9eb 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -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