disco: ceph-mgr unable to load crash module under py3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Stein |
Fix Released
|
High
|
Unassigned | ||
Train |
Fix Released
|
High
|
Unassigned | ||
ceph (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Disco |
Fix Released
|
High
|
James Page | ||
Eoan |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
ceph-mgr daemon is unable to load the crash module due.
[Test Case]
Deploy ceph
Check ceph-mgr log file
Syntax error will be seen
[Regression Potential]
Minimal; python 3 syntax changes are well understood and this fix is already in the newer ceph release in eoan.
[Original Bug Report]
On startup the ceph-mgr daemon fails to load the crash module due to invalid Python 3 syntax:
2019-07-04 04:11:54.533 7f1af75ab300 1 mgr[py] Loading python module 'crash'
2019-07-04 04:11:54.605 7f1af75ab300 -1 mgr[py] Module not found: 'crash'
2019-07-04 04:11:54.605 7f1af75ab300 -1 mgr[py] Traceback (most recent call last):
File "/usr/lib/
from .module import Module
File "/usr/lib/
def inner((_, meta)):
^
SyntaxError: invalid syntax
Looking at the history for this module there are a number of syntax/compat fixes for Python3:
https:/
https:/
https:/
description: | updated |
Nautilus release includes these commits so marked Fix Released in Eoan development.