Skip to content

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

Open
@minashvili

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    distroAnything outside of Fedora

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions