You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Missing Python Packages in Manager Container #1523
What happened:
When activating the diskprediction_local manager module, the health of the cluster transitions to Critical and the following error is logged;
Health check failed: Module 'diskprediction_local' has failed: No module named sklearn.svm.classes (MGR_MODULE_ERROR)
This prevents the usage of diskprediction_local module for device life expectancy predictions from device health monitoring, which is now possible following the merger of #1396 which added the smartctl and nvme binaries to OSD containers.
What you expected to happen:
The manager module to load and process collected OSD device health information.
How to reproduce it (minimal and precise):
Deploy a containerised manager using ceph/daemon:latest-nautilus.
Enable the diskprediction_local manager module
Observe cluster health transition to Critical and log messages regarding Python import failures.
Environment:
OS (e.g. from /etc/os-release): Ubuntu 18.04.3 LTS
I think this is more a ceph mgr dependency issue (from ceph/ceph project) than a ceph-container issue because I'm pretty sure that it's also present on non containerized deployment.
Ah, my apologies. Thanks to your pointer I can see how each of the mgr module dependencies are now defined. Interestingly, for diskprediction_local, there's a requirements.txt file in the master branch, but not in the v14.2.4 tag. Presumably this is the root of the issue i'm facing.
Thanks for the pointer, i'll close this out now and follow up on the main Ceph bug tracker.
Following the merger of #1821 I can confirm that on a freshly-pulled ceph/daemon:latest-octopus container running as a Manager, the diskprediction_local module can now be enabled and successfully returns failure predictions.
Activity
dsavineau commentedon Nov 23, 2019
I think this is more a ceph mgr dependency issue (from ceph/ceph project) than a ceph-container issue because I'm pretty sure that it's also present on non containerized deployment.
KingJ commentedon Nov 23, 2019
Ah, my apologies. Thanks to your pointer I can see how each of the mgr module dependencies are now defined. Interestingly, for diskprediction_local, there's a requirements.txt file in the master branch, but not in the v14.2.4 tag. Presumably this is the root of the issue i'm facing.
Thanks for the pointer, i'll close this out now and follow up on the main Ceph bug tracker.
KingJ commentedon Mar 20, 2021
Following the merger of #1821 I can confirm that on a freshly-pulled
ceph/daemon:latest-octopuscontainer running as a Manager, the diskprediction_local module can now be enabled and successfully returns failure predictions.