Project

General

Profile

Actions

Bug #63216

open

Regression of #44948 ("ModuleNotFoundError: No module named 'sklearn'")

Added by brent s. 7 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
diskprediction_local
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It appears that in Reef, sklearn is once again not properly installed with EL packages.

This occurs on an AlmaLinux (EL) 9.2 box using the https://download.ceph.com/rpm-reef/el9/$basearch repository.

Here's the crash info:

{
    "backtrace": [
        "  File \"/usr/share/ceph/mgr/diskprediction_local/module.py\", line 265, in predict_all_devices\n    result = self._predict_life_expectancy(devInfo['devid'])",
        "  File \"/usr/share/ceph/mgr/diskprediction_local/module.py\", line 205, in _predict_life_expectancy\n    predicted_result = obj_predictor.predict(predict_datas)",
        "  File \"/usr/share/ceph/mgr/diskprediction_local/predictor.py\", line 468, in predict\n    clf = pickle.load(f_model)",
        "ModuleNotFoundError: No module named 'sklearn'" 
    ],
    "ceph_version": "18.2.0",
    "crash_id": "2023-10-16T00:08:11.196821Z_2c1703fc-68b2-40c8-8497-2c7d265ce1d4",
    "entity_name": "mgr.[REDACTED]",
    "mgr_module": "diskprediction_local",
    "mgr_module_caller": "ActivePyModule::dispatch_remote predict_all_devices",
    "mgr_python_exception": "ModuleNotFoundError",
    "os_id": "almalinux",
    "os_name": "AlmaLinux",
    "os_version": "9.2 (Turquoise Kodkod)",
    "os_version_id": "9.2",
    "process_name": "ceph-mgr",
    "stack_sig": "9d23ce3fd3b93723ebfbb29a5bfdfd97dced76653755d1dbaac329c7aaf36899",
    "timestamp": "2023-10-16T00:08:11.196821Z",
    "utsname_hostname": "[REDACTED]",
    "utsname_machine": "x86_64",
    "utsname_release": "5.14.0-284.30.1.el9_2.x86_64",
    "utsname_sysname": "Linux",
    "utsname_version": "#1 SMP PREEMPT_DYNAMIC Tue Sep 12 09:28:32 EDT 2023" 
}
Actions #1

Updated by Ilya Dryomov 4 months ago

  • Target version deleted (v18.2.0)
Actions

Also available in: Atom PDF