Project

General

Profile

Feature #2213

rbd: shouldn't need config file to get help

Added by Alex Elder almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I just ran "rbd --help" on a pretty much un-configured machine and got:
global_init: unable to open config file.

Looking at the code I can see why this is the case, but it would be
nice if one could still get a reasonably helpful message, even if
things aren't yet set up properly. I imagine this goes for anything
that calls global_init().


Related issues

Duplicates Ceph - Bug #2352: ceph -s without a conf file doesn't work when it should Resolved 04/26/2012

History

#1 Updated by Sage Weil almost 9 years ago

  • translation missing: en.field_position set to 16

#2 Updated by Sage Weil almost 9 years ago

  • translation missing: en.field_position deleted (33)
  • translation missing: en.field_position set to 18

#3 Updated by Josh Durgin almost 9 years ago

  • Category set to common
  • Status changed from New to Duplicate

#4 Updated by Greg Farnum almost 9 years ago

  • Status changed from Duplicate to In Progress

This is actually a little different from #2352. But keeping both in mind is better than providing a specific hack, so I'll take it too.

#5 Updated by Greg Farnum almost 9 years ago

  • Status changed from In Progress to Resolved

Okay, just made it not care about config files in wip-2352.

Also available in: Atom PDF