]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: fix shrink_osd scenario
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Apr 2019 07:20:16 +0000 (09:20 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Apr 2019 07:48:04 +0000 (09:48 +0200)
the wrong image version was used to run shrink_osd playbook.
in stable-3.1 we should use a luminous image, not nautilus which doesn't
have ceph-disk binary anymore.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 747a96112c80372a66846eccfd68dc7a281481b2..1d568fd9d2046a26a831afa4a83254af019dc930 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -129,6 +129,11 @@ commands=
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/shrink-osd.yml --extra-vars "\
       ireallymeanit=yes \
       osd_to_kill=0 \
+      ceph_stable_release={env:UPDATE_CEPH_STABLE_RELEASE:luminous} \
+      fetch_directory={env:FETCH_DIRECTORY:{changedir}/fetch} \
+      ceph_docker_registry={env:CEPH_DOCKER_REGISTRY:docker.io} \
+      ceph_docker_image={env:CEPH_DOCKER_IMAGE:ceph/daemon} \
+      ceph_docker_image_tag={env:CEPH_DOCKER_IMAGE_TAG:latest-luminous} \
   "
 
 [switch-to-containers]