Skip to content

Commit

Permalink
tests: prepare VGs/LVs before running ceph-ansible
Browse files Browse the repository at this point in the history
this commit calls lvm_setup.yml in order to prepare the required vgs/lvs
before running ceph-ansible.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 30a2ff4)
  • Loading branch information
guits authored and dsavineau committed Apr 15, 2020
1 parent f10d966 commit a148f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export ANSIBLE_SSH_ARGS="-F $CEPH_ANSIBLE_SCENARIO_PATH/vagrant_ssh_config"

# runs a playbook to configure nodes for testing
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/tests/setup.yml --extra-vars="ceph_docker_registry=$REGISTRY_ADDRESS"
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/tests/functional/lvm_setup.yml
ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/site-docker.yml.sample --extra-vars="ceph_docker_image_tag=latest-nautilus ceph_docker_registry=$REGISTRY_ADDRESS fetch_directory=$CEPH_ANSIBLE_SCENARIO_PATH/fetch"

ansible-playbook -vv -i "$CEPH_ANSIBLE_SCENARIO_PATH"/hosts "$TOXINIDIR"/ceph-ansible/tests/functional/setup.yml
Expand Down

0 comments on commit a148f32

Please sign in to comment.