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

Fix for evaluation of distribution release and default provider. #1

Closed
wants to merge 1 commit into from

Conversation

tabowling
Copy link

@mlichvar @larskarlitski I must admit I did not test this, but the prior logic did not seem to properly account for RHEL version >= 6.8.

@mlichvar
Copy link
Collaborator

What exactly did not work? The code was supposed to select chrony on 6.8 and later.
If I understand it correctly, the new code would select ntp instead.

@larskarlitski
Copy link

This fails on rhel-6 with No package matching 'ntp' found available, installed or updated and on rhel-7 with No package matching 'linuxptp' found available, installed or updated.

@mlichvar
Copy link
Collaborator

We have figured out with @pcahyna what's going on with the test failures. The problem seems to be in the rhel-6 and rhel-7 images. They don't have any repositories configured, so when the role tries to install a missing package, it fails. chrony is already installed in the rhel-7 image, but not in the rhel-6 one.

So, this is not a bug in the role, but in the system images used for testing.

@mlichvar mlichvar closed this May 17, 2018
@larskarlitski
Copy link

So, this is not a bug in the role, but in the system images used for testing.

I'm sorry, I don't understand. Shouldn't these roles work without errors on the released images?

@mlichvar
Copy link
Collaborator

The Fedora and CentOS images work.

If the RHEL image doesn't come with the linuxptp package and it's not possible to install packages from a repository, what should the role do if it is configured to synchronize to a PTP domain?

@larskarlitski
Copy link

The point of these roles is to make common tasks possible on different versions of operating systems. Surely there was a (different?) way to synchronize to a PTP domain on RHEL 6?

Why is not possible to install packages?

@mlichvar
Copy link
Collaborator

There are no configured repositories in /etc/yum.repos.d, so the ansible package module (which calls yum install) fails.

@larskarlitski
Copy link

Sorry, I misread that above. I guess we need to register these images to make repositories available.

@richm richm deleted the tbowling branch March 4, 2020 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants