Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / qa_scripts / openstack / README
1 This directory contains scripts to quickly bring up an OpenStack instance,
2 attach a ceph cluster, create a nova compute node, and store the associated glance images, cinder volumes, nova vm, and cinder backup on ceph via rbd.
3
4 execs is a directory that contains executables that are copied and remotely
5 run on the OpenStack instance
6
7 files is a directory that contains templates used to initialize OpenStack
8 conf files.  These templates reflect the state of these conf files on 5/17/2016.
9 If further development is necessary in the future, these templates should
10 probably be removed and direct editing of the OpenStack conf files should
11 probably be performed.
12
13 These scripts also assume that either there is a rhel iso file named
14 rhel-server-7.2-x86_64-boot.iso in the user's home directory, or the
15 exported variable RHEL_ISO is set to point at an existing rhel iso file.
16 If one is also running the ceph-deploy based ceph_install.sh, this script
17 also assumes that there is a file named rhceph-1.3.1-rhel-7-x86_64-dvd.iso
18 in the files directory.  These iso files can be obtained from the rhel site
19 and are not stored with these scripts.
20
21 To install openstack:
22 ./openstack.sh <openstack-admin-node> <ceph-monitor-node>
23
24 This assumes that the ceph cluster is already set up.
25
26 To setup a ceph-cluster using an iso and ceph-deploy:
27 ./ceph_install.sh <admin-node> <mon-node> <osd-node> <osd-node> <osd-node>
28
29 To setup a ceph-cluster using the cdn and ceph-ansible:
30 cd ceph_install_w_ansible
31 ./ceph_install.sh <admin-node> <mon-node> <osd-node> <osd-node> <osd-node>
32