]> git.proxmox.com Git - ceph.git/blame - ceph/qa/qa_scripts/openstack/openstack.sh
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / qa / qa_scripts / openstack / openstack.sh
CommitLineData
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 17set -fv
7c673cae
FG
18source ./copy_func.sh
19source ./fix_conf_file.sh
20openstack_node=${1}
21ceph_node=${2}
22./packstack.sh $openstack_node $ceph_node
23echo 'done running packstack'
24sleep 60
25./connectceph.sh $openstack_node $ceph_node
26echo 'done connecting'
27sleep 60
28./image_create.sh $openstack_node $ceph_node