Project

General

Profile

Bug #10864

move 50-rbd.rules file and ceph-rbdnamer to ceph-common RPM

Added by Ken Dreyer about 9 years ago. Updated almost 9 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In Red Hat Bugzilla #1192022, Alexandre raised an issue with the rbd udev rules file. This uncovered a side issue relating to the packaging of ceph-rbdnamer.

The problem is that the RPMs and DEBs are slightly mis-aligned: ceph-rbdnamer ships in the main "ceph" RPM, whereas in Debian, the ceph-rbdnamer utility ships in the "librbd1" subpackage.

Given that:
1) the udev rules already ship in the librbd1 RPM, and
2) the udev rules require /usr/bin/ceph-rbdnamer in order to function,

it makes sense to follow the Debian packages here and put /usr/bin/ceph-rbdnamer and the ceph-rbdnamer(8) man page into the librbd1 RPM as well.

Associated revisions

Revision f3ad61a6 (diff)
Added by Ken Dreyer almost 9 years ago

packaging: move rbd udev rules to ceph-common

We should ship the RBD udev rules in the same package that ships
/usr/bin/rbd. This package happens to be ceph-common, so move the udev
rules there.

The udev rules rely on the ceph-rbdnamer utility, so move that utility
and its man page as well.

http://tracker.ceph.com/issues/10864 Refs: #10864

Signed-off-by: Ken Dreyer <>

History

#1 Updated by Ken Dreyer about 9 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Ken Dreyer about 9 years ago

  • Subject changed from move ceph-rbdnamer to librbd1 RPM to move 50-rbd.rules file and ceph-rbdnamer to ceph-common RPM

During the PR review at https://github.com/ceph/ceph/pull/3721, Sage mentioned that we should just move the 50-rbd.rules file and ceph-rbdnamer utility to the package that ships /usr/bin/rbd (ie ceph-common). This implies we need the following changes on both Debian and Red Hat:

Debian:
  • move 50-rbd.rules, /usr/bin/ceph-rbdnamer, and ceph-rbdnamer(8) out of "librbd1" into "ceph-common"
Red Hat:
  • move 50-rbd.rules out of "librbd1" into "ceph-common"
  • move /bin/ceph-rbdnamer, and ceph-rbdnamer(8) out of "ceph" into "ceph-common"

#3 Updated by Ken Dreyer almost 9 years ago

  • Status changed from Fix Under Review to In Progress

need to rework this

#4 Updated by Ken Dreyer almost 9 years ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Sage Weil almost 9 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF