legacy-periodic-tripleo-centos-7-master-containers-build job is failing in master periodic job.
https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-centos-7-master-containers-build/ed9375f/job-output.txt.gz#_2018-07-16_09_56_00_003765
Here is the log:
https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-centos-7-master-containers-build/ed9375f/logs/kolla/logs/000_FAILED_openstack-base.log
INFO:kolla.common.utils.openstack-base:Package python2-jsonpatch-1.21-1.el7.noarch already installed and latest version
INFO:kolla.common.utils.openstack-base:Package python2-jsonpointer-1.10-4.el7.noarch already installed and latest version
INFO:kolla.common.utils.openstack-base:Package python2-keystoneauth1-3.9.0-0.20180621113114.ebe781a.el7.noarch already installed and latest version
INFO:kolla.common.utils.openstack-base:No package python2-mimeparse available.
INFO:kolla.common.utils.openstack-base:[91mError: Not tolerating missing names on install, stopping.
INFO:kolla.common.utils.openstack-base:[0m
After investigation, we found that EPEL repo is used in upstream kolla image build:
https://github.com/openstack/kolla/blob/master/docker/base/Dockerfile.j2#L133-L136
and in tripleo-common, we overrides those values to disable EPEL repo http://git.openstack.org/cgit/openstack/tripleo-common/tree/container-images/tripleo_kolla_template_overrides.j2#n18
python2-mimetype is coming from EPEL repo, so it is not failing upstream but failed in periodic job.
We need to fix it.
https://review.openstack.org/#/c/582918/ to disable epel on Kolla upstream side.
https:/ /review. openstack. org/#/c/ 580995/ causes the breakage.