]>
Commit | Line | Data |
---|---|---|
11fdf7f2 | 1 | #!/usr/bin/env bash |
7c673cae FG |
2 | # |
3 | # Install Openstack. | |
4 | # Usage: openstack <openstack-site> <ceph-monitor> | |
5 | # | |
6 | # This script installs Openstack on one node, and connects it to a ceph | |
7 | # cluster on another set of nodes. It is intended to run from a third | |
8 | # node. | |
9 | # | |
10 | # Assumes a single node Openstack cluster and a single monitor ceph | |
11 | # cluster. | |
12 | # | |
13 | # The execs directory contains scripts to be run on remote sites. | |
14 | # The files directory contains files to be copied to remote sites. | |
15 | # | |
16 | ||
11fdf7f2 | 17 | set -fv |
7c673cae FG |
18 | source ./copy_func.sh |
19 | source ./fix_conf_file.sh | |
20 | openstack_node=${1} | |
21 | ceph_node=${2} | |
22 | ./packstack.sh $openstack_node $ceph_node | |
23 | echo 'done running packstack' | |
24 | sleep 60 | |
25 | ./connectceph.sh $openstack_node $ceph_node | |
26 | echo 'done connecting' | |
27 | sleep 60 | |
28 | ./image_create.sh $openstack_node $ceph_node |