mirror of
https://github.com/ceph/ceph
synced 2025-03-30 23:40:09 +00:00
A set of scripts used to bring up an OpenStack instance on one site, connect a ceph cluster, add pools to store OpenStack glance images, cinder volumes, nova vms, and cinder backups on rbd, and bring up a nova compute node.
15 lines
437 B
Bash
Executable File
15 lines
437 B
Bash
Executable File
#/bin/bash -fv
|
|
#
|
|
# Set up a vm on packstack. Use the iso in the files directory.
|
|
#
|
|
source ./copy_func.sh
|
|
source ./fix_conf_file.sh
|
|
openstack_node=${1}
|
|
ceph_node=${2}
|
|
|
|
copy_file files/rhel-server-7.2-x86_64-boot.iso $openstack_node .
|
|
copy_file execs/run_openstack.sh $openstack_node . 0755
|
|
filler=`date +%s`
|
|
ssh $openstack_node ./run_openstack.sh "${openstack_node}X${filler}" rhel-server-7.2-x86_64-boot.iso
|
|
ssh $ceph_node sudo ceph df
|