Project

General

Profile

Actions

Bug #65507

open

diskprediction_local failed with python3.10

Added by Liyan Wang 14 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Monitoring/Alerting
Target version:
-
% Done:

0%

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

Description

1. failed messages:

/usr/local/lib/python3.10/dist-packages/joblib/backports.py:112: UserWarning: NumPy was imported from a Python sub-interpreter but NumPy does not properly support sub-interpreters. This will likely work for most users but might cause hard to track down issues or subtle bugs. A common user of the rare sub-interpreter feature is wsgi which also allows single-interpreter mode.
Improvements in the case of bugs are welcome, but is not on the NumPy roadmap, and full support may require significant effort to achieve.
  import numpy as np
2024-04-16 19:57:48.866060 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866065 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866067 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866071 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866074 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866079 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866081 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866083 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866086 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866111 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866114 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
2024-04-16 19:57:48.866117 7f5b5debb640 -1 client.0 error registering admin socket command: (17) File exists
/usr/lib/python3/dist-packages/sklearn/utils/deprecation.py:143: FutureWarning: The sklearn.svm.classes module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.svm. Anything that cannot be imported from sklearn.svm is now part of the private API.
  warnings.warn(message, FutureWarning)
/usr/lib/python3/dist-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator SVC from version 0.19.2 when using version 0.23.2. This might lead to breaking code or invalid results. Use at your own risk.
  warnings.warn(
2024-04-16 19:57:49.565872 7f5be30a2640 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'diskprediction_local' while running on mgr.An2Gooxi: 'SVC' object has no attribute 'break_ties'
2024-04-16 19:57:49.565892 7f5be30a2640 -1 diskprediction_local.serve:
2024-04-16 19:57:49.565895 7f5be30a2640 -1 Traceback (most recent call last):
  File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 106, in serve
    self.predict_all_devices()
  File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 233, in predict_all_devices
    result = self._predict_life_expentancy(devInfo['devid'])
  File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 178, in _predict_life_expentancy
    predicted_result = obj_predictor.predict(predict_datas)
  File "/usr/share/ceph/mgr/diskprediction_local/predictor.py", line 265, in predict
    pred = clf.predict(ordered_data)
  File "/usr/lib/python3/dist-packages/sklearn/svm/_base.py", line 606, in predict
    if self.break_ties and self.decision_function_shape == 'ovo':
AttributeError: 'SVC' object has no attribute 'break_ties'

^C2024-04-16 19:57:57.567854 7f5bf767d640 -1 received  signal: Interrupt, si_code : 128, si_value (int): 0, si_value (ptr): 0, si_errno: 0, si_pid : 0, si_uid : 0, si_addr0, si_status0

2. scikit-learn==0.19.2 not support python3.10,install higher version only
3. learn models was generated by the version 0.19.2 (https://github.com/ceph/ceph/tree/main/src/pybind/mgr/diskprediction_local/models)

No data to display

Actions

Also available in: Atom PDF