noris-network / ansible-prometheus-kafka-adapter

Ansible role to deploy prometheus-kafka-adapter as a Docker container
Apache License 2.0
0 stars 0 forks source link

Test execution fails for CentOS 8 #13

Open fbermel opened 1 year ago

fbermel commented 1 year ago

Test execution fails for CentOS 8 with the following errors:

failed: [centos8] (item=epel-release) => {"ansible_loop_var": "item", "changed": false, "item": "epel-release", "msg": "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist", "rc": 1, "results": []}
failed: [centos8] (item=python3-pip) => {"ansible_loop_var": "item", "changed": false, "item": "python3-pip", "msg": "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist", "rc": 1, "results": []}

This is probably due to the discontinuation of CentOS and it's mirrors. We could either prepare CentOS 8 accordingly (replace yum sources) before installing any dependencies or we could change our tests to be executed on for example Rocky Linux.

Since Rocky Linux is supposed to be a drop-in replacement for CentOS and there are official Rocky Linux Vagrant boxes available I am in favor of replacing testing on CentOS with testing on Rocky Linux.