X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fqa%2Fqa_scripts%2Fopenstack%2Fopenstack.sh;fp=src%2Fceph%2Fqa%2Fqa_scripts%2Fopenstack%2Fopenstack.sh;h=986fce91787494753e263bbf335342986f2cca0f;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/qa/qa_scripts/openstack/openstack.sh b/src/ceph/qa/qa_scripts/openstack/openstack.sh new file mode 100755 index 0000000..986fce9 --- /dev/null +++ b/src/ceph/qa/qa_scripts/openstack/openstack.sh @@ -0,0 +1,27 @@ +#/bin/bash -fv +# +# Install Openstack. +# Usage: openstack +# +# This script installs Openstack on one node, and connects it to a ceph +# cluster on another set of nodes. It is intended to run from a third +# node. +# +# Assumes a single node Openstack cluster and a single monitor ceph +# cluster. +# +# The execs directory contains scripts to be run on remote sites. +# The files directory contains files to be copied to remote sites. +# + +source ./copy_func.sh +source ./fix_conf_file.sh +openstack_node=${1} +ceph_node=${2} +./packstack.sh $openstack_node $ceph_node +echo 'done running packstack' +sleep 60 +./connectceph.sh $openstack_node $ceph_node +echo 'done connecting' +sleep 60 +./image_create.sh $openstack_node $ceph_node