Comment 1 for bug 1771090

Revision history for this message
Sandro Bonazzola (sandro-bonazzola) wrote :

Please cross check kolla code.
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, being the file genreated by centos-release in %post instead of being shipped.

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.

I hope this help solving the issue on kolla side.