Project

General

Profile

Actions

Bug #512

closed

rados_initialize returns 0 when ceph.conf contains no monitors

Added by John Leach over 13 years ago. Updated about 13 years ago.

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

0%

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

Description

if ceph.conf contains no monitors, calling rados_initialise prints "unable to find any monitors in conf", doesn't actually initialize, but then returns 0. It should return an error code so it can be detected.

Actions #1

Updated by Sage Weil about 13 years ago

  • Target version set to v0.27
  • Translation missing: en.field_position deleted (177)
  • Translation missing: en.field_position set to 323
Actions #2

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_position deleted (326)
  • Translation missing: en.field_position set to 339
Actions #3

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_position deleted (334)
  • Translation missing: en.field_position set to 338
Actions #4

Updated by Colin McCabe about 13 years ago

  • Status changed from New to Resolved

This is fixed by the Rados API change that we did a while back. rados_initialise has been split into rados_create and rados_connect, both of which return error codes if appropriate.

Actions

Also available in: Atom PDF