2018-05-14 12:44 GMT+02:00 Sagi Shnaidman <sshnaidm@redhat.com>:
Thanks for clarification, Sandro. Seems like qemu-ev repo is first to use this variable and alert about this problem.

I hope other SIGs will follow up soon in order to complete support for ppc64le and aarch64.
 


On Mon, May 14, 2018 at 1:37 PM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Adding CentOS Devel mailing list

2018-05-14 12:17 GMT+02:00 Sagi Shnaidman <sshnaidm@redhat.com>:
Hi, Sandro

we have problems recently with having $contentdir in new qemu-ev repo release[1], because it's not set anywhere. It's not an exaggeration to say that it's blocking the whole TripleO CI in Openstack and anything else that uses CentOS 7.5 in Openstack[2].

Can you please fix this problem in the package?

The problem is not in the package.
On a centos instance installed with anaconda the $contendir variable is filled by /etc/yum/vars/contentdir which is supposed to be installed by centos-release rpm.

The introduction of this variable has been proposed in https://lists.centos.org/pipermail/centos-devel/2018-March/016542.html
and has been implemented in CentOS 7.5 GA.

Looking at it, deeper I see:

# LC_ALL=C rpm -qf /etc/yum/vars/contentdir 
file /etc/yum/vars/contentdir is not owned by any package
Seems like centos-release rpm has a packaging issue.

A bug has been opened on https://bugs.centos.org/view.php?id=14786 which identified the bug happening in OpenStack CI as a bug in diskimage-builder.

That said, I think centos-release-qemu-ev-1.0-3 is doing the right thing there.

 
Thanks

[1] http://cbs.centos.org/koji/packageinfo?packageID=1950
[2] https://bugs.launchpad.net/tripleo/+bug/1771090 - http://mirror.centos.org/%24contentdir/7/virt/x86_64/kvm-common/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

--
Best regards
Sagi Shnaidman



--

SANDRO BONAZZOLA

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

Red Hat EMEA

sbonazzo@redhat.com   




--
Best regards
Sagi Shnaidman



--

SANDRO BONAZZOLA

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

Red Hat EMEA

sbonazzo@redhat.com