Package Details: ceph-libs-bin 19.2.1-2

Git Clone URL: https://aur.archlinux.org/ceph-bin.git (read-only, click to copy)
Package Base: ceph-bin
Description: Distributed, fault-tolerant storage platform delivering object, block, and file system
Upstream URL: https://ceph.com/
Licenses: GPL-2.0-or-later OR LGPL-2.1-or-later OR LGPL-3.0-or-later
Conflicts: ceph-libs
Provides: ceph-libs
Submitter: pbazaah
Maintainer: pbazaah
Last Packager: pbazaah
Votes: 10
Popularity: 0.103019
First Submitted: 2022-08-14 16:06 (UTC)
Last Updated: 2025-02-18 14:48 (UTC)

Required by (5)

Sources (29)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

UweSauter commented on 2023-08-01 17:56 (UTC) (edited on 2023-08-01 17:57 (UTC) by UweSauter)

I think ceph-mgr-bin needs to depend on python-jsonpatch, at least if you'd like to use the rook mgr module:

Aug 01 19:45:39 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:39.104+0200 7f5849f3bfc0 -1 mgr[py] Module not found: 'rook'
Aug 01 19:45:39 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:39.104+0200 7f5849f3bfc0 -1 mgr[py] Traceback (most recent call last):
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:   File "/usr/share/ceph/mgr/rook/__init__.py", line 5, in <module>
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:     from .module import RookOrchestrator
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:   File "/usr/share/ceph/mgr/rook/module.py", line 41, in <module>
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:     from .rook_cluster import RookCluster
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:   File "/usr/share/ceph/mgr/rook/rook_cluster.py", line 17, in <module>
Aug 01 19:45:39 ceph-s ceph-mgr[9613]:     import jsonpatch
Aug 01 19:45:39 ceph-s ceph-mgr[9613]: ModuleNotFoundError: No module named 'jsonpatch'
Aug 01 19:45:39 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:39.107+0200 7f5849f3bfc0 -1 mgr[py] Class not found in module 'rook'
Aug 01 19:45:39 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:39.107+0200 7f5849f3bfc0 -1 mgr[py] Error loading module 'rook': (2) No such file or directory

After installing python-jsonpatch this error disappears.

Both dashboard and restful mgr modules have an issue with Rust bindings:

Aug 01 19:53:41 ceph-s ceph-mgr[16252]: 2023-08-01T19:53:41.308+0200 7f483317afc0 -1 mgr[py] Module not found: 'dashboard'     
Aug 01 19:53:41 ceph-s ceph-mgr[16252]: 2023-08-01T19:53:41.308+0200 7f483317afc0 -1 mgr[py] Traceback (most recent call last):
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/__init__.py", line 60, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from .module import Module, StandbyModule  # noqa: F401                                                                                                                
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/module.py", line 30, in <module>         
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from .controllers import Router, json_error_page
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 1, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from ._api_router import APIRouter
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/controllers/_api_router.py", line 1, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from ._router import Router                                                                                                                                            
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/controllers/_router.py", line 7, in <module>                          
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from ._base_controller import BaseController     
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 11, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from ..services.auth import AuthManager, JwtManager                                                                                                                    
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/usr/share/ceph/mgr/dashboard/services/auth.py", line 12, in <module> 
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     import jwt                                                                                                                                                             
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/jwt/__init__.py", line 1, in <module>                                       
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from .api_jwk import PyJWK, PyJWKSet                                                                                                                                   
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/jwt/api_jwk.py", line 7, in <module>             
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/jwt/algorithms.py", line 12, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from .utils import (                                                                                                                                                   
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/jwt/utils.py", line 7, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 11, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from cryptography.hazmat._oid import ObjectIdentifier
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:   File "/lib/python3.11/site-packages/cryptography/hazmat/_oid.py", line 9, in <module>
Aug 01 19:53:41 ceph-s ceph-mgr[16252]:     from cryptography.hazmat.bindings._rust import (                                                                                                                       
Aug 01 19:53:41 ceph-s ceph-mgr[16252]: ImportError: PyO3 modules may only be initialized once per interpreter process                      
Aug 01 19:53:41 ceph-s ceph-mgr[16252]: 2023-08-01T19:53:41.312+0200 7f483317afc0 -1 mgr[py] Class not found in module 'dashboard'               
Aug 01 19:53:41 ceph-s ceph-mgr[16252]: 2023-08-01T19:53:41.312+0200 7f483317afc0 -1 mgr[py] Error loading module 'dashboard': (2) No such file or directory
Aug 01 19:45:38 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:38.967+0200 7f5849f3bfc0 -1 mgr[py] Module not found: 'restful'
Aug 01 19:45:38 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:38.967+0200 7f5849f3bfc0 -1 mgr[py] Traceback (most recent call last):
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/usr/share/ceph/mgr/restful/__init__.py", line 1, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from .module import Module
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/usr/share/ceph/mgr/restful/module.py", line 21, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from OpenSSL import crypto
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from OpenSSL import SSL, crypto
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/lib/python3.11/site-packages/OpenSSL/SSL.py", line 9, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from OpenSSL._util import (
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/lib/python3.11/site-packages/OpenSSL/_util.py", line 6, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from cryptography.hazmat.bindings.openssl.binding import Binding
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 15, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from cryptography.exceptions import InternalError
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:   File "/lib/python3.11/site-packages/cryptography/exceptions.py", line 9, in <module>
Aug 01 19:45:38 ceph-s ceph-mgr[9613]:     from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
Aug 01 19:45:38 ceph-s ceph-mgr[9613]: ImportError: PyO3 modules may only be initialized once per interpreter process
Aug 01 19:45:38 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:38.967+0200 7f5849f3bfc0 -1 mgr[py] Class not found in module 'restful'
Aug 01 19:45:38 ceph-s ceph-mgr[9613]: 2023-08-01T19:45:38.967+0200 7f5849f3bfc0 -1 mgr[py] Error loading module 'restful': (2) No such file or directory

I have no idea how to solve that one…

UweSauter commented on 2023-07-31 16:13 (UTC)

Big thanks, I'll continue setting up and testing.

pbazaah commented on 2023-07-30 10:33 (UTC)

v17.2.6-3 has been released. See https://github.com/bazaah/aur-ceph/releases/tag/v17.2.6-3 for more.

pbazaah commented on 2023-07-30 07:35 (UTC)

I have opened https://github.com/bazaah/aur-ceph/issues/17 to track progress on the pkgrel=3 rebuild

pbazaah commented on 2023-07-29 19:22 (UTC)

so I have found a way to avoid the libfmt issues, because I don't see the point in fixing them (as they're fixed in v18, which will be releasing the next few months).

