]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: avoid yum failures
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 May 2018 10:02:49 +0000 (12:02 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 May 2018 20:04:35 +0000 (22:04 +0200)
commit98cb6ed8f602d9c54b63c5381a17dbca75df6bc2
tree5ef1cd4e12b3d59f7983569e107dad04df629bdf
parent144b2fcebc9512598330c0fdca329f165034c1dd
tests: avoid yum failures

In the CI we can see at many times failures like following:

`Failure talking to yum: Cannot find a valid baseurl for repo:
base/7/x86_64`

It seems the fastest mirror detection is sometimes counterproductive and
leads yum to fail.

This fix has been added in the `setup.yml`.
This playbook was used until now only just before playing `testinfra`
and could be used before running ceph-ansible so we can add some
provisionning tasks.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-authored-by: Erwan Velu <evelu@redhat.com>
tests/functional/setup.yml
tox.ini