Project

General

Profile

Actions

Feature #2213

closed

rbd: shouldn't need config file to get help

Added by Alex Elder about 12 years ago. Updated almost 12 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 1 (0 open1 closed)

Is duplicate of Ceph - Bug #2352: ceph -s without a conf file doesn't work when it shouldResolvedGreg Farnum04/26/2012

Actions
Actions #1

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position set to 16
Actions #2

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (33)
  • Translation missing: en.field_position set to 18
Actions #3

Updated by Josh Durgin about 12 years ago

  • Category set to common
  • Status changed from New to Duplicate
Actions #4

Updated by Greg Farnum about 12 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.

Actions #5

Updated by Greg Farnum almost 12 years ago

  • Status changed from In Progress to Resolved

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

Actions

Also available in: Atom PDF