From ab99a7ee4e93b3a34f7a600461f7761a97b2c715 Mon Sep 17 00:00:00 2001 From: grakiss Date: Tue, 2 Feb 2016 01:51:48 -0500 Subject: Remove redundant files of ceph-deploy JIRA:COMPASS-300 - remove the task of ceph-deploy Change-Id: Iec4a3e4185abe3da9ceedac5be38aa7de490fde8 Signed-off-by: grakiss --- .../ansible/roles/ceph-deploy/files/create_osd.sh | 39 -------- .../ceph-deploy/tasks/ceph_install_Debian.yml | 74 --------------- .../ceph-deploy/tasks/ceph_install_RedHat.yml | 73 --------------- .../ceph-deploy/tasks/ceph_openstack_conf.yml | 45 --------- .../roles/ceph-deploy/tasks/ceph_openstack_pre.yml | 76 --------------- .../roles/ceph-deploy/tasks/ceph_setup_env.yml | 103 --------------------- .../ansible/roles/ceph-deploy/tasks/main.yml | 40 -------- .../roles/ceph-deploy/templates/clean_ceph.j2 | 8 -- .../ansible/roles/ceph-deploy/templates/secret.j2 | 6 -- .../ansible/roles/ceph-deploy/vars/Debian.yml | 30 ------ .../ansible/roles/ceph-deploy/vars/RedHat.yml | 20 ---- .../ansible/roles/ceph-deploy/vars/main.yml | 13 --- 12 files changed, 527 deletions(-) delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_setup_env.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/tasks/main.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2 delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2 delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/vars/Debian.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/vars/RedHat.yml delete mode 100644 deploy/adapters/ansible/roles/ceph-deploy/vars/main.yml diff --git a/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh b/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh deleted file mode 100644 index dd815c22..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## -if [ -d "/var/local/osd" ]; then -echo "clear /var/local/osd" -rm -r /var/local/osd/ -umount /var/local/osd -rm -r /var/local/osd -fi - - -#safe check -ps -ef |grep lvremove |awk '{print $2}' |xargs kill -9 -ps -ef |grep vgremove |awk '{print $2}' |xargs kill -9 -ps -ef |grep vgcreate |awk '{print $2}' |xargs kill -9 -ps -ef |grep lvcreate |awk '{print $2}' |xargs kill -9 - -if [ -L "/dev/storage-volumes/ceph0" ]; then -echo "remove lv vg" -lvremove -f /dev/storage-volumes/ceph0 -fi - - -echo "lvcreate" -lvcreate -l 100%FREE -nceph0 storage-volumes -echo "mkfs" -mkfs.xfs -f /dev/storage-volumes/ceph0 - -if [ ! -d "/var/local/osd" ]; then -echo "mount osd" -mkdir -p /var/local/osd -mount /dev/storage-volumes/ceph0 /var/local/osd -fi - diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml deleted file mode 100644 index 39a5cf8f..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml +++ /dev/null @@ -1,74 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -- name: create ceph cluster - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy new {{ mon_nodes.stdout_lines[0] }} - tags: - - create_ceph_cluster - -- name: default config for ceph - ini_file: - dest: "{{ ceph_cluster_dir[0] }}/ceph.conf" - section: "{{ item.section }}" - option: "{{ item.option }}" - value: "{{ item.value }}" - with_items: - - { section: "global", option: "osd_journal_size", value: "1024" } - - { section: "global", option: "osd_pool_default_size", value: "2" } - - { section: "global", option: "public_network", value: "{{ mgmt_cidr }}" } - - { section: "global", option: "cluster_network", value: "{{ storage_cidr }}" } - -- name: install ceph for every nodes includes jumpserver - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy install {{ ceph_cluster_hosts.stdout_lines[0]}} - ignore_errors: true - -- name: create monitor node in controller group - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --overwrite-conf mon create-initial - -- name: gather keys - shell: sleep 5 && cd {{ ceph_cluster_dir[0] }} && ceph-deploy gatherkeys {{ inventory_hostname }} - ignore_errors: True - -- name: copy create_osd.sh to host1 - copy: src=create_osd.sh dest=~/create_osd.sh mode=0777 - tags: - - create_osd - -- name: copy create_osd.sh to other nodes - shell: scp -o StrictHostKeyChecking=no ~/create_osd.sh {{ item }}:~/ - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - -- name: create osd - shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "~/create_osd.sh" - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - -- name: prepare create osd - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd prepare {{ item }}:/var/local/osd - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - - -- name: activate osd - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd activate {{ item }}:/var/local/osd && ceph-deploy osd activate {{ item }}:/var/local/osd - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - - activate_osd - -- name: create admin node - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy admin {{ ceph_cluster_hosts.stdout_lines[0] }} diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml deleted file mode 100644 index f648a9ea..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml +++ /dev/null @@ -1,73 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -- name: create ceph cluster - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy new {{ mon_nodes.stdout_lines[0] }} - tags: - - create_ceph_cluster - -- name: default config for ceph - ini_file: - dest: "{{ ceph_cluster_dir[0] }}/ceph.conf" - section: "{{ item.section }}" - option: "{{ item.option }}" - value: "{{ item.value }}" - with_items: - - { section: "global", option: "osd_journal_size", value: "1024" } - - { section: "global", option: "osd_pool_default_size", value: "2" } - - { section: "global", option: "public_network", value: "{{ mgmt_cidr }}" } - - { section: "global", option: "cluster_network", value: "{{ storage_cidr }}" } - -- name: install ceph for every nodes includes jumpserver - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy install --no-adjust-repos --repo-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa --gpg-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa/ceph_key_release.asc {{ ceph_cluster_hosts.stdout_lines[0]}} - -- name: create monitor node in controller group - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --overwrite-conf mon create-initial - -- name: gather keys - shell: sleep 5 && cd {{ ceph_cluster_dir[0] }} && ceph-deploy gatherkeys {{ inventory_hostname }} - ignore_errors: True - -- name: copy create_osd.sh to host1 - copy: src=create_osd.sh dest=~/create_osd.sh mode=0777 - tags: - - create_osd - -- name: copy create_osd.sh to other nodes - shell: scp -o StrictHostKeyChecking=no ~/create_osd.sh {{ item }}:~/ - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - -- name: create osd - shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "~/create_osd.sh" - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - -- name: prepare create osd - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd prepare {{ item }}:/var/local/osd - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - - -- name: activate osd - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd activate {{ item }}:/var/local/osd - with_items: - - "{{ groups['ceph_osd'] }}" - tags: - - create_osd - - activate_osd - -- name: create admin node - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy admin {{ ceph_cluster_hosts.stdout_lines[0] }} diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml deleted file mode 100644 index 2ff9b788..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml +++ /dev/null @@ -1,45 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -- name: chown of glance/api.log - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "chown -R glance:glance /var/log/glance" - with_items: - - "{{ groups['controller'] }}" - tags: - - ceph_conf_glance - ignore_errors: True - -- name: modify glance-api.conf for ceph - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(default_store\).*/\1 = rbd/g' /etc/glance/glance-api.conf && sed -i '/^\[glance_store/a stores = rbd\nrbd_store_pool = images\nrbd_store_user = glance\nrbd_store_ceph_conf = /etc/ceph/ceph.conf\nrbd_store_chunk_size = 8\nshow_image_direct_url=True' /etc/glance/glance-api.conf" - with_items: - - "{{ groups['controller'] }}" - tags: - - ceph_conf_glance - -- name: restart glance - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "rm -f /var/log/glance/api.log && chown -R glance:glance /var/log/glance && service {{ glance_service }} restart" - with_items: - - "{{ groups['controller'] }}" - tags: - - ceph_conf_glance - ignore_errors: True - -- name: modify cinder.conf for ceph - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(volume_driver\).*/\1 = cinder.volume.drivers.rbd.RBDDriver/g' /etc/cinder/cinder.conf && sed -i 's/^\(rbd_secret_uuid\).*/\1 = {{ ceph_uuid.stdout_lines[0] }}/g' /etc/cinder/cinder.conf && sed -i '/^\[DEFAULT/a rbd_pool = volumes\nrbd_ceph_conf = /etc/ceph/ceph.conf\nrbd_flatten_volume_from_snapshot = false\nrbd_max_clone_depth = 5\nrbd_store_chunk_size = 4\nrados_connect_timeout = -1\nglance_api_version = 2\nrbd_user = cinder\nrbd_secret_uuid = {{ ceph_uuid.stdout_lines[0] }}' /etc/cinder/cinder.conf && service {{ cinder_service }} restart" - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_conf_cinder - -- name: modify nova.conf for ceph - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(images_type\).*/\1 = rbd/g' /etc/nova/nova-compute.conf && sed -i 's/^\(rbd_secret_uuid\).*/\1 = {{ ceph_uuid.stdout_lines[0] }}/g' /etc/nova/nova-compute.conf && sed -i '/^\[libvirt/a images_rbd_pool = vms\nimages_rbd_ceph_conf = /etc/ceph/ceph.conf\nrbd_user = cinder\nrbd_secret_uuid = {{ ceph_uuid.stdout_lines[0] }}\ndisk_cachemodes=\"network=writeback\"\nlive_migration_flag=\"VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED\"' /etc/nova/nova-compute.conf && service {{ nova_service }} restart" - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_conf_nova diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml deleted file mode 100644 index 8770525e..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml +++ /dev/null @@ -1,76 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- - -- name: create pool - shell: ceph osd pool create {{ item }} 50 - with_items: - - volumes - - images - - backups - - vms - -- name: create ceph users for openstack - shell: ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rx pool=images' && ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images' - -- name: send glance key to controller nodes - shell: ceph auth get-or-create client.glance | ssh {{ item }} tee /etc/ceph/ceph.client.glance.keyring && ssh {{ item }} chown glance:glance /etc/ceph/ceph.client.glance.keyring - with_items: - - "{{ groups['controller'] }}" - -- name: send cinder key to compute nodes - shell: ceph auth get-or-create client.cinder | ssh {{ item }} tee /etc/ceph/ceph.client.cinder.keyring && ssh {{ item }} chown cinder:cinder /etc/ceph/ceph.client.cinder.keyring - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_send_key - -- name: copy cinder key to compute node - shell: ceph auth get-key client.cinder | ssh {{ item }} tee client.cinder.key - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_copy_secret - -- name: gen ceph uuid - shell: uuidgen - register: ceph_uuid - tags: - - ceph_copy_secret - -- name: gen template secret.xml - template: src=secret.j2 dest=~/secret.xml mode=0777 - tags: - - ceph_copy_secret - -- name: copy secret.xml to compute nodes - shell: scp -o StrictHostKeyChecking=no ~/secret.xml {{ item }}:~/secret.xml - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_copy_secret - -- name: undefine libvirt secret in case of repeatedly execute ceph_deploy - shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "virsh secret-list | awk '\$1 ~ /[0-9]+/ {print \$1}' | xargs virsh secret-undefine" - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_copy_secret - ignore_errors: True - - -- name: create key for libvirt on compute nodes - shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "virsh secret-define --file secret.xml && virsh secret-set-value --secret {{ ceph_uuid.stdout_lines[0] }} --base64 \$(cat client.cinder.key)" - with_items: - - "{{ groups['compute'] }}" - tags: - - ceph_copy_secret - ignore_errors: True - - diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_setup_env.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_setup_env.yml deleted file mode 100644 index 7b3099e2..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_setup_env.yml +++ /dev/null @@ -1,103 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -- include_vars: "{{ ansible_os_family }}.yml" - -- name: copy rsa secret key from compass-core to host1 - copy: src=/root/.ssh/id_rsa dest=/root/.ssh/id_rsa mode=0600 - -- name: copy rsa pub key from compass-core to host1 - copy: src=/root/.ssh/id_rsa.pub dest=/root/.ssh/id_rsa.pub mode=0644 - -- name: gen ssh key for no-ask access to every nodes - shell: if [ ! -f ~/.ssh/id_rsa.pub ]; then ssh-keygen -q -t rsa -f ~/.ssh/id_rsa -N ""; else echo "already gen ssh key!"; fi; - -- name: copy key to node - shell: ssh-copy-id -i ~/.ssh/id_rsa.pub -o StrictHostKeyChecking=no root@{{ item }} - with_items: - - "{{ groups['all'] }}" - -- name: install ceph-related packages - action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" - with_items: packages | union(packages_noarch) - -- name: clear cluster_hosts_name - file: path=cluster_hosts_name state=absent - tags: - - create_ceph_cluster - - ceph_install - -- name: clear cluster_controller_nodes - file: path=cluster_controller_nodes state=absent - tags: - - create_ceph_cluster - - ceph_install - -- name: clear ceph_mon_nodes - file: path=ceph_mon_nodes state=absent - tags: - - create_ceph_cluster - - ceph_install - -- name: echo hosts name to file - shell: echo -n "{{ item }} " >> cluster_hosts_name - with_items: - - "{{ groups['all'] }}" - tags: - - create_ceph_cluster - - ceph_install - -- name: register hosts name - shell: cat cluster_hosts_name - register: ceph_cluster_hosts - tags: - - create_ceph_cluster - - echo_hosts - - ceph_install - -- name: echo controller name to file - shell: echo -n "{{ item }} " >> cluster_controller_nodes - with_items: - - "{{ groups['controller'] }}" - tags: - - create_ceph_cluster - - ceph_install - -- name: register controller nodes - shell: cat cluster_controller_nodes - register: controller_nodes - tags: - - create_ceph_cluster - - echo_hosts - - ceph_install - -- name: echo ceph-mon name to file - shell: echo -n "{{ item }} " >> ceph_mon_nodes - with_items: - - "{{ groups['ceph_mon'] }}" - tags: - - create_ceph_cluster - - ceph_install - -- name: register ceph-mon nodes - shell: cat ceph_mon_nodes - register: mon_nodes - tags: - - create_ceph_cluster - - echo_hosts - - ceph_install - -- name: gen clean ceph script - template: src=clean_ceph.j2 dest=~/clean_ceph.sh mode=0777 - -- name: clean ceph data of last deploy - shell: ~/clean_ceph.sh - -- name: mkdir for ceph-cluster - file: path={{ ceph_cluster_dir[0] }} state=directory mode=0755 diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/main.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/main.yml deleted file mode 100644 index 8b90a1b6..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/main.yml +++ /dev/null @@ -1,40 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -- include: ceph_setup_env.yml - tags: - - ceph_deploy - - ceph_setup_env - - ceph_install - -- include: ceph_install_Debian.yml - when: ansible_os_family == "Debian" - tags: - - ceph_deploy - - ceph_install - -- include: ceph_install_RedHat.yml - when: ansible_os_family == "RedHat" - tags: - - ceph_deploy - - ceph_install - -- include: ceph_openstack_pre.yml - tags: - - ceph_deploy - - ceph_openstack_pre - - ceph_openstack - -- include: ceph_openstack_conf.yml - tags: - - ceph_deploy - - ceph_openstack_conf - - ceph_openstack - -- meta: flush_handlers diff --git a/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2 b/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2 deleted file mode 100644 index a089167d..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/templates/clean_ceph.j2 +++ /dev/null @@ -1,8 +0,0 @@ -if [ -d "{{ ceph_cluster_dir[0] }}" ]; then -cd {{ ceph_cluster_dir[0] }} -ceph-deploy purge {{ ceph_cluster_hosts.stdout_lines[0] }} -ceph-deploy purgedata {{ ceph_cluster_hosts.stdout_lines[0] }} -ceph-deploy forgetkeys -cd .. -rm -r {{ ceph_cluster_dir[0] }} -fi diff --git a/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2 b/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2 deleted file mode 100644 index a0ffc6e3..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/templates/secret.j2 +++ /dev/null @@ -1,6 +0,0 @@ - - {{ ceph_uuid.stdout_lines[0] }} - - client.cinder secret - - diff --git a/deploy/adapters/ansible/roles/ceph-deploy/vars/Debian.yml b/deploy/adapters/ansible/roles/ceph-deploy/vars/Debian.yml deleted file mode 100644 index 1da42323..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/vars/Debian.yml +++ /dev/null @@ -1,30 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -packages: - - ceph-deploy - - python-flask - - libgoogle-perftools4 - - libleveldb1 - - liblttng-ust0 - - libsnappy1 - - librbd1 - - librados2 - - python-ceph - - ceph - - ceph-mds - - ceph-common - - ceph-fs-common - - gdisk - -services: [] - -cinder_service: cinder-volume -nova_service: nova-compute -glance_service: glance-api diff --git a/deploy/adapters/ansible/roles/ceph-deploy/vars/RedHat.yml b/deploy/adapters/ansible/roles/ceph-deploy/vars/RedHat.yml deleted file mode 100644 index d0310f8b..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/vars/RedHat.yml +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -packages: - - ceph-radosgw - - fcgi - - ceph-deploy - - ceph - -services: [] - -cinder_service: openstack-cinder-volume -nova_service: openstack-nova-compute -glance_service: openstack-glance-api diff --git a/deploy/adapters/ansible/roles/ceph-deploy/vars/main.yml b/deploy/adapters/ansible/roles/ceph-deploy/vars/main.yml deleted file mode 100644 index 6de7e9f0..00000000 --- a/deploy/adapters/ansible/roles/ceph-deploy/vars/main.yml +++ /dev/null @@ -1,13 +0,0 @@ -############################################################################## -# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## ---- -packages_noarch: [] - -ceph_cluster_dir: - - /root/ceph-cluster -- cgit 1.2.3-korg