uyuni-project / sumaform

Terraform configuration to quickly set up SUSE Manager/Uyuni environments
BSD 3-Clause "New" or "Revised" License
72 stars 71 forks source link

CentOS8 wrong injected repositories, failovermethod doesn't exist #1107

Closed srbarrios closed 2 years ago

srbarrios commented 2 years ago

We have a problem with CentOS8 repos:

https://github.com/uyuni-project/sumaform/blob/master/backend_modules/libvirt/host/user_data.yaml#L98-L131

This is the issue shown in Yum from the salt event:

 Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/centos_appstream_backup.repo; Configuration: OptionBinding with\
        \ id \"failovermethod\" does not exist\n      Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/centos_base_backup.repo;\
        \ Configuration: OptionBinding with id \"failovermethod\" does not exist\n      Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo;\
        \ Configuration: OptionBinding with id \"failovermethod\" does not exist\n      Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/tools_pool_repo.repo;\
        \ Configuration: OptionBinding with id \"failovermethod\" does not exist\n      Last metadata expiration check: 0:00:02 ago on Fri May 27 10:53:34\
rjmateus commented 2 years ago

this was already solved with: https://github.com/uyuni-project/sumaform/commit/be341ef879c34036da82bf544f62391c9d28abe6