tripleo-quickstart creating redundant repositories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
John Fulton |
Bug Description
Quickstart creates additional yum repository files [0] which point to the same online repository with a name that matches case insensitively [1]. Even if the redundant repositories are disabled, attempts to install packages from these repositories result in the package not being found and warning:
Repository $FOO is listed more than once in the configuration
This was seen recently in TripleO CI [2][3][4][5] and can be reproduced
by setting up the same files in /etc/yum.repos.d and attempting to install
a package found in both the enabled an disabled repository.
[1]
[root@4ed2422bb531 yum.repos.d]# ls | sort -f
CentOS-Base.repo
centos-base.repo
CentOS-
centos-
CentOS-CR.repo
CentOS-
centos-extras.repo
CentOS-
CentOS-Media.repo
centos-
centos-qemu.repo
CentOS-Sources.repo
centos-updates.repo
CentOS-Vault.repo
delorean-
delorean-
delorean.repo
gating.repo
[root@4ed2422bb531 yum.repos.d]#
[2]
[root@4ed2422bb531 ~]# yum install ceph-ansible
Loaded plugins: fastestmirror, ovl
Repository centos-ceph-jewel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
No package ceph-ansible available.
Error: Nothing to do
[root@4ed2422bb531 ~]#
Fix proposed to branch: master /review. openstack. org/494056
Review: https:/