Project

General

Profile

Bug #49802

mgr/dashboard: Python2 Cookie module import fails on Python3

Added by Volker Theile about 3 years ago. Updated almost 3 years ago.

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

0%

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

Description

The backport https://github.com/ceph/ceph/pull/38839 (https://tracker.ceph.com/issues/48738) fails when using Python3. See comment https://github.com/ceph/ceph/pull/38839/files#r593804874.

A try ... catch statement should fix that issue for Python2 and Python3 environments.


Related issues

Duplicated by Dashboard - Bug #49804: mgr/dashboard: nautilus: fix Python3 support of JWT import cookie Duplicate

History

#1 Updated by Volker Theile about 3 years ago

  • Subject changed from mgr/dashboard: Python2 import fails with Python3 to mgr/dashboard: Python2 Cookie module import fails on Python3

#2 Updated by Volker Theile about 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40116

#3 Updated by Ernesto Puerta about 3 years ago

  • Duplicated by Bug #49804: mgr/dashboard: nautilus: fix Python3 support of JWT import cookie added

#4 Updated by Ernesto Puerta almost 3 years ago

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

#5 Updated by Avan Thakkar almost 3 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF