Hello All.

Let's try not to over-complicate this. The error here we should care about is "no more mirrors to try" Just use more than one mirror in yum configuration in ovrit system tests. That's what we enabled in standard ci and it works fine there (although we are not running this new config for a long). 

Yum will just failover to the next mirror in the list automatically. This is how we can get a resiliency. And proxy there is just to avoid overloading mirror with extra traffic when downloading RPMs and speed the download up.

Anton.

On Thu, Dec 1, 2016 at 8:34 AM, Barak Korren <bkorren@redhat.com> wrote:
On 1 December 2016 at 09:26, Eyal Edri <eedri@redhat.com> wrote:
> Will this error get solved also by the patch for replacing the proxies?
> Or we need to mirror epel to oVirt to avoid such errors?
>
> 05:28:44 and following error: Error setting up repositories: failure:
> repodata/486c936a72b1d31db8b5892cb0c0372ba3c171509f168c1c24b5e32d5bf11861-primary.sqlite.xz
> from ovirt-master-epel-el7: [Errno 256] No more mirrors to try.
> 05:28:44
> http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/486c936a72b1d31db8b5892cb0c0372ba3c171509f168c1c24b5e32d5bf11861-primary.sqlite.xz:
> [Errno 14] HTTPS Error 404 - Not Found

Looks like the sqlite index file got replaced while our test is running.
We'll probably have to mirror to be resilient to this (Proxy cannot
help you with something it did not proxy yet).
One thing to note is that simple rsync mirror will not be enough, we
will need a mirror system that will make _atomic_ updates to the
mirror. Rsync will just make it behave like DS globalsync behaves.


--
Barak Korren
bkorren@redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/



--
Anton Marchukov
Senior Software Engineer - RHEV CI - Red Hat