[CentOS-devel] Problem with $contentdir in centos qemu-ev release repos

Mon May 14 10:37:11 UTC 2018
Sandro Bonazzola <sbonazzo at redhat.com>

Adding CentOS Devel mailing list

2018-05-14 12:17 GMT+02:00 Sagi Shnaidman <sshnaidm at 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 <https://www.redhat.com/>

sbonazzo at redhat.com
<https://red.ht/sig>
<https://redhat.com/summit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20180514/5bb4e4dc/attachment-0007.html>