Bug #19503
closedkatello-tracer-upload throws exception on OracleLinux
Description
Hi,
We get this error sent by abrt from all machines:
reason: tracer.py:65:__init__:UnsupportedDistribution: You are running unsupported linux distribution
cmdline: /usr/bin/python /sbin/katello-tracer-upload
executable: /sbin/katello-tracer-upload
package: katello-agent-2.9.1-1.el7
component: katello-agent
pid: 3057
hostname: machine.company.net
count: 7
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
dso_list: python2-tracer-0.6.12-4.el7.noarch
duphash: 566331574b7345bb1c779206fd9a13e35d092cb1
event_log:
kernel: 3.8.13-118.14.2.el7uek.x86_64
last_occurrence: 1494396036
os_release: Oracle Linux Server release 7.3
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 10FF 6B95 9CAA F7B9
pkg_name: katello-agent
pkg_release: 1.el7
pkg_vendor: Koji
pkg_version: 2.9.1
runlevel: unknown
time: Wed 10 May 2017 01:26:15 AM EDT
type: Python
uid: 0
username: root
uuid: 566331574b7345bb1c779206fd9a13e35d092cb1
backtrace:
:tracer.py:65:__init__:UnsupportedDistribution: You are running unsupported linux distribution
:
:Please visit https://github.com/FrostyX/tracer/issues
:and create new issue called 'Unknown or unsupported linux distribution: ol (v0.6.12)' if there isn't such.
:
:Don't you have an GitHub account? Please report this issue on frostyx@email.cz
:
:Traceback (most recent call last):
: File "/sbin/katello-tracer-upload", line 13, in <module>
: main()
: File "/sbin/katello-tracer-upload", line 10, in main
: tracer_upload.upload_tracer_profile()
: File "/usr/lib/yum-plugins/tracer_upload.py", line 56, in upload_tracer_profile
: data = json.dumps({ "traces": get_apps(conduit) })
: File "/usr/lib/yum-plugins/tracer_upload.py", line 47, in get_apps
: for app in query_apps(conduit):
: File "/usr/lib/yum-plugins/tracer_upload.py", line 22, in query_apps
: query = Query()
: File "/usr/lib/python2.7/site-packages/tracer/query.py", line 44, in __init__
: self._tracer = tracer(System.package_manager(), Rules, Applications, dump_memory)
: File "/usr/lib/python2.7/site-packages/tracer/resources/tracer.py", line 65, in __init__
: raise UnsupportedDistribution(System.distribution())
:UnsupportedDistribution: You are running unsupported linux distribution
:
:Please visit https://github.com/FrostyX/tracer/issues
:and create new issue called 'Unknown or unsupported linux distribution: ol (v0.6.12)' if there isn't such.
:
:Don't you have an GitHub account? Please report this issue on frostyx@email.cz
:
:Local variables in innermost frame:
:erased: False
:package_manager: None
:rules: <class 'tracer.resources.rules.Rules'>
:self: <tracer.resources.tracer.Tracer object at 0x25ffed0>
:hooks_observer: None
:applications: <class 'tracer.resources.applications.Applications'>
:memory: <function dump_memory at 0x1f1c1b8>
environ:
:LANG=en_US.UTF-8
:SHELL=/bin/sh
:XDG_RUNTIME_DIR=/run/user/0
:SHLVL=1
:PWD=/root
:LOGNAME=root
:USER=root
:HOME=/root
:PATH=/usr/bin:/bin
:XDG_SESSION_ID=1
:_=/sbin/katello-tracer-upload
machineid:
:systemd=a011b4b3f26c4974b3d7b72bd902d23b
:sosreport_uploader-dmidecode=d4b9d43997c7c7ef0870d58e2c9529ae12ca1bd65e693b4ded6de1c31bf83bd2
os_info:
:NAME="Oracle Linux Server"
:VERSION="7.3"
:ID="ol"
:VERSION_ID="7.3"
:PRETTY_NAME="Oracle Linux Server 7.3"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:oracle:linux:7:3:server"
:HOME_URL="https://linux.oracle.com/"
:BUG_REPORT_URL="https://bugzilla.oracle.com/"
:
:ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
:ORACLE_BUGZILLA_PRODUCT_VERSION=7.3
:ORACLE_SUPPORT_PRODUCT="Oracle Linux"
:ORACLE_SUPPORT_PRODUCT_VERSION=7.3
Updated by Klaas D almost 9 years ago
I think tracer just doesn't support oracle linux, but it may start so with this patch: https://github.com/FrostyX/tracer/pull/81
greetings
klaas
Updated by Klaas D almost 9 years ago
ol doesn't seem to set id_like, so its not supported even with that patch - sorry
Updated by Justin Sherrill almost 9 years ago
- Category set to Client/Agent
- Translation missing: en.field_release set to 228
- Difficulty set to easy
Updated by Justin Sherrill almost 9 years ago
- Translation missing: en.field_release changed from 228 to 250
Updated by Klaas D almost 9 years ago
the new tracer-0.6.13-1 release includes oracle linux support (https://github.com/FrostyX/tracer/issues/73). Not a 100% sure if it also needs changes in katello, I'd guess it will start working as soon as the new version is in epel.
Updated by Sean O'Keeffe over 8 years ago
- Translation missing: en.field_release changed from 250 to 166
This doesn't require any changes to Katello. Fixed in tracer-0.6.13 which is currently in EPEL testing, you can enable the repo and install it if you like, see https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1ea755452d. It should be pushed to stable soon.
Updated by Daniel Lobato Garcia over 8 years ago
To be closed when tracer 0.6.13 gets to EPEL 'stable'.
Updated by Justin Sherrill over 8 years ago
- Status changed from New to Rejected
Closing, as this is resolved by newer tracer in epel