Bug #63637
closeddebian packaging is missing bcrypt dependency for ceph-mgr's .requires file
100%
Description
Creating this ticket as asked in the pull request [0] to make backporting possible.
[0]: https://github.com/ceph/ceph/pull/53290#issuecomment-1825822454
The ceph-mgr package lost its dependency on python3-bcrypt when the dependencies got moved from d/control to a dh_python3 compatible requires file. Add it again as the bcrypt module is still used there.
Otherwise, one gets errors when, e.g., calling ceph -s after a fresh installation:
13 mgr modules have failed dependencies
Module 'balancer' has failed dependency: No module named 'bcrypt'
Module 'crash' has failed dependency: No module named 'bcrypt'
Module 'devicehealth' has failed dependency: No module named 'bcrypt'
Module 'iostat' has failed dependency: No module named 'bcrypt'
Module 'nfs' has failed dependency: No module named 'bcrypt'
Module 'orchestrator' has failed dependency: No module named 'bcrypt'
Module 'pg_autoscaler' has failed dependency: No module named 'bcrypt'
Module 'progress' has failed dependency: No module named 'bcrypt'
Module 'rbd_support' has failed dependency: No module named 'bcrypt'
Module 'restful' has failed dependency: No module named 'bcrypt'
Module 'status' has failed dependency: No module named 'bcrypt'
Module 'telemetry' has failed dependency: No module named 'bcrypt'
Module 'volumes' has failed dependency: No module named 'bcrypt'
This got introduced in commit ef19547 ("debian: add .requires for specifying python3 deps")
Updated by Backport Bot 6 months ago
- Copied to Backport #63638: reef: debian packaging is missing bcrypt dependency for ceph-mgr's .requires file added
Updated by Shinya Hayashi 4 months ago
Hi.
I recently built the Ceph v18.2.1 deb package by myself and installed it.
As a result, I found that I couldn't get mgr's metrics due to this issue.
(I have confirmed that applying the patch to this issue resolves the problem.)
Also, I realized that ceph-exporter was not included in the deb package.
ref: https://tracker.ceph.com/issues/64095
As for Ceph v18.2.X, to get all the metrics in the Debian/Ubuntu environment,
we need to resolve not only the bcrypt bug handled in this ticket
but also the ceph-exporter problem of ticket #64095.
I hope these two problems are resolved shortly.
// By the way, I'm wondering how the reporter of this ticket got around the ceph-exporter issue.
Updated by Konstantin Shalygin 26 days ago
- Status changed from Pending Backport to Resolved