Project

General

Profile

Actions

Bug #45147

closed
KC

Module 'diskprediction_local' takes forever to load

Bug #45147: Module 'diskprediction_local' takes forever to load

Added by Kefu Chai over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
diskprediction_local
Target version:
-
Due date:
% Done:

100%

Source:
Backport:
octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-1231-gf701ed8b26
Released In:
v16.2.0~2700
Upkeep Timestamp:
2025-07-15T01:14:23+00:00

Description

debian sid, python3.8,2,

sha1: 5e540f1191975fac38733e765312295775a52ad4

ceph-mgr never finishes loading diskprediction_local:

2020-04-20T17:21:04.157+0800 7f2d9860ee40  1 mgr[py] Loading python module 'diskprediction_local'
2020-04-20T17:21:04.201+0800 7f2d9860ee40 10 mgr[py] Computed sys.path '/var/ssd/ceph/src/pybind:/var/ssd/ceph/build/lib/cython_modules/lib.3:/var/ssd/ceph/src/python-common::/usr/lib/python38.zip:/usr/l\
ib/python3.8:/usr/lib/python3.8/lib-dynload:/var/ssd/ceph/src/pybind/mgr:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'
2020-04-20T17:21:04.429+0800 7f2d7d7fa700 10 monclient: tick
2020-04-20T17:21:04.429+0800 7f2d7d7fa700 10 monclient: _check_auth_rotating renewing rotating keys (they expired before 2020-04-20T17:20:34.435106+0800)
2020-04-20T17:21:04.429+0800 7f2d7d7fa700 20 monclient: _un_backoff reopen_interval_multipler now 1
2020-04-20T17:21:05.433+0800 7f2d7d7fa700 10 monclient: tick
2020-04-20T17:21:05.433+0800 7f2d7d7fa700 10 monclient: _check_auth_rotating renewing rotating keys (they expired before 2020-04-20T17:20:35.435416+0800)
2020-04-20T17:21:06.433+0800 7f2d7d7fa700 10 monclient: tick
2020-04-20T17:21:06.433+0800 7f2d7d7fa700 10 monclient: _check_auth_rotating renewing rotating keys (they expired before 2020-04-20T17:20:36.435629+0800)
2020-04-20T17:21:07.433+0800 7f2d7d7fa700 10 monclient: tick
2020-04-20T17:21:07.433+0800 7f2d7d7fa700 10 monclient: _check_auth_rotating renewing rotating keys (they expired before 2020-04-20T17:20:37.435829+0800)
2020-04-20T17:21:08.429+0800 7f2d7d7fa700 10 monclient: tick
2020-04-20T17:21:08.429+0800 7f2d7d7fa700 10 monclient: _check_auth_rotating renewing rotating keys (they expired before 2020-04-20T17:20:38.435989+0800)
2020-04-20T17:21:09.429+0800 7f2d7d7fa700 10 monclient: tick

Related issues 6 (1 open — 5 closed)

Related to mgr - Bug #42764: Test failure: test_diskprediction_local (tasks.mgr.test_module_selftest.TestModuleSelftest)ResolvedSage Weil

Actions
Related to mgr - Bug #43447: mgr/diskprediction: diskprediction module fails to initialize with newer SciPy versionsNewSage Weil

Actions
Related to mgr - Bug #50196: TestModuleSelftest.test_diskprediction_localResolvedKefu Chai

Actions
Copied to mgr - Backport #50165: pacific: Module 'diskprediction_local' takes forever to loadRejected

Actions
Copied to mgr - Backport #50166: nautilus: Module 'diskprediction_local' takes forever to loadRejected

Actions
Copied to mgr - Backport #50167: octopus: Module 'diskprediction_local' takes forever to loadResolvedCory Snyder

Actions

KC Updated by Kefu Chai over 6 years ago Actions #1

  • Related to Bug #42764: Test failure: test_diskprediction_local (tasks.mgr.test_module_selftest.TestModuleSelftest) added

KC Updated by Kefu Chai over 6 years ago Actions #2

i think it's caused by numpy.

see the discussions at

- https://mail.python.org/pipermail/python-dev/2019-January/156095.html and
- https://bugs.python.org/issue10915

seems the short-term fix is to either

- disable diskprediction_local
- run diskprediction_local in a dedicated interpreter instead of in a sub-interpreter

TT Updated by Tomasz Torcz over 6 years ago Actions #3

FYI, the same happens on Fedora 33.

KC Updated by Kiefer Chang over 6 years ago Actions #4

  • Related to Bug #43447: mgr/diskprediction: diskprediction module fails to initialize with newer SciPy versions added

KC Updated by Kefu Chai over 6 years ago Actions #5

Jeff Layton also ran into this issue on fedora 32 with python3.8.

JD Updated by Josh Durgin over 6 years ago Actions #6

  • Priority changed from Normal to Urgent

KC Updated by Kefu Chai over 6 years ago Actions #7

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 34846

as this issue only impacts python3.8, and neither el8 nor ubuntu bionic ships python3.8. i am not adding any LTS branches to "backport" field of this ticket.

KC Updated by Kefu Chai over 6 years ago Actions #8

  • Status changed from Fix Under Review to New

the workaround fix was merged. let's keep this issue open until we have a proper fix.

KC Updated by Kefu Chai over 6 years ago Actions #9

  • Assignee deleted (Kefu Chai)
  • Priority changed from Urgent to High

KC Updated by Kefu Chai over 6 years ago Actions #10

  • Priority changed from High to Urgent

https://github.com/ceph/ceph/pull/34894 fails the tests on ubuntu focal.

we should address the test failures on ubuntu/focal

KC Updated by Kefu Chai over 5 years ago Actions #12

  • Status changed from New to Pending Backport
  • Backport set to nautilus, octopus, pacific

UB Updated by Upkeep Bot over 5 years ago Actions #13

  • Copied to Backport #50165: pacific: Module 'diskprediction_local' takes forever to load added

UB Updated by Upkeep Bot over 5 years ago Actions #14

  • Copied to Backport #50166: nautilus: Module 'diskprediction_local' takes forever to load added

UB Updated by Upkeep Bot over 5 years ago Actions #15

  • Copied to Backport #50167: octopus: Module 'diskprediction_local' takes forever to load added

KC Updated by Kefu Chai over 5 years ago Actions #16

  • Related to Bug #50196: TestModuleSelftest.test_diskprediction_local added

KS Updated by Konstantin Shalygin almost 5 years ago Actions #17

  • Backport changed from nautilus, octopus, pacific to octopus, pacific

KS Updated by Konstantin Shalygin about 3 years ago Actions #19

  • Status changed from Pending Backport to Resolved
  • Priority changed from Urgent to Normal
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot over 1 year ago Actions #20

  • Merge Commit set to f701ed8b261b5414a4b3c8e12b11f9fbdafecd7a
  • Fixed In set to v16.0.0-1231-gf701ed8b26
  • Released In set to v16.2.0~2700
  • Upkeep Timestamp set to 2025-07-15T01:14:23+00:00
Actions

Also available in: PDF Atom