summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-11-04 08:28:00 -0500
committerDan Radez <dradez@redhat.com>2015-11-04 08:30:34 -0500
commitf4aab45fea78816f882ff6d44f110e6de3878b87 (patch)
tree1f5778d78bea46c8a97aec49cb62c0e8af126c91
parentb4781ad203c1905894f53f9ef931ae60dfa1bc70 (diff)
end user messaging and ssh options update
- updating end user output - adding option to ssh to supress excessive warnings Change-Id: Ibe44b4a580bcb1e60899b8f8aca8cbadc8e447a9
-rwxr-xr-xci/deploy.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c707e73d..0a5a2a82 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -28,7 +28,7 @@ vm_index=4
declare -i CNT
declare UNDERCLOUD
-SSH_OPTIONS=(-o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null)
+SSH_OPTIONS=(-o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null -o LogLevel=error)
DEPLOY_OPTIONS=""
RESOURCES=/var/opt/opnfv/stack
CONFIG=/var/opt/opnfv
@@ -188,6 +188,8 @@ function setup_virtual_baremetal {
##params: none
function copy_materials {
+ echo
+ echo "Copying configuration file and disk images to instack"
scp ${SSH_OPTIONS[@]} $RESOURCES/deploy-ramdisk-ironic.initramfs "stack@$UNDERCLOUD":
scp ${SSH_OPTIONS[@]} $RESOURCES/deploy-ramdisk-ironic.kernel "stack@$UNDERCLOUD":
scp ${SSH_OPTIONS[@]} $RESOURCES/ironic-python-agent.initramfs "stack@$UNDERCLOUD":
@@ -260,7 +262,7 @@ openstack flavor list | grep baremetal || openstack flavor create --id auto --ra
openstack flavor set --property "cpu_arch"="x86_64" --property "capabilities:boot_option"="local" baremetal
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 may run for an extended period without output..."
+echo "Executing overcloud deployment, this should run for an extended period without output."
sleep 60 #wait for Hypervisor stats to check-in to nova
openstack overcloud deploy --templates $DEPLOY_OPTIONS
EOI