Project

General

Profile

Bug #2858

mon: osd id parsing returns 0 when passed 'osd.1234'

Added by Sage Weil over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Monitor
Target version:
-
% Done:

0%

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

Related issues

Related to Ceph - Bug #3014: ceph mds set_data_pool pool doesn't fail Resolved 08/21/2012

History

#1 Updated by Greg Farnum over 11 years ago

Not sure exactly what scenario you're looking at here or what the bug is, but there are lots of places in the monitor that are using atoi (returning 0 on error) which should use strtol and check errno instead...

#2 Updated by Sage Weil over 11 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Sage Weil over 11 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF