bento
bento copied to clipboard
CentOS Stream 8 default repos need updating
Version:
Environment:
Running test kitchen in both Vagrant and Dokken.
Looks like it's a very recent change.
Scenario:
kitchen test *-centos-8
on Tomcat cookbook
Steps to Reproduce:
- Checkout the automate/cookstyle branch on the Tomcat cookbook
- run kitchen test templated-service-centos-8
Expected Result:
[What are you expecting to happen as the consequence of above reproduction steps?]
Actual Result:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 574, in load
ret = self._repo.load()
File "/usr/lib64/python3.6/site-packages/libdnf/repo.py", line 397, in load
return _repo.Repo_load(self)
libdnf._error.Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Fix:
dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos