Project

General

Profile

Actions

Bug #41879

closed

Dashboard yields "ImportError: Failed to import _strptime because the import lockis held by another thread." after update to 14.2.4

Added by Roland Sommer over 4 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
General - Back-end
Target version:
-
% Done:

0%

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

Description

After updating to 14.2.4 from 14.2.3 (which we just had rolled out successfully yesterday), the dashboard module refuses to start:

2019-09-17 06:42:03.271 7f125b35b700 -1 Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/module.py", line 355, in serve
    uri = self.await_configuration()
  File "/usr/share/ceph/mgr/dashboard/module.py", line 261, in await_configuration
    uri = self._configure()
  File "/usr/share/ceph/mgr/dashboard/module.py", line 211, in _configure
    if x509.has_expired():
  File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 1357, in has_expired
    not_after = datetime.datetime.strptime(time_string, "%Y%m%d%H%M%SZ")
ImportError: Failed to import _strptime because the import lockis held by another thread.

Related issues 3 (1 open2 closed)

Related to mgr - Bug #39979: ceph device check-health: Error EIO: Module 'devicehealth' has experienced an error and cannot handle commands: Failed to import _strptime because the import lockis held by another thread.New05/20/2019

Actions
Related to Dashboard - Bug #45515: mgr/dashboard:ceph-api-nautilus-backend "ImportError: Failed to import _strptime because the import lockis held by another thread."ResolvedAlfonso Martínez

Actions
Is duplicate of Dashboard - Bug #45515: mgr/dashboard:ceph-api-nautilus-backend "ImportError: Failed to import _strptime because the import lockis held by another thread."ResolvedAlfonso Martínez

Actions
Actions #1

Updated by Roland Sommer over 4 years ago

This is on Ubuntu LTS 18.04.

Actions #2

Updated by Sebastian Wagner over 4 years ago

  • Related to Bug #39979: ceph device check-health: Error EIO: Module 'devicehealth' has experienced an error and cannot handle commands: Failed to import _strptime because the import lockis held by another thread. added
Actions #4

Updated by Roland Sommer over 4 years ago

The error seems to happen if the SSL certificate is no longer valid - after renewing the certificate, the error is gone.

Actions #5

Updated by Roland Sommer over 4 years ago

Roland Sommer wrote:

The error seems to happen if the SSL certificate is no longer valid - after renewing the certificate, the error is gone.

Better said: the codepath leading to the error is skipped.

Actions #6

Updated by Sebastian Wagner over 4 years ago

  • Category set to 146
  • Backport set to nautilus
Actions #7

Updated by Laura Paduano almost 4 years ago

  • Related to Bug #45515: mgr/dashboard:ceph-api-nautilus-backend "ImportError: Failed to import _strptime because the import lockis held by another thread." added
Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Status changed from New to Duplicate

Closing as duplicate. @Roland, please re-open this if you still face this issue.

Actions #9

Updated by Ernesto Puerta about 3 years ago

  • Is duplicate of Bug #45515: mgr/dashboard:ceph-api-nautilus-backend "ImportError: Failed to import _strptime because the import lockis held by another thread." added
Actions #10

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF