Actions
Bug #55758
closedModuleNotFoundError: No module named 'object_format'
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Some tests are failing with the following traceback in ceph-mgr
2022-05-25T01:13:21.133+0000 7fb6aadb9e80 -1 mgr[py] Traceback (most recent call last): File "/usr/share/ceph/mgr/cephadm/__init__.py", line 1, in <module> from .module import CephadmOrchestrator File "/usr/share/ceph/mgr/cephadm/module.py", line 30, in <module> from cephadm.serve import CephadmServe File "/usr/share/ceph/mgr/cephadm/serve.py", line 15, in <module> import orchestrator File "/usr/share/ceph/mgr/orchestrator/__init__.py", line 3, in <module> from .module import OrchestratorCli File "/usr/share/ceph/mgr/orchestrator/module.py", line 25, in <module> from object_format import Format ModuleNotFoundError: No module named 'object_format'
This seems to be introduced with commit
git show 006c33895f4b commit 006c33895f4b7559219821bcfafbe82e789e9e41 Author: John Mulligan <jmulligan@redhat.com> Date: Mon Mar 14 11:29:50 2022 -0400 pybind/mgr: start a new object_format.py for general formatting Currently, there's some auto-formatting logic in the orchestrator module and a lot of ad-hoc formatting scattered around the mgr modules. This new module aims to bring some of that together in a central location. Start by moving the Format enum from the orchestrator.
Probably just requires `object_format' package to be added as a dep.
Actions