X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fceph-volume%2Fceph_volume%2Ftests%2Ffunctional%2Flvm%2Ftox.ini;fp=src%2Fceph%2Fsrc%2Fceph-volume%2Fceph_volume%2Ftests%2Ffunctional%2Flvm%2Ftox.ini;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=797138f7dd52855673cf2f7e55853374ed0a8041;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini b/src/ceph/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini deleted file mode 100644 index 797138f..0000000 --- a/src/ceph/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini +++ /dev/null @@ -1,59 +0,0 @@ -[tox] -envlist = {centos7,xenial}-{filestore,bluestore}-{create,prepare_activate} -skipsdist = True - -[testenv] -whitelist_externals = - vagrant - bash - git -passenv=* -setenv= - ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config - ANSIBLE_STDOUT_CALLBACK = debug - ANSIBLE_RETRY_FILES_ENABLED = False - VAGRANT_CWD = {changedir} - CEPH_VOLUME_DEBUG = 1 -deps= - ansible==2.4.1 - testinfra==1.7.1 - pytest-xdist -changedir= - centos7-filestore-create: {toxinidir}/centos7/filestore/create - centos7-bluestore-create: {toxinidir}/centos7/bluestore/create - xenial-filestore-create: {toxinidir}/xenial/filestore/create - xenial-bluestore-create: {toxinidir}/xenial/bluestore/create - # TODO: these are placeholders for now, eventually we want to - # test the prepare/activate workflow of ceph-volume as well - xenial-filestore-prepare_activate: {toxinidir}/xenial/filestore/prepare_activate - xenial-bluestore-prepare_activate: {toxinidir}/xenial/bluestore/prepare_activate - centos7-filestore-prepare_activate: {toxinidir}/xenial/filestore/prepare_activate - centos7-bluestore-prepare_activate: {toxinidir}/xenial/bluestore/prepare_activate -commands= - git clone -b {env:CEPH_ANSIBLE_BRANCH:master} --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible - - vagrant up --no-provision {posargs:--provider=virtualbox} - bash {toxinidir}/../scripts/generate_ssh_config.sh {changedir} - - # create logical volumes to test with on the vms - ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/lvm_setup.yml - - # ad-hoc/local test setup for lvm - ansible-playbook -vv -i {changedir}/hosts {changedir}/setup.yml - - # use ceph-ansible to deploy a ceph cluster on the vms - ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/site.yml.sample --extra-vars "fetch_directory={changedir}/fetch ceph_dev_branch={env:CEPH_DEV_BRANCH:master} ceph_dev_sha1={env:CEPH_DEV_SHA1:latest}" - - # prepare nodes for testing with testinfra - ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/setup.yml - - # test cluster state using ceph-ansible tests - testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/tests - - # reboot all vms - vagrant reload --no-provision - - # retest to ensure cluster came back up correctly after rebooting - testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/tests - - vagrant destroy --force