Project

General

Profile

Bug #20426

some generic options can not be passed by rbd-nbd

Added by Pan Liu over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
06/27/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

#rbd-nbd --help
Usage: rbd-nbd [options] map <image-or-snap-spec> Map an image to nbd device
unmap <device path> Unmap nbd device
list-mapped List mapped nbd devices
Options:
--device <device path> Specify nbd device path
--read-only Map read-only
--nbds_max <limit> Override for module param nbds_max
--max_part <limit> Override for module param max_part
--exclusive Forbid writes by other clients

--conf/-c FILE read configuration from the given configuration file
--id/-i ID set ID portion of my name
--name/-n TYPE.ID set name
--cluster NAME set cluster name (default: ceph)
--setuser USER set uid to user or uid (and gid to user's gid)
--setgroup GROUP set gid to group or gid
--version show version and quit

-d run in foreground, log to stderr.
-f run in foreground, log to usual location.
--debug_ms N set message debug level (e.g. 1)

We could find --conf/-c print out in help message. But when use it:
#rbd-nbd map image -c /etc/ceph/ceph.conf
rbd-nbd: unknown args: -c


Related issues

Copied to rbd - Backport #21269: luminous: some generic options can not be passed by rbd-nbd Resolved

History

#1 Updated by Pan Liu over 1 year ago

Expect to fix it in this PR: https://github.com/ceph/ceph/pull/14135

#2 Updated by Nathan Cutler over 1 year ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)

#3 Updated by Pan Liu over 1 year ago

Pan Liu wrote:

Expect to fix it in this PR: https://github.com/ceph/ceph/pull/14135

A new clean fix opened: https://github.com/ceph/ceph/pull/17375

#4 Updated by Mykola Golub over 1 year ago

  • Status changed from New to Pending Backport
  • Backport set to l

#5 Updated by Mykola Golub over 1 year ago

  • Backport changed from l to luminous

#6 Updated by Nathan Cutler over 1 year ago

  • Copied to Backport #21269: luminous: some generic options can not be passed by rbd-nbd added

#7 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF