]> git.apps.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>
Wed, 30 May 2018 11:21:32 +0000 (13:21 +0200)
commit615a8bbc534696fdaa53687d443b80a5e2bd3900
treee84503eccc65cace62c2872baa9ae2bfab807307
parent3a6885b8b0680128c237e58a731ef8945bd9fac1
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>
(cherry picked from commit 98cb6ed8f602d9c54b63c5381a17dbca75df6bc2)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/setup.yml
tox.ini