However, I've now stumbled into a cython v3.0.0 mess around fptr typedefs that I'm unscrewing.

pbazaah commented on 2023-07-29 14:04 (UTC)

think I have a fix for this

pbazaah commented on 2023-07-29 08:14 (UTC) (edited on 2023-07-29 08:49 (UTC) by pbazaah)

Thanks, I'll start a rebuild

EDIT: actually it seems v10 finally removed -DFMT_DEPRECATED_OSTREAM, which makes things harder. There is unfortunately no single fix to this, (though it is fixed in v18, which is releasing soon) so I'll have to collect and backport patches

UweSauter commented on 2023-07-28 19:35 (UTC) (edited on 2023-07-28 19:46 (UTC) by UweSauter)

Just as information:

ceph-authtool and probably some other tools are broken because Arch updated to fmt-10.0.0-1 on 2023-07-20:

# ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'
ceph-authtool: error while loading shared libraries: libfmt.so.9: cannot open shared object file: No such file or directory

# pacman -F libfmt.so
extra/fmt 10.0.0-1 [installed]
    usr/lib/libfmt.so
# pacman -F libfmt.so.9
(no output)

Creating a symlink /usr/lib/libfmt.so.9 -> /usr/lib/libfmt.so.10.0.0 does not help.

Kevdog commented on 2023-05-22 21:51 (UTC) (edited on 2023-05-22 22:01 (UTC) by Kevdog)

Thought it might be a yay issue bit it doesn't look like it. I switched to paru and tried to install ceph-bin but getting the following:

paru -S ceph-bin
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Conflicts found:
    ceph-libs: ceph-libs-bin (ceph-libs)  ceph-libs-bin

:: Conflicting packages will have to be confirmed manually

Aur (2) ceph-17.2.6-2 (ceph-libs)  ceph-bin-17.2.6-2

So ceph-bin needs ceph-libs-bin which needs ceph-libs which needs ceph. If I proceed it tries to build ceph from source similar to yay.

Am I not doing something right?

Edit ** Just cloned the repository and built manually without aur helper -- things installed as expected. I'm not sure what's really up with the AUR helpers. Sorry for wasting bandwidth.

pbazaah commented on 2023-05-17 20:23 (UTC)

I'm looking for feedback on RFC: Split packages for Ceph

I'd prefer it under the issue itself, but if you don't have a Github account, post it here and I'll cross post it.

Thanks in advance!