Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable failovermethod in yumrepo on EL8 #456

Merged
merged 3 commits into from
May 30, 2022
Merged

Disable failovermethod in yumrepo on EL8 #456

merged 3 commits into from
May 30, 2022

Conversation

sircubbi
Copy link
Contributor

Pull Request (PR) description

fix yumrepo-format for DNF (EL8 and newer)

This Pull Request (PR) fixes the following issues

failovermethod is not supported by DNF, so remove that line completly on
EL8 (and newer) as long as $priority is unset too.

failovermethod is not supported by DNF, so remove that line completly on
EL8 (and newer) as long as $priority is unset too.
@sircubbi
Copy link
Contributor Author

Well, I cannot do against timeouts in the CI-pipeline. Could you please check or rerun it? Thanks.

@kenyon kenyon closed this May 18, 2022
@kenyon kenyon reopened this May 18, 2022
@smortex
Copy link
Member

smortex commented May 29, 2022

GitHub deprecated git:// usage, can you please replace the repo URLs in .fixtures.yml to use https:// scheme instead ?

@smortex smortex added the bug Something isn't working label May 29, 2022
@smortex smortex changed the title Bugfix: disable failovermethod in yumrepo on EL8 Disable failovermethod in yumrepo on EL8 May 29, 2022
@sircubbi
Copy link
Contributor Author

GitHub deprecated git:// usage, can you please replace the repo URLs in .fixtures.yml to use https:// scheme instead ?

OK, that fixed the timeouts. However Ubuntu fails in die external apt-module now, with something that looks like a not fully populated $facts-variable for the operating-system.

@smortex
Copy link
Member

smortex commented May 30, 2022

Good, we are moving forward.

Puppet 6, the apt module and a failing access to os.distro.codename reminds me about lsb-release but I am surprised it does not fail on more Debian based operating systems.

Can you try to add this to see if it helps: voxpupuli/puppet-jenkins@860af1e (the failure log shows that lsb_release is not found and instead of it facter use /bin/sh -c cat\ /etc/lsb-release which have less information).

@sircubbi
Copy link
Contributor Author

Good, we are moving forward.

Puppet 6, the apt module and a failing access to os.distro.codename reminds me about lsb-release but I am surprised it does not fail on more Debian based operating systems.

Can you try to add this to see if it helps: voxpupuli/puppet-jenkins@860af1e (the failure log shows that lsb_release is not found and instead of it facter use /bin/sh -c cat\ /etc/lsb-release which have less information).

Thanks, that fixed the issue.

Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM!

@bastelfreak
Copy link
Member

thanks for fixing this!

@bastelfreak bastelfreak merged commit ae7df2d into voxpupuli:master May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants