X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fqa%2Fqa_scripts%2Fopenstack%2Fceph_install_w_ansible%2Fexecs%2Fceph_ansible.sh;fp=src%2Fceph%2Fqa%2Fqa_scripts%2Fopenstack%2Fceph_install_w_ansible%2Fexecs%2Fceph_ansible.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=6a2a2ba5b92c6a42fd36c3de6bbc792b51c02c3e;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/qa/qa_scripts/openstack/ceph_install_w_ansible/execs/ceph_ansible.sh b/src/ceph/qa/qa_scripts/openstack/ceph_install_w_ansible/execs/ceph_ansible.sh deleted file mode 100755 index 6a2a2ba..0000000 --- a/src/ceph/qa/qa_scripts/openstack/ceph_install_w_ansible/execs/ceph_ansible.sh +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/bash -cephnodes=$* -monnode=$1 -sudo yum -y install ceph-ansible -cd -sudo ./edit_ansible_hosts.sh $cephnodes -mkdir ceph-ansible-keys -cd /usr/share/ceph-ansible/group_vars/ -if [ -f ~/ip_info ]; then - source ~/ip_info -fi -mon_intf=${mon_intf:-'eno1'} -pub_netw=${pub_netw:-'10.8.128.0\/21'} -sudo cp all.sample all -sudo sed -i 's/#ceph_origin:.*/ceph_origin: distro/' all -sudo sed -i 's/#fetch_directory:.*/fetch_directory: ~\/ceph-ansible-keys/' all -sudo sed -i 's/#ceph_stable:.*/ceph_stable: true/' all -sudo sed -i 's/#ceph_stable_rh_storage:.*/ceph_stable_rh_storage: false/' all -sudo sed -i 's/#ceph_stable_rh_storage_cdn_install:.*/ceph_stable_rh_storage_cdn_install: true/' all -sudo sed -i 's/#cephx:.*/cephx: true/' all -sudo sed -i "s/#monitor_interface:.*/monitor_interface: ${mon_intf}/" all -sudo sed -i 's/#journal_size:.*/journal_size: 1024/' all -sudo sed -i "s/#public_network:.*/public_network: ${pub_netw}/" all -sudo cp osds.sample osds -sudo sed -i 's/#fetch_directory:.*/fetch_directory: ~\/ceph-ansible-keys/' osds -sudo sed -i 's/#crush_location:/crush_location:/' osds -sudo sed -i 's/#osd_crush_location:/osd_crush_location:/' osds -sudo sed -i 's/#cephx:/cephx:/' osds -sudo sed -i 's/#devices:/devices:/' osds -sudo sed -i 's/#journal_collocation:.*/journal_collocation: true/' osds -cd -sudo ./edit_groupvars_osds.sh -cd /usr/share/ceph-ansible -sudo cp site.yml.sample site.yml -ansible-playbook site.yml -ssh $monnode ~/ceph-pool-create.sh