Skip to content
New issue

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

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

Already on GitHub? # to your account

Katello Tracer returns empty values. Oracle linux 8. #209

Open
minashvili opened this issue Feb 4, 2024 · 1 comment
Open

Katello Tracer returns empty values. Oracle linux 8. #209

minashvili opened this issue Feb 4, 2024 · 1 comment
Labels
distro Anything outside of Fedora

Comments

@minashvili
Copy link

minashvili commented Feb 4, 2024

Hello!
I use the Foreman and Katello system to manage the Oracle 8 server.
And I discovered the problem that Katello-Tracer using Tracer couldn't send data.

This may have something to do with specifying the dnf package manager and its sqlite database.

I fixed this by changing the following files:

/usr/lib/python3.6/site-packages/tracer/resources/system.py

#replaced yum -> dnf for ol
Was:
"ol":      [("tracer.packageManagers.yum", "Yum")],
Became :
"ol":      [("tracer.packageManagers.dnf", "Dnf")],

and

/usr/lib/python3.6/site-packages/tracer/packageManagers/dnf.py

# added "ol" to list 
Was:
if System.distribution() in ["rhel", "fedora", "centos", "centos-7", "mageia", "suse"]:
Became :
if System.distribution() in ["rhel", "fedora", "centos", "centos-7", "mageia", "suse", "ol"]:

If it's not a known issue, I can help create a PR for you.

@FrostyX
Copy link
Owner

FrostyX commented Feb 9, 2024

Hello @minashvili,
thank you very much for the report.

If it's not a known issue, I can help create a PR for you.

This is not a known issue, can you please submit the PR? :-)

@FrostyX FrostyX added the distro Anything outside of Fedora label Feb 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
distro Anything outside of Fedora
Projects
None yet
Development

No branches or pull requests

2 participants