summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-01-12 16:32:46 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-12 16:32:46 +0000
commit8f9e51284faebb427327f3d42ac6c4fb75cba512 (patch)
treeea4ef0bb64899e669f2219d7ba219b9c4b31187b /ci
parent95adbace2c76a337027333077a75fe920a868b20 (diff)
parent1f51a14d30063c07e4d78b71661fc55bf579982b (diff)
Merge "dumping deploy command into a file to save it for redeployment"
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c7c8491c..9200256b 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -764,6 +764,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