-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
CentOS Stream 10, rhel-10.0
-
tracer-1.1-1.el8
-
None
-
None
-
None
-
QE ack, Dev ack
-
False
-
-
None
-
None
-
Pass
-
Automated
-
None
Cockpit's software updates page calls tracer, like this:
from tracer.query import Query
q = Query()
applications = q.affected_applications().get()
Our tests spotted a crash which happens if the system does not have an /etc/os-release file:
Traceback (most recent call last): File \"<string>\", line 6, in <module> File \"/usr/lib/python3.6/site-packages/tracer/query.py\", line 72, in get return self._method(**self._kwargs) File \"/usr/lib/python3.6/site-packages/tracer/resources/tracer.py\", line 126, in trace_affected if not self._applications.find('kernel').ignore and self._has_updated_kernel(): File \"/usr/lib/python3.6/site-packages/tracer/resources/tracer.py\", line 134, in _has_updated_kernel running = System.running_kernel_package() File \"/usr/lib/python3.6/site-packages/tracer/resources/system.py\", line 119, in running_kernel_package return System.package_manager().find_package(System.kernel_package_name(), os.uname()[3]) AttributeError: 'NoneType' object has no attribute 'find_package'"
- clones
-
RHEL-14082 tracer crash: AttributeError: 'NoneType' object has no attribute 'find_package'" without /etc/os-release
- Closed
- links to
-
RHBA-2023:124962 tracer update
- mentioned on