On 29 April 2018 at 10:18, Sandro Bonazzola <sbonazzo@redhat.com> wrote:


2018-04-29 7:58 GMT+02:00 Barak Korren <bkorren@redhat.com>:


On 27 April 2018 at 19:51, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi,
I tried to run ovirt-system-tests_manual job for testing some new centos builds and I've the feeling it doesn't work.

I added custom repo:  https://cbs.centos.org/repos/virt7-ovirt-common-testing/x86_64/os/ which contains ansible 2.5.2 but I can't see it installed on the hosts and engine, I see only 2.5.1 installed.

repoman and hence OST does not support repos only direct package URLs, web directories that can be recursed into if you add the 'rec:' prefix or jenkins jobs if they are either on jenkins.ovirt.org or you add the 'jenkins:' prefix.

right, so yum repos can be added by rec:<yum repo> being the example below a web directory with rpm included in the Packages sub-directory




 

 
which contains openvswitch  2.9.0-4. Looks like it has been installed on the engine but not on the hosts. maybe network suite doesn't use it, but looks weird.

If it was installed on the engine it means that its available in the localrepo, perhaps the hosts arn't using it? (that would be a bug in the suit).
 

I added custom repos:

for testing new qemu-kvm-ev 2.10 and CentOS 7.5 beta
but looks like qemu-kvm-ev 2.9 is used instead.

Am I doing it wrong or is the manual job broken?

Again, yum repos are not supported by repoman.

I'll push a fix for this, there's no reason for not supporting yum repos but supporting recursive web directories, being a yum repo a web directory to be recursed if including repodata directory.


That cannot be so easily fixed - some yum repos indeed have all RPMs in directories under a common top-level one, that that is not mandatory though, the metadate files can point to all kinds of places, including completely different hosts. Additionally there is no guarantee that every RPM in the repo directoy would actually be listed in in the MD files.

Bottom line - yum support should be based on actual reading of the MD files, not just assuming it is a web dir that all RPMs are nested inside.

 
 

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA

sbonazzo@redhat.com   


_______________________________________________
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra




--
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA

sbonazzo@redhat.com   




--
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted