Project

General

Profile

Actions

Bug #63637

closed

debian packaging is missing bcrypt dependency for ceph-mgr's .requires file

Added by Thomas Lamprecht 5 months ago. Updated 9 days ago.

Status:
Resolved
Priority:
Normal
Category:
build
Target version:
-
% Done:

100%

Source:
Community (dev)
Tags:
backport_processed
Backport:
reef
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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")


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #63638: reef: debian packaging is missing bcrypt dependency for ceph-mgr's .requires fileResolvedKonstantin ShalyginActions
Actions #1

Updated by Kefu Chai 5 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Thomas Lamprecht
  • Regression changed from No to Yes
Actions #2

Updated by Kefu Chai 5 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot 5 months ago

  • Copied to Backport #63638: reef: debian packaging is missing bcrypt dependency for ceph-mgr's .requires file added
Actions #4

Updated by Backport Bot 5 months ago

  • Tags set to backport_processed
Actions #5

Updated by Shinya Hayashi 3 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.

Actions #6

Updated by Konstantin Shalygin 9 days ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Konstantin Shalygin 9 days ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF