]> 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)
committerSébastien Han <seb@redhat.com>
Fri, 23 Feb 2018 12:54:32 +0000 (13:54 +0100)
commit4a8986459f2ed7e077390162d0df431a3321a478
treea55d28dc3893d6cdeb84c129409863966f86a30e
parent707458c979f17632d97c205e29524cadc9dec5b3
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>
tests/functional/centos/7/cluster/ceph-override.json