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.
Updated by John Mulligan almost 2 years ago
Hi Venky,
Is it possible that these particular test failures in your run correlated to jobs on unbuntu systems? I inspected the RPMs and they looked OK to me, but the file in question is not present in debs created for ubuntu.
If you do see these failures on centos based systems let me know because then I will have to look beyond the deb packaging as a cause.
Updated by Venky Shankar almost 2 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 46404
Updated by Venky Shankar almost 2 years ago
- Status changed from Fix Under Review to Resolved
Actions