]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: change ceph_docker_image_tag for 2nd run
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 23 Feb 2018 10:23:13 +0000 (11:23 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 26 Feb 2018 07:59:29 +0000 (08:59 +0100)
commit2b5e6bb99387b9f69e5a55e87be7f00296018264
treec510aebe623407101066c31157beb85ad07306b1
parent3852ecdfb340de97b043cb9cf6d87bdb31f99efa
tests: change ceph_docker_image_tag for 2nd run

The ceph-ansible upstream CI runs severals tests, including a
'idempotency/handlers' test. It means the playbook is run a first time
and then a second time with an other container image version to ensure the
handlers run properly and the containers are well restarted.
This can cause issues.
For instance, in that specific case which drove me to submit this commit,
I've hit the case where `latest` image ships ceph 12.2.3 while the `stable-3.0`
(which is the image used for the second run) ships ceph 12.2.2.

The goal of this test is not to verify we can upgrade from a specific
version to another but to ensure handlers are working even if it's a valid
failure here.
It should be caught by a test dedicated to that usecase.

We just need to have a container image which has a different id for
the upstream CI, we need the same content in container imagebut a different
image id in the registry since the test relies on image id to decide whether
the container should be restarted.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4a8986459f2ed7e077390162d0df431a3321a478)
Signed-off-by: Sébastien Han <seb@redhat.com>
tests/functional/centos/7/cluster/ceph-override.json