Created attachment 904953 [details] emerge --info ceph I wanted to test right now masked 19.2.0 version of ceph ebuild. Currently it cannot start bluestore ceph-volume OSD. I've tested it on 2 ceph 18 clusters. Both have the same error. Log with error /etc/init.d/ceph-osd.1 start * Mounting Bluestore exception caught by decorator Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/ceph_volume/decorators.py", line 59, in newfunc return f(*a, **kw) ^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ceph_volume/main.py", line 118, in main self.enable_plugins() File "/usr/lib/python3.12/site-packages/ceph_volume/main.py", line 83, in enable_plugins plugins = _load_library_extensions() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ceph_volume/main.py", line 188, in _load_library_extensions for ep in get_entry_points(group=group): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ceph_volume/main.py", line 14, in get_entry_points return entry_points().get(group, []) # type: ignore ^^^^^^^^^^^^^^^^^^ AttributeError: 'EntryPoints' object has no attribute 'get'
Try https://github.com/ceph/ceph/pull/59739
I've applied https://github.com/ceph/ceph/pull/59739 to ceph-19.2.0.ebuild and it fixed my issues. Link to patch directly from github: https://patch-diff.githubusercontent.com/raw/ceph/ceph/pull/59739.patch
Created attachment 905190 [details, diff] Patch fixing this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5404f9963b19a5ceebe574bed1b1808ba9b9dba4 commit 5404f9963b19a5ceebe574bed1b1808ba9b9dba4 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-14 00:49:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-14 00:49:45 +0000 sys-cluster/ceph: fix compat w/ newer importlib Closes: https://bugs.gentoo.org/920906 Signed-off-by: Sam James <sam@gentoo.org> sys-cluster/ceph/ceph-19.2.0-r1.ebuild | 513 +++++++++++++++++++++ sys-cluster/ceph/files/ceph-19.2.0-importlib.patch | 45 ++ 2 files changed, 558 insertions(+)