From c3eadbc31abf95bf0e8c6793ab578d75cba5542c Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 3 Feb 2021 09:33:14 +0100 Subject: [PATCH] tests: follow up on 7c9063b 7c9063b1d2b1af22feb65e70cd8c4dd2de179fb9 broke some scenarios. This commit fixes them. Signed-off-by: Guillaume Abrioux --- tox-update.ini | 4 ++-- tox.ini | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tox-update.ini b/tox-update.ini index 0ae923b5f..ce89f9b7a 100644 --- a/tox-update.ini +++ b/tox-update.ini @@ -40,8 +40,8 @@ commands= ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/setup.yml - # configure lvm - ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml + # configure lvm, we exclude osd2 given this node uses lvm batch scenario (see corresponding inventory host file) + ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml --limit 'osds:!osd2' non_container: ansible-playbook -vv -i "localhost," -c local {toxinidir}/tests/functional/dev_setup.yml --extra-vars "dev_setup=True change_dir={changedir} ceph_dev_branch={env:UPDATE_CEPH_DEV_BRANCH:master} ceph_dev_sha1={env:UPDATE_CEPH_DEV_SHA1:latest}" --tags "vagrant_setup" ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\ diff --git a/tox.ini b/tox.ini index 55a848341..b13499254 100644 --- a/tox.ini +++ b/tox.ini @@ -339,6 +339,7 @@ commands= # configure lvm, we exclude osd2 given this node uses lvm batch scenario (see corresponding inventory host file) !lvm_batch-!lvm_auto_discovery: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml --limit 'osds:!osd2' + lvm_osds,all_in_one: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml --limit osd2 rhcs: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "ceph_docker_registry={env:CEPH_DOCKER_REGISTRY:quay.ceph.io} repo_url={env:REPO_URL:} rhel7_repo_url={env:RHEL7_REPO_URL:}" --skip-tags "vagrant_setup"