Nothing provides python3-pecan in AlmaLinux 9

I get a conflict installing Ceph on AlmaLinux 9:

“Nothing provides python3-pecan needed by ceph-mgr-modules-core-2:17.2.5-0.el9.noarch”

I cannot find any repository providing the python3-pecan package. EPEL Repo is already activated, but there is no python3-pecan, too.

I use AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 as base image on KVM.

Can someone help?

where did you get ceph-mgr-modules-core-2:17.2.5-0.el9.noarch from?

you could rebuild https://src.fedoraproject.org/rpms/python-pecan

Thank you for that hint.
My ceph repo is Index of /rpm-quincy/el9/

Rebuilding the package is no solution for me, because of many dependencies. I tried it to rebuild, but the package has then also these dependencies:

python-logutils-0.3.5-11.el8.src.rpm
python-pecan-1.3.2-9.el8.src.rpm
python-singledispatch-3.4.0.3-18.el8.src.rpm
python-webtest-2.0.33-1.el8.src.rpm

but webtest then has also these dependencies:

||python2-devel is needed by python-webtest-2.0.33-1.el9.noarch|
||python2-mock is needed by python-webtest-2.0.33-1.el9.noarch|
||python2-nose is needed by python-webtest-2.0.33-1.el9.noarch|
||python2-setuptools is needed by python-webtest-2.0.33-1.el9.noarch|
||python3-nose is needed by python-webtest-2.0.33-1.el9.noarch|

Why is python3-pecan not provided per default also for el9?

I’ve also facing this issue hours ago,

Solution:

  1. Using wget to download the mgr-modules.
  2. using pip3 install pecan
  3. Using rpm command to install mgr-moules:
    rpm -Uvh --force ceph-mgr-modules-core-17.2.5-0.el9.noarch.rpm --nodeps
    parameter --nodeps could avoid checking rest necessary packages

It’s really weird why other python3 dependency all could download only this one couldn’t.

Thanks a lot. I’ll give it a try :wink:

1 Like


After installation have the health_warn, haven’t test impact.

1 Like

The workaround seems to work. But the ceph-ansible playbook crashes then at OSD creation with bluestore. It seems the ansible playbook is not yet ready for RHEL/AlmaLinux 9.1.
As this is not an AlmaLinux problem, but a ceph-ansible problem I’ll close this ticket.
Thanks a lot for your support.