2019-07-04 04:17:05 |
James Page |
bug |
|
|
added bug |
2019-07-04 04:17:13 |
James Page |
nominated for series |
|
Ubuntu Eoan |
|
2019-07-04 04:17:13 |
James Page |
bug task added |
|
ceph (Ubuntu Eoan) |
|
2019-07-04 04:17:13 |
James Page |
nominated for series |
|
Ubuntu Disco |
|
2019-07-04 04:17:13 |
James Page |
bug task added |
|
ceph (Ubuntu Disco) |
|
2019-07-04 04:17:19 |
James Page |
ceph (Ubuntu Eoan): status |
New |
Fix Released |
|
2019-07-04 04:17:22 |
James Page |
ceph (Ubuntu Disco): status |
New |
Triaged |
|
2019-07-04 04:17:23 |
James Page |
ceph (Ubuntu Disco): importance |
Undecided |
High |
|
2019-07-04 04:17:25 |
James Page |
ceph (Ubuntu Eoan): importance |
Undecided |
Critical |
|
2019-07-04 04:17:26 |
James Page |
ceph (Ubuntu Eoan): importance |
Critical |
High |
|
2019-07-04 04:17:32 |
James Page |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-07-04 04:17:36 |
James Page |
ceph (Ubuntu Disco): assignee |
|
James Page (james-page) |
|
2019-07-12 10:56:59 |
Przemyslaw Hausman |
bug |
|
|
added subscriber Przemyslaw Hausman |
2019-07-12 13:38:49 |
James Page |
description |
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/x86_64-linux-gnu/ceph/mgr/crash/__init__.py", line 1, in <module>
from .module import Module
File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/module.py", line 48
def inner((_, meta)):
^
SyntaxError: invalid syntax
Looking at the history for this module there are a number of syntax/compat fixes for Python3:
https://github.com/ceph/ceph/commit/9aa1d49583ae8fb658967c054247cac6ec2125ab#diff-9433ab33e8bbf1048734205a3a1141ed
https://github.com/ceph/ceph/commit/bcf0f4df2db8b51c58e5ca4d411d05e2a4d081ab#diff-9433ab33e8bbf1048734205a3a1141ed
https://github.com/ceph/ceph/commit/6dc95544512362c202535139c323717ec867e20b#diff-9433ab33e8bbf1048734205a3a1141ed |
[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/x86_64-linux-gnu/ceph/mgr/crash/__init__.py", line 1, in <module>
from .module import Module
File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/module.py", line 48
def inner((_, meta)):
^
SyntaxError: invalid syntax
Looking at the history for this module there are a number of syntax/compat fixes for Python3:
https://github.com/ceph/ceph/commit/9aa1d49583ae8fb658967c054247cac6ec2125ab#diff-9433ab33e8bbf1048734205a3a1141ed
https://github.com/ceph/ceph/commit/bcf0f4df2db8b51c58e5ca4d411d05e2a4d081ab#diff-9433ab33e8bbf1048734205a3a1141ed
https://github.com/ceph/ceph/commit/6dc95544512362c202535139c323717ec867e20b#diff-9433ab33e8bbf1048734205a3a1141ed |
|
2019-07-12 18:16:25 |
David Coronel |
bug |
|
|
added subscriber David Coronel |
2019-07-12 18:33:57 |
David Coronel |
bug |
|
|
added subscriber Canonical Field Medium |
2019-07-15 15:47:11 |
Brian Murray |
ceph (Ubuntu Disco): status |
Triaged |
Fix Committed |
|
2019-07-15 15:47:14 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-07-15 15:47:19 |
Brian Murray |
tags |
|
verification-needed verification-needed-disco |
|
2019-07-16 08:22:48 |
James Page |
bug task added |
|
cloud-archive |
|
2019-07-16 08:22:58 |
James Page |
nominated for series |
|
cloud-archive/stein |
|
2019-07-16 08:22:58 |
James Page |
bug task added |
|
cloud-archive/stein |
|
2019-07-16 08:22:58 |
James Page |
nominated for series |
|
cloud-archive/train |
|
2019-07-16 08:22:58 |
James Page |
bug task added |
|
cloud-archive/train |
|
2019-07-16 08:23:04 |
James Page |
cloud-archive/stein: importance |
Undecided |
High |
|
2019-07-16 08:23:05 |
James Page |
cloud-archive/train: importance |
Undecided |
High |
|
2019-07-16 08:23:50 |
James Page |
cloud-archive/stein: status |
New |
Fix Committed |
|
2019-07-16 08:23:52 |
James Page |
tags |
verification-needed verification-needed-disco |
verification-needed verification-needed-disco verification-stein-needed |
|
2019-07-16 08:24:02 |
James Page |
cloud-archive/train: status |
New |
Fix Released |
|
2019-07-16 20:16:51 |
David Coronel |
tags |
verification-needed verification-needed-disco verification-stein-needed |
verification-needed verification-needed-disco verification-stein-done |
|
2019-07-17 09:55:47 |
James Page |
tags |
verification-needed verification-needed-disco verification-stein-done |
verification-done verification-done-disco verification-stein-done |
|
2019-07-22 08:31:37 |
Launchpad Janitor |
ceph (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-07-22 08:31:51 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-07-22 11:16:17 |
James Page |
cloud-archive/stein: status |
Fix Committed |
Fix Released |
|