X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fceph-volume%2Fceph_volume%2Ftests%2Ffunctional%2Fsimple%2Ftox.ini;h=d5e9c33ea6401f0f52d7cf5bfc3f0a1e854ae0f3;hb=28e407b858acd3bddc89f68583571f771bb42e46;hp=e8e62dc12796cc2974c7adff5d290478b5f4a675;hpb=3a9019d971a194e002b14eebff7e21327a178f29;p=ceph.git diff --git a/ceph/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini b/ceph/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini index e8e62dc12..d5e9c33ea 100644 --- a/ceph/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini +++ b/ceph/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini @@ -11,6 +11,7 @@ whitelist_externals = passenv=* setenv= ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config + ANSIBLE_ACTION_PLUGINS = {envdir}/tmp/ceph-ansible/plugins/actions ANSIBLE_STDOUT_CALLBACK = debug ANSIBLE_RETRY_FILES_ENABLED = False ANSIBLE_SSH_RETRIES = 5 @@ -20,6 +21,7 @@ deps= ansible==2.4.1 testinfra==1.7.1 pytest-xdist + notario>=0.0.13 changedir= centos7-filestore-activate: {toxinidir}/centos7/filestore/activate centos7-bluestore-activate: {toxinidir}/centos7/bluestore/activate @@ -35,6 +37,9 @@ changedir= centos7-filestore-dmcrypt_luks: {toxinidir}/centos7/filestore/dmcrypt-luks commands= git clone -b {env:CEPH_ANSIBLE_BRANCH:master} --single-branch https://github.com/ceph/ceph-ansible.git {envdir}/tmp/ceph-ansible + # XXX Ideally we should be able to consume the requirements for ceph-ansible directly, + # but the master branch doesn't pin dependencies so we can't guarantee to work correctly + #pip install -r {envdir}/tmp/ceph-ansible/requirements.txt vagrant up --no-provision {posargs:--provider=virtualbox} bash {toxinidir}/../scripts/generate_ssh_config.sh {changedir} @@ -52,7 +57,7 @@ commands= ansible-playbook -vv -i {changedir}/hosts {changedir}/test.yml # reboot all vms - vagrant reload --no-provision + bash {toxinidir}/../scripts/vagrant_reload.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox} # wait 2 minutes for services to be ready sleep 